Make WordPress Core

Ticket #35751: 35751.patch

File 35751.patch, 986 bytes (added by ramiy, 6 years ago)
  • wp-admin/includes/meta-boxes.php

     
    574574function post_excerpt_meta_box($post) {
    575575?>
    576576<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>
    577 <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>
     577<p><?php _e( 'Excerpts are optional hand-crafted summaries of your content that can be used in your theme.' ); ?> <a href="<?php echo esc_url( __( 'https://codex.wordpress.org/Excerpt' ) ); ?>" target="_blank"><?php _e( 'Learn more about manual excerpts.' ); ?></a></p>
    578578<?php
    579579}
    580580