mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-29 07:37:44 +02:00
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:
parent
b4869ed42f
commit
dccf5ceb90
@ -33,7 +33,6 @@ function tinymce_include() {
|
|||||||
*/
|
*/
|
||||||
function documentation_link() {
|
function documentation_link() {
|
||||||
_deprecated_function( __FUNCTION__, '2.5' );
|
_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 ) {
|
function codepress_get_lang( $filename ) {
|
||||||
_deprecated_function( __FUNCTION__, '3.0' );
|
_deprecated_function( __FUNCTION__, '3.0' );
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -215,7 +213,6 @@ function codepress_get_lang( $filename ) {
|
|||||||
**/
|
**/
|
||||||
function codepress_footer_js() {
|
function codepress_footer_js() {
|
||||||
_deprecated_function( __FUNCTION__, '3.0' );
|
_deprecated_function( __FUNCTION__, '3.0' );
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -226,7 +223,6 @@ function codepress_footer_js() {
|
|||||||
**/
|
**/
|
||||||
function use_codepress() {
|
function use_codepress() {
|
||||||
_deprecated_function( __FUNCTION__, '3.0' );
|
_deprecated_function( __FUNCTION__, '3.0' );
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -53,7 +53,6 @@ function activate_sitewide_plugin() {
|
|||||||
*/
|
*/
|
||||||
function deactivate_sitewide_plugin( $plugin = false ) {
|
function deactivate_sitewide_plugin( $plugin = false ) {
|
||||||
_deprecated_function(__FUNCTION__, '3.0', 'deactivate_plugin()' );
|
_deprecated_function(__FUNCTION__, '3.0', 'deactivate_plugin()' );
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -217,7 +217,6 @@ function wp_cache_add_global_groups( $groups ) {
|
|||||||
*/
|
*/
|
||||||
function wp_cache_add_non_persistent_groups( $groups ) {
|
function wp_cache_add_non_persistent_groups( $groups ) {
|
||||||
// Default cache doesn't persist so nothing to do here.
|
// Default cache doesn't persist so nothing to do here.
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -182,8 +182,6 @@ class WP_Date_Query {
|
|||||||
$this->compare = $this->get_compare( $date_query );
|
$this->compare = $this->get_compare( $date_query );
|
||||||
|
|
||||||
$this->queries = $this->sanitize_query( $date_query );
|
$this->queries = $this->sanitize_query( $date_query );
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -2632,7 +2632,6 @@ function the_editor($content, $id = 'content', $prev_id = 'title', $media_button
|
|||||||
_deprecated_function( __FUNCTION__, '3.3', 'wp_editor()' );
|
_deprecated_function( __FUNCTION__, '3.3', 'wp_editor()' );
|
||||||
|
|
||||||
wp_editor( $content, $id, array( 'media_buttons' => $media_buttons ) );
|
wp_editor( $content, $id, array( 'media_buttons' => $media_buttons ) );
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user