WordPress.org

Make WordPress Core


Ignore:
File:
1 edited

Legend:

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

    r4936 r5094  
    2222        if (0 != $i)
    2323            echo ', ';
    24         $draft->post_title = stripslashes($draft->post_title);
     24        $draft->post_title = apply_filters('the_title', stripslashes($draft->post_title));
    2525        if ($draft->post_title == '')
    2626            $draft->post_title = sprintf(__('Post #%s'), $draft->ID);
     
    2929        }
    3030    ?>
    31     .</p>
     31.</p>
    3232<?php } ?>
    3333
     
    3939        if (0 != $i)
    4040            echo ', ';
    41         $draft->post_title = stripslashes($draft->post_title);
     41        $draft->post_title = apply_filters('the_title', stripslashes($draft->post_title));
    4242        if ($draft->post_title == '')
    4343            $draft->post_title = sprintf(__('Post #%s'), $draft->ID);
     
    6565} else {
    6666    if ( is_single() )
    67         printf(__('Comments on %s'), $post->post_title);
     67        printf(__('Comments on %s'), apply_filters( "the_title", $post->post_title));
    6868    elseif ( ! is_paged() || get_query_var('paged') == 1 )
    6969        _e('Last 15 Posts');
     
    178178    case 'date':
    179179        ?>
    180         <td><?php if ( '0000-00-00 00:00:00' ==$post->post_modified ) _e('Unpublished'); else the_time(_('Y-m-d \<\b\r \/\> g:i:s a')); ?></td>
     180        <td><?php if ( '0000-00-00 00:00:00' ==$post->post_modified ) _e('Unpublished'); else the_time(__('Y-m-d \<\b\r \/\> g:i:s a')); ?></td>
    181181        <?php
    182182        break;
Note: See TracChangeset for help on using the changeset viewer.