WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/13/2014 10:08:22 PM (6 years ago)
Author:
wonderboymusic
Message:

Fix mismatches in access modifiers for WP_List_Table + subclasses.

Fixes #28843, #28879.

File:
1 edited

Legend:

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

    r28497 r29137  
    128128     *
    129129     * @since  3.1.0
    130      * @access public
     130     * @access protected
    131131     *
    132132     * @return array An array of HTML links, one for each view.
    133133     */
    134     public function get_views() {
     134    protected function get_views() {
    135135        global $wp_roles, $role;
    136136
     
    174174     *
    175175     * @since  3.1.0
    176      * @access public
     176     * @access protected
    177177     *
    178178     * @return array Array of bulk actions.
    179179     */
    180     public function get_bulk_actions() {
     180    protected function get_bulk_actions() {
    181181        $actions = array();
    182182
     
    196196     *
    197197     * @since 3.1.0
    198      * @access public
     198     * @access protected
    199199     *
    200200     * @param string $which Whether this is being invoked above ("top")
    201201     *                      or below the table ("bottom").
    202202     */
    203     public function extra_tablenav( $which ) {
     203    protected function extra_tablenav( $which ) {
    204204        if ( 'top' != $which )
    205205            return;
     
    273273     *
    274274     * @since 3.1.0
    275      * @access public
     275     * @access protected
    276276     *
    277277     * @return array Array of sortable columns.
    278278     */
    279     public function get_sortable_columns() {
     279    protected function get_sortable_columns() {
    280280        $c = array(
    281281            'username' => 'login',
Note: See TracChangeset for help on using the changeset viewer.