diff --git a/src/wp-admin/credits.php b/src/wp-admin/credits.php index 4e160f4eb2..299bbf073b 100644 --- a/src/wp-admin/credits.php +++ b/src/wp-admin/credits.php @@ -18,7 +18,7 @@ $title = __( 'Credits' ); * * @since 3.2.0 * - * @return array|bool A list of all of the contributors, or false on error. + * @return array|false A list of all of the contributors, or false on error. */ function wp_credits() { global $wp_version; @@ -55,7 +55,6 @@ function wp_credits() { * @param string &$display_name The contributor's display name, passed by reference. * @param string $username The contributor's username. * @param string $profiles URL to the contributor's WordPress.org profile page. - * @return string A contributor's display name, hyperlinked to a WordPress.org profile page. */ function _wp_credits_add_profile_link( &$display_name, $username, $profiles ) { $display_name = '' . esc_html( $display_name ) . ''; @@ -68,7 +67,6 @@ function _wp_credits_add_profile_link( &$display_name, $username, $profiles ) { * @since 3.2.0 * * @param string &$data External library data, passed by reference. - * @return string Link to the external library. */ function _wp_credits_build_object_link( &$data ) { $data = '' . $data[0] . ''; diff --git a/src/wp-admin/custom-background.php b/src/wp-admin/custom-background.php index fc320f9f41..b9e078d1ef 100644 --- a/src/wp-admin/custom-background.php +++ b/src/wp-admin/custom-background.php @@ -108,7 +108,6 @@ class Custom_Background { * @since 3.0.0 */ public function take_action() { - if ( empty($_POST) ) return; @@ -357,7 +356,6 @@ if ( current_theme_supports( 'custom-background', 'default-color' ) ) * @since 3.0.0 */ public function handle_upload() { - if ( empty($_FILES) ) return; @@ -434,6 +432,9 @@ if ( current_theme_supports( 'custom-background', 'default-color' ) ) * * @since 3.4.0 * @deprecated 3.5.0 + * + * @param array $form_fields + * @return $form_fields */ public function attachment_fields_to_edit( $form_fields ) { return $form_fields; @@ -443,6 +444,9 @@ if ( current_theme_supports( 'custom-background', 'default-color' ) ) * * @since 3.4.0 * @deprecated 3.5.0 + * + * @param $tabs + * @return $tabs */ public function filter_upload_tabs( $tabs ) { return $tabs; diff --git a/src/wp-admin/custom-header.php b/src/wp-admin/custom-header.php index 712e4cc83d..f756968000 100644 --- a/src/wp-admin/custom-header.php +++ b/src/wp-admin/custom-header.php @@ -317,7 +317,6 @@ class Custom_Image_Header { } } ?> -