Empty return statements are unnecessary at the end of functions.

See #30799.


git-svn-id: https://develop.svn.wordpress.org/trunk@31679 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2015-03-08 23:08:48 +00:00
parent edf982fcd5
commit 1997429498
5 changed files with 0 additions and 9 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;
}
/**