Make WordPress Core

Changeset 31679


Ignore:
Timestamp:
03/08/2015 11:08:48 PM (10 years ago)
Author:
wonderboymusic
Message:

Empty return statements are unnecessary at the end of functions.

See #30799.

Location:
trunk/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/deprecated.php

    r30695 r31679  
    3434function documentation_link() {
    3535    _deprecated_function( __FUNCTION__, '2.5' );
    36     return;
    3736}
    3837
     
    205204function codepress_get_lang( $filename ) {
    206205    _deprecated_function( __FUNCTION__, '3.0' );
    207     return;
    208206}
    209207
     
    216214function codepress_footer_js() {
    217215    _deprecated_function( __FUNCTION__, '3.0' );
    218     return;
    219216}
    220217
     
    227224function use_codepress() {
    228225    _deprecated_function( __FUNCTION__, '3.0' );
    229     return;
    230226}
    231227
  • trunk/src/wp-admin/includes/ms-deprecated.php

    r29206 r31679  
    5454function deactivate_sitewide_plugin( $plugin = false ) {
    5555    _deprecated_function(__FUNCTION__, '3.0', 'deactivate_plugin()' );
    56     return;
    5756}
    5857
  • trunk/src/wp-includes/cache.php

    r31126 r31679  
    218218function wp_cache_add_non_persistent_groups( $groups ) {
    219219    // Default cache doesn't persist so nothing to do here.
    220     return;
    221220}
    222221
  • trunk/src/wp-includes/date.php

    r31471 r31679  
    183183
    184184        $this->queries = $this->sanitize_query( $date_query );
    185 
    186         return;
    187185    }
    188186
  • trunk/src/wp-includes/deprecated.php

    r31554 r31679  
    26332633
    26342634    wp_editor( $content, $id, array( 'media_buttons' => $media_buttons ) );
    2635     return;
    26362635}
    26372636
Note: See TracChangeset for help on using the changeset viewer.