Empty return statements are unnecessary at the end of functions.

See #30799.

Built from https://develop.svn.wordpress.org/trunk@31679


git-svn-id: http://core.svn.wordpress.org/trunk@31660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2015-03-08 23:09:27 +00:00
parent b4869ed42f
commit dccf5ceb90
6 changed files with 1 additions and 10 deletions

View File

@ -33,7 +33,6 @@ function tinymce_include() {
*/
function documentation_link() {
_deprecated_function( __FUNCTION__, '2.5' );
return;
}
/**
@ -204,7 +203,6 @@ function remove_option_update_handler( $option_group, $option_name, $sanitize_ca
**/
function codepress_get_lang( $filename ) {
_deprecated_function( __FUNCTION__, '3.0' );
return;
}
/**
@ -215,7 +213,6 @@ function codepress_get_lang( $filename ) {
**/
function codepress_footer_js() {
_deprecated_function( __FUNCTION__, '3.0' );
return;
}
/**
@ -226,7 +223,6 @@ function codepress_footer_js() {
**/
function use_codepress() {
_deprecated_function( __FUNCTION__, '3.0' );
return;
}
/**

View File

@ -53,7 +53,6 @@ function activate_sitewide_plugin() {
*/
function deactivate_sitewide_plugin( $plugin = false ) {
_deprecated_function(__FUNCTION__, '3.0', 'deactivate_plugin()' );
return;
}
/**

View File

@ -217,7 +217,6 @@ function wp_cache_add_global_groups( $groups ) {
*/
function wp_cache_add_non_persistent_groups( $groups ) {
// Default cache doesn't persist so nothing to do here.
return;
}
/**

View File

@ -182,8 +182,6 @@ class WP_Date_Query {
$this->compare = $this->get_compare( $date_query );
$this->queries = $this->sanitize_query( $date_query );
return;
}
/**

View File

@ -2632,7 +2632,6 @@ function the_editor($content, $id = 'content', $prev_id = 'title', $media_button
_deprecated_function( __FUNCTION__, '3.3', 'wp_editor()' );
wp_editor( $content, $id, array( 'media_buttons' => $media_buttons ) );
return;
}
/**

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.2-alpha-31678';
$wp_version = '4.2-alpha-31679';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.