WordPress.org

Make WordPress Core

Changeset 7353


Ignore:
Timestamp:
03/17/08 22:27:47 (7 years ago)
Author:
ryan
Message:

Add title attribute to edit post link. see #6802

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-post-rows.php

    r7307 r7353  
    7474            $title = __('(no title)'); 
    7575        ?> 
    76         <td><strong><a class="row-title" href="post.php?action=edit&amp;post=<?php the_ID(); ?>"><?php echo $title ?></a></strong> 
     76        <td><strong><a class="row-title" href="post.php?action=edit&amp;post=<?php the_ID(); ?>" title="<?php echo attribute_escape(sprintf(__('Edit "%s"'), $title)); ?>"><?php echo $title ?></a></strong> 
    7777        <?php if ('private' == $post->post_status) _e(' &#8212; <strong>Private</strong>'); ?></td> 
    7878        <?php 
Note: See TracChangeset for help on using the changeset viewer.