WordPress.org

Make WordPress Core

Ticket #6362: 6362.diff

File 6362.diff, 8.0 KB (added by Otto42, 7 years ago)

Refreshed patch for trunk

  • wp-admin/edit-category-form.php

     
    2626        <table class="form-table"> 
    2727                <tr class="form-field form-required"> 
    2828                        <th scope="row" valign="top"><label for="cat_name"><?php _e('Category Name') ?></label></th> 
    29                         <td><input name="cat_name" id="cat_name" type="text" value="<?php echo attribute_escape($category->name); ?>" size="40" aria-required="true" /><br /> 
    30             <?php _e('The name is used to identify the category almost everywhere, for example under the post or in the category widget.'); ?></td> 
     29                        <td><input name="cat_name" id="cat_name" type="text" value="<?php echo attribute_escape($category->name); ?>" size="40" aria-required="true" /></td> 
    3130                </tr> 
    3231                <tr class="form-field"> 
    3332                        <th scope="row" valign="top"><label for="category_nicename"><?php _e('Category Slug') ?></label></th> 
     
    4443                <tr class="form-field"> 
    4544                        <th scope="row" valign="top"><label for="category_description"><?php _e('Description') ?></label></th> 
    4645                        <td><textarea name="category_description" id="category_description" rows="5" cols="50" style="width: 97%;"><?php echo wp_specialchars($category->description); ?></textarea><br /> 
    47             <?php _e('The description is not prominent by default, however some themes may show it.'); ?></td> 
     46            <?php _e('The description is not prominent by default; however, some themes may show it.'); ?></td> 
    4847                </tr> 
    4948        </table> 
    5049<p class="submit"><input type="submit" class="button" name="submit" value="<?php echo $submit_text ?>" /></p> 
  • wp-admin/edit-form-advanced.php

     
    334334<p><label for="comment_status" class="selectit"> 
    335335<input name="comment_status" type="checkbox" id="comment_status" value="open" <?php checked($post->comment_status, 'open'); ?> /> 
    336336<?php _e('Allow Comments') ?></label></p> 
    337 <p><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 Pings') ?></label></p> 
    338 <p><?php _e('These settings apply to this post only. &#8220;Pings&#8221; are <a href="http://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments" target="_blank">trackbacks and pingbacks</a>.'); ?></p> 
     337<p><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></p> 
    339338<?php 
    340339} 
    341340add_meta_box('commentstatusdiv', __('Comments &amp; Pings'), 'post_comment_status_meta_box', 'post', 'advanced', 'core'); 
     
    343342function post_password_meta_box($post) { 
    344343?> 
    345344<p><label class="hidden" for="post_password"><?php _e('Password Protect This Post') ?></label><input name="post_password" type="text" size="25" id="post_password" value="<?php echo attribute_escape( $post->post_password ); ?>" /></p> 
    346 <p><?php _e('Setting a password will require people who visit your blog to enter the above password to view this post and its comments.'); ?></p> 
     345<p><?php _e('Setting a password will require visitors to enter it to view this post and its comments.'); ?></p> 
    347346<?php 
    348347} 
    349348add_meta_box('passworddiv', __('Password Protect This Post'), 'post_password_meta_box', 'post', 'advanced', 'core'); 
  • wp-admin/edit-link-category-form.php

     
    3535                </tr> 
    3636                <tr class="form-field"> 
    3737                        <th scope="row" valign="top"><label for="description"><?php _e('Description (optional)') ?></label></th> 
    38                         <td><textarea name="description" id="description" rows="5" cols="50" style="width: 97%;"><?php echo $category->description; ?></textarea></td> 
     38                        <td><textarea name="description" id="description" rows="5" cols="50" style="width: 97%;"><?php echo $category->description; ?></textarea><br /> 
     39                        <?php _e('The description is not prominent by default; however, some themes may show it.'); ?></td> 
    3940                </tr> 
    4041        </table> 
    4142<p class="submit"><input type="submit" class="button" name="submit" value="<?php echo $submit_text ?>" /></p> 
  • wp-admin/edit-page-form.php

     
    232232<p><label for="comment_status" class="selectit"> 
    233233<input name="comment_status" type="checkbox" id="comment_status" value="open" <?php checked($post->comment_status, 'open'); ?> /> 
    234234<?php _e('Allow Comments') ?></label></p> 
    235 <p><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 Pings') ?></label></p> 
    236 <p><?php _e('These settings apply to this page only. &#8220;Pings&#8221; are <a href="http://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments" target="_blank">trackbacks and pingbacks</a>.'); ?></p> 
     235<p><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></p> 
    237236<?php  
    238237} 
    239238add_meta_box('pagecommentstatusdiv', __('Comments &amp; Pings'), 'page_comments_status_meta_box', 'page', 'advanced', 'core'); 
     
    241240function page_password_meta_box($post){ 
    242241?> 
    243242<p><label class="hidden" for="post_password"><?php _e('Password Protect This Page') ?></label><input name="post_password" type="text" size="25" id="post_password" value="<?php echo attribute_escape( $post->post_password ); ?>" /></p> 
    244 <p><?php _e('Setting a password will require people who visit your blog to enter the above password to view this page and its comments.'); ?></p> 
     243<p><?php _e('Setting a password will require visitors to enter it to view this page and its comments.'); ?></p> 
    245244<?php 
    246245} 
    247246add_meta_box('pagepassworddiv', __('Password Protect This Page'), 'page_password_meta_box', 'page', 'advanced', 'core'); 
     
    260259<option value='0'><?php _e('Main Page (no parent)'); ?></option> 
    261260<?php parent_dropdown($post->post_parent); ?> 
    262261</select> 
    263 <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> 
     262<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> 
    264263<?php 
    265264} 
    266265add_meta_box('pageparentdiv', __('Page Parent'), 'page_parent_meta_box', 'page', 'advanced', 'core'); 
  • wp-admin/edit-tag-form.php

     
    2727                <tr class="form-field form-required"> 
    2828                        <th scope="row" valign="top"><label for="name"><?php _e('Tag name') ?></label></th> 
    2929                        <td><input name="name" id="name" type="text" value="<?php echo attribute_escape($tag->name); ?>" size="40" aria-required="true" /> 
    30             <p><?php _e('The name is how the tag appears on your site.'); ?></p></td> 
     30      </td> 
    3131                </tr> 
    3232                <tr class="form-field"> 
    3333                        <th scope="row" valign="top"><label for="slug"><?php _e('Tag slug') ?></label></th>