Make WordPress Core


Ignore:
Timestamp:
10/03/2011 04:00:57 AM (14 years ago)
Author:
azaozz
Message:

Use add_option() method, introduce add_option_context() method for adding specific text above the screen options, see #18690

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/network/users.php

    r18864 r18867  
    228228$parent_file = 'users.php';
    229229
    230 add_screen_option( 'per_page', array('label' => _x( 'Users', 'users per page (screen options)' )) );
    231 
    232 $current_screen->add_screen_options(
     230$current_screen->add_option( 'per_page', array('label' => _x( 'Users', 'users per page (screen options)' )) );
     231
     232$current_screen->add_option_context(
    233233'<p>test</p>'
    234234);
Note: See TracChangeset for help on using the changeset viewer.