WordPress.org

Make WordPress Core

Changeset 18915


Ignore:
Timestamp:
10/07/2011 05:26:44 AM (10 years ago)
Author:
nacin
Message:

Use local method when handling back compat screen layout column filter. The function serves as a wrapper for but one object. see #18785.

File:
1 edited

Legend:

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

    r18914 r18915  
    817817
    818818        if ( ! empty( $columns ) && isset( $columns[ $this->id ] ) )
    819             add_screen_option( 'layout_columns', array('max' => $columns[ $this->id ] ) );
     819            $this->add_option( 'layout_columns', array('max' => $columns[ $this->id ] ) );
    820820
    821821        if ( ! isset( $this->_options['layout_columns'] ) ) {
Note: See TracChangeset for help on using the changeset viewer.