Make WordPress Core


Ignore:
Timestamp:
10/02/2011 06:59:36 AM (14 years ago)
Author:
azaozz
Message:

Add screen_options with contextual content, see #18690

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-form-advanced.php

    r18853 r18864  
    162162$current_screen->add_option('layout_columns', array('max' => 2, 'default' => 'auto') );
    163163
     164$current_screen->add_screen_options(
     165'<p>test</p>'
     166);
     167
    164168if ( 'post' == $post_type ) {
    165169    $customize_display = '<p>' . __('The title field and the big Post Editing Area are fixed in place, but you can reposition all the other boxes using drag and drop, and can minimize or expand them by clicking the title bar of each box. Use the Screen Options tab to unhide more boxes (Excerpt, Send Trackbacks, Custom Fields, Discussion, Slug, Author) or to choose a 1- or 2-column layout for this screen.') . '</p>';
     
    168172        'id'      => 'customize-display',
    169173        'title'   => __('Customizing This Display'),
    170         'content' => $customize_display,
     174        'content' => $customize_display
    171175    ) );
    172176
Note: See TracChangeset for help on using the changeset viewer.