Make WordPress Core

Ticket #35751: 35751.3.patch

File 35751.3.patch, 2.3 KB (added by ramiy, 6 years ago)

only the codex links...

  • wp-admin/includes/meta-boxes.php

     
    569569function post_excerpt_meta_box($post) {
    570570?>
    571571<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 printf( __( 'Excerpts are optional hand-crafted summaries of your content that can be used in your theme. <a href="%s" target="_blank">Learn more about manual excerpts.</a>' ), __( 'https://codex.wordpress.org/Excerpt' ) ); ?></p>
    573573<?php
    574574}
    575575
     
    598598        <?php echo $form_trackback; ?>
    599599</p>
    600600<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&#8217;ve linked to them. If you link other WordPress sites, they&#8217;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>
     601<p><?php printf( __( 'Trackbacks are a way to notify legacy blog systems that you&#8217;ve linked to them. If you link other WordPress sites, they&#8217;ll be notified automatically using <a href="%s" target="_blank">pingbacks</a>, no other action necessary.' ), __( 'https://codex.wordpress.org/Introduction_to_Blogging#Managing_Comments' ) ); ?></p>
    602602<?php
    603603if ( ! empty($pings) )
    604604        echo $pings;
     
    624624list_meta( $metadata );
    625625meta_form( $post ); ?>
    626626</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>
     627<p><?php printf( __( 'Custom fields can be used to add extra metadata to a post that you can <a href="%s" target="_blank">use in your theme</a>.' ), __( 'https://codex.wordpress.org/Using_Custom_Fields' ) ); ?></p>
    628628<?php
    629629}
    630630