WordPress.org

Make WordPress Core

Changeset 5628


Ignore:
Timestamp:
06/01/2007 11:16:50 PM (14 years ago)
Author:
rob1n
Message:

A bit simpler.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/upload.php

    r5587 r5628  
    1616        list($width,$height) = wp_shrink_dimensions($attachment_data['width'], $attachment_data['height'], 171, 128);
    1717
    18     ob_start();
    19         the_title();
    20         $post_title = attribute_escape(ob_get_contents());
    21     ob_end_clean();
     18    $post_title = attribute_escape( the_title( '', '', false ) );
    2219    $post_content = attribute_escape(apply_filters( 'content_edit_pre', $post->post_content ));
    2320
Note: See TracChangeset for help on using the changeset viewer.