Correct all @return unknown instances.

See #30224.


git-svn-id: https://develop.svn.wordpress.org/trunk@30202 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor
2014-11-03 06:16:34 +00:00
parent ba85fbacba
commit 3942ff4616
7 changed files with 23 additions and 23 deletions
+4 -4
View File
@@ -274,7 +274,7 @@ function get_editable_authors( $user_id ) {
*
* @param int $user_id User ID.
* @param bool $exclude_zeros Optional, default is true. Whether to exclude zeros.
* @return unknown
* @return mixed
*/
function get_editable_user_ids( $user_id, $exclude_zeros = true, $post_type = 'post' ) {
_deprecated_function( __FUNCTION__, '3.1', 'get_users()' );
@@ -607,7 +607,7 @@ class WP_User_Search {
* @since 2.1.0
* @access public
*
* @return unknown
* @return array
*/
function get_results() {
return (array) $this->results;
@@ -940,7 +940,7 @@ function get_allowed_themes() {
* @since 1.5.0
* @deprecated 3.4.0
*
* @return unknown
* @return array
*/
function get_broken_themes() {
_deprecated_function( __FUNCTION__, '3.4', "wp_get_themes( array( 'errors' => true )" );
@@ -964,7 +964,7 @@ function get_broken_themes() {
* @since 2.0.0
* @deprecated 3.4.0
*
* @return unknown
* @return WP_Theme
*/
function current_theme_info() {
_deprecated_function( __FUNCTION__, '3.4', 'wp_get_theme()' );
+2 -2
View File
@@ -864,7 +864,7 @@ function media_sideload_image( $file, $post_id, $desc = null ) {
*
* @since 2.5.0
*
* @return unknown
* @return string|null
*/
function media_upload_gallery() {
$errors = array();
@@ -887,7 +887,7 @@ function media_upload_gallery() {
*
* @since 2.5.0
*
* @return unknown
* @return string|null
*/
function media_upload_library() {
$errors = array();
+4 -4
View File
@@ -636,7 +636,7 @@ function post_exists($title, $content = '', $date = '') {
*
* @since 2.1.0
*
* @return unknown
* @return int|WP_Error
*/
function wp_write_post() {
if ( isset($_POST['post_type']) )
@@ -705,7 +705,7 @@ function wp_write_post() {
*
* @since 2.0.0
*
* @return unknown
* @return int|null
*/
function write_post() {
$result = wp_write_post();
@@ -775,7 +775,7 @@ function delete_meta( $mid ) {
*
* @since 1.2.0
*
* @return unknown
* @return mixed
*/
function get_meta_keys() {
global $wpdb;
@@ -1073,7 +1073,7 @@ function wp_edit_attachments_query( $q = false ) {
*
* @param string $id
* @param string $page
* @return unknown
* @return string
*/
function postbox_classes( $id, $page ) {
if ( isset( $_GET['edit'] ) && $_GET['edit'] == $id ) {
+1 -1
View File
@@ -2039,7 +2039,7 @@ function make_site_theme_from_default($theme_name, $template) {
*
* @since 1.5.0
*
* @return unknown
* @return string|bool
*/
function make_site_theme() {
// Name the theme after the blog.
+1 -1
View File
@@ -195,7 +195,7 @@ function edit_user( $user_id = 0 ) {
*
* @since 2.8.0
*
* @return unknown
* @return array
*/
function get_editable_roles() {
global $wp_roles;