WordPress.org

Make WordPress Core

Ticket #6362: 6362.patch

File 6362.patch, 8.0 KB (added by ninjaWR, 6 years ago)
  • 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

     
    304304<p><label for="comment_status" class="selectit"> 
    305305<input name="comment_status" type="checkbox" id="comment_status" value="open" <?php checked($post->comment_status, 'open'); ?> /> 
    306306<?php _e('Allow Comments') ?></label></p> 
    307 <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> 
    308 <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> 
     307<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> 
    309308</div> 
    310309</div> 
    311310 
     
    313312<h3><?php _e('Password Protect This Post') ?></h3> 
    314313<div class="inside"> 
    315314<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> 
    316 <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> 
     315<p><?php _e('Setting a password will require visitors to enter it to view this post and its comments.'); ?></p> 
    317316</div> 
    318317</div> 
    319318 
  • wp-admin/edit-link-category-form.php

     
    3030                </tr> 
    3131                <tr class="form-field"> 
    3232                        <th scope="row" valign="top"><label for="slug"><?php _e('Category slug') ?></label></th> 
    33                         <td><input name="slug" id="slug" type="text" value="<?php echo rawurldecode($category->slug); ?>" size="40" /> 
     33                        <td><input name="slug" id="slug" type="text" value="<?php echo rawurldecode($category->slug); ?>" size="40" /><br /> 
    3434            <?php _e('The &#8220;slug&#8221; is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.'); ?></td> 
    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

     
    216216<p><label for="comment_status" class="selectit"> 
    217217<input name="comment_status" type="checkbox" id="comment_status" value="open" <?php checked($post->comment_status, 'open'); ?> /> 
    218218<?php _e('Allow Comments') ?></label></p> 
    219 <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> 
    220 <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> 
     219<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> 
    221220</div> 
    222221</div> 
    223222 
     
    225224<h3><?php _e('Password Protect This Page') ?></h3> 
    226225<div class="inside"> 
    227226<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> 
    228 <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> 
     227<p><?php _e('Setting a password will require visitors to enter it to view this page and its comments.'); ?></p> 
    229228</div> 
    230229</div> 
    231230 
     
    243242<option value='0'><?php _e('Main Page (no parent)'); ?></option> 
    244243<?php parent_dropdown($post->post_parent); ?> 
    245244</select> 
    246 <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> 
     245<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> 
    247246</div> 
    248247</div> 
    249248 
  • 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>