Make WordPress Core

Ticket #6362: 6362.4.diff

File 6362.4.diff, 2.8 KB (added by xenlab, 15 years ago)

New version of 6362.4.diff (found more changes that had been moved into wp-admin/includes/meta-boxes.php) ---> Original attachment comment: Refreshed the changes made in 6362.3.diff for latest trunk (applies to wp-admin/includes/meta-boxes.php instead of wp-admin/edit-page-form.php now)

  • (a) meta-boxes.php vs. (b) (clipboard)

    a b  
    369369?>
    370370<input name="advanced_view" type="hidden" value="1" />
    371371<p class="meta-options">
    372         <label for="comment_status" class="selectit"> <input name="comment_status" type="checkbox" id="comment_status" value="open" <?php checked($post->comment_status, 'open'); ?> /> <?php _e('Allow Comments') ?></label><br />
    373         <label for="ping_status" class="selectit"><input name="ping_status" type="checkbox" id="ping_status" value="open" <?php checked($post->ping_status, 'open'); ?> /> <?php _e('Allow <a href="http://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments" target="_blank">trackbacks and pingbacks</a>') ?></label>
     372        <label for="comment_status" class="selectit"> <input name="comment_status" type="checkbox" id="comment_status" value="open" <?php checked($post->comment_status, 'open'); ?> /> <?php _e('Allow Comments on this page.') ?></label><br />
     373        <label for="ping_status" class="selectit"><input name="ping_status" type="checkbox" id="ping_status" value="open" <?php checked($post->ping_status, 'open'); ?> /> <?php _e('Allow ') ?><a href="http://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments" target="_blank"><?php _e('trackbacks and pingbacks') ?></a><?php _e(' on this page.'); ?></label>
    374374</p>
    375375<?php
    376376}
     
    473473<h5><?php _e('Parent') ?></h5>
    474474<label class="screen-reader-text" for="parent_id"><?php _e('Page Parent') ?></label>
    475475<?php wp_dropdown_pages(array('exclude_tree' => $post->ID, 'selected' => $post->post_parent, 'name' => 'parent_id', 'show_option_none' => __('Main Page (no parent)'), 'sort_column'=> 'menu_order, post_title')); ?>
    476 <p><?php _e('You can arrange your pages in hierarchies, for example you could have an &#8220;About&#8221; page that has &#8220;Life Story&#8221; and &#8220;My Dog&#8221; pages under it. There are no limits to how deeply nested you can make pages.'); ?></p>
     476<p><?php _e('You can arrange your pages in hierarchies. For example, you could have an &#8220;About&#8221; page that has &#8220;Life Story&#8221; and &#8220;My Dog&#8221; pages under it. There are no limits to how deeply nested you can make pages.'); ?></p>
    477477<?php
    478478        if ( 0 != count( get_page_templates() ) ) { ?>
    479479<h5><?php _e('Template') ?></h5>
     
    486486        } ?>
    487487<h5><?php _e('Order') ?></h5>
    488488<p><label class="screen-reader-text" for="menu_order"><?php _e('Page Order') ?></label><input name="menu_order" type="text" size="4" id="menu_order" value="<?php echo esc_attr($post->menu_order) ?>" /></p>
    489 <p><?php _e('Pages are usually ordered alphabetically, but you can put a number above to change the order pages appear in. (We know this is a little janky, it&#8217;ll be better in future releases.)'); ?></p>
     489<p><?php _e('Pages are usually ordered alphabetically, but you can put a number above to change the order pages appear in.'); ?></p>
    490490<?php
    491491}
    492492