Changeset 37016 for trunk/src/wp-admin/includes/meta-boxes.php
- Timestamp:
- 03/16/2016 04:57:36 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/meta-boxes.php
r36612 r37016 570 570 ?> 571 571 <label class="screen-reader-text" for="excerpt"><?php _e('Excerpt') ?></label><textarea rows="1" cols="40" name="excerpt" id="excerpt"><?php echo $post->post_excerpt; // textarea_escaped ?></textarea> 572 <p><?php _e('Excerpts are optional hand-crafted summaries of your content that can be used in your theme. <a href="https://codex.wordpress.org/Excerpt" target="_blank">Learn more about manual excerpts.</a>'); ?></p> 572 <p><?php 573 printf( 574 /* translators: %s: Codex URL */ 575 __( 'Excerpts are optional hand-crafted summaries of your content that can be used in your theme. <a href="%s">Learn more about manual excerpts</a>.' ), 576 __( 'https://codex.wordpress.org/Excerpt' ) 577 ); 578 ?></p> 573 579 <?php 574 580 } … … 599 605 </p> 600 606 <p id="trackback-url-desc" class="howto"><?php _e( 'Separate multiple URLs with spaces' ); ?></p> 601 <p><?php _e('Trackbacks are a way to notify legacy blog systems that you’ve linked to them. If you link other WordPress sites, they’ll be notified automatically using <a href="https://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments" target="_blank">pingbacks</a>, no other action necessary.'); ?></p> 607 <p><?php 608 printf( 609 /* translators: %s: Codex URL */ 610 __( 'Trackbacks are a way to notify legacy blog systems that you’ve linked to them. If you link other WordPress sites, they’ll be notified automatically using <a href="%s">pingbacks</a>, no other action necessary.' ), 611 __( 'https://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments' ) 612 ); 613 ?></p> 602 614 <?php 603 615 if ( ! empty($pings) ) … … 625 637 meta_form( $post ); ?> 626 638 </div> 627 <p><?php _e('Custom fields can be used to add extra metadata to a post that you can <a href="https://codex.wordpress.org/Using_Custom_Fields" target="_blank">use in your theme</a>.'); ?></p> 639 <p><?php 640 printf( 641 /* translators: %s: Codex URL */ 642 __( 'Custom fields can be used to add extra metadata to a post that you can <a href="%s">use in your theme</a>.' ), 643 __( 'https://codex.wordpress.org/Using_Custom_Fields' ) 644 ); 645 ?></p> 628 646 <?php 629 647 } … … 641 659 <p class="meta-options"> 642 660 <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 /> 643 <label for="ping_status" class="selectit"><input name="ping_status" type="checkbox" id="ping_status" value="open" <?php checked($post->ping_status, 'open'); ?> /> <?php printf( __( 'Allow <a href="%s" target="_blank">trackbacks and pingbacks</a> on this page.' ), __( 'https://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments' ) ); ?></label> 661 <label for="ping_status" class="selectit"><input name="ping_status" type="checkbox" id="ping_status" value="open" <?php checked($post->ping_status, 'open'); ?> /> <?php 662 printf( 663 /* translators: %s: Codex URL */ 664 __( 'Allow <a href="%s">trackbacks and pingbacks</a> on this page.' ), 665 __( 'https://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments' ) ); 666 ?></label> 644 667 <?php 645 668 /**
Note: See TracChangeset
for help on using the changeset viewer.