Make WordPress Core

Changeset 31211


Ignore:
Timestamp:
01/16/2015 06:36:46 PM (10 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.

Location:
trunk/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-list-table.php

    r31210 r31211  
    10341034    }
    10351035
    1036     public function column_default( $item, $column_name ) {}
    1037 
    1038     public function column_cb( $item ) {}
    1039    
     1036    protected function column_default( $item, $column_name ) {}
     1037
     1038    protected function column_cb( $item ) {}
     1039
    10401040    /**
    10411041     * Generates the columns for a single row of the table
  • trunk/src/wp-includes/capabilities.php

    r31190 r31211  
    430430 * @property string $user_registered
    431431 * @property string $user_url
     432 * @property string $spam
    432433 */
    433434class WP_User {
  • trunk/src/wp-includes/class-wp-customize-manager.php

    r31188 r31211  
    890890     * @since 3.4.0
    891891     *
    892      * @param {WP_Customize_Panel|WP_Customize_Section|WP_Customize_Control} $a Object A.
    893      * @param {WP_Customize_Panel|WP_Customize_Section|WP_Customize_Control} $b Object B.
     892     * @param WP_Customize_Panel|WP_Customize_Section|WP_Customize_Control $a Object A.
     893     * @param WP_Customize_Panel|WP_Customize_Section|WP_Customize_Control $b Object B.
    894894     * @return int
    895895     */
  • trunk/src/wp-includes/class-wp.php

    r31136 r31211  
    542542
    543543    /**
    544      * Set the Headers for 404, if nothing is found for requested URL.
     544     * Set the Headers for 404, if nothing is found for requested URL.
    545545     *
    546546     * Issue a 404 if a request doesn't match any posts and doesn't match
     
    667667     * @param string $subject subject if regex
    668668     * @param array  $matches data to use in map
    669      * @return self
    670669     */
    671670    public function __construct($subject, $matches) {
  • 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.