Make WordPress Core


Ignore:
Timestamp:
01/16/2015 06:36:46 PM (11 years ago)
Author:
wonderboymusic
Message:

[31210] broke Supportflow on dotorg, which declares these methods as protected. Switch to protected for the noop methods. The subclasses can make them more visible using public.

See #30799.

File:
1 edited

Legend:

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

    r30982 r31211  
    195195    if ( is_array( $blogs ) ) {
    196196        reset( $blogs );
     197        $most_active = array();
     198        $blog_list = array();
    197199        foreach ( (array) $blogs as $key => $details ) {
    198200            $most_active[ $details['blog_id'] ] = $details['postcount'];
     
    201203        arsort( $most_active );
    202204        reset( $most_active );
    203         foreach ( (array) $most_active as $key => $details )
     205        $t = array();
     206        foreach ( (array) $most_active as $key => $details ) {
    204207            $t[ $key ] = $blog_list[ $key ];
    205 
     208        }
    206209        unset( $most_active );
    207210        $most_active = $t;
Note: See TracChangeset for help on using the changeset viewer.