Changeset 6132 for trunk/wp-content

Show
Ignore:
Timestamp:
09/18/07 22:50:59 (1 year ago)
Author:
ryan
Message:

the_title_attribute(). Props Nazgul. fixes #4731

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-content/themes/default/archive.php

    r5996 r6132  
    3030        <?php while (have_posts()) : the_post(); ?> 
    3131        <div class="post"> 
    32                 <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3> 
     32                <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3> 
    3333                <small><?php the_time('l, F jS, Y') ?></small> 
    3434 
  • trunk/wp-content/themes/default/attachment.php

    r6026 r6132  
    1212<?php $_post = &get_post($post->ID); $classname = ($_post->iconsize[0] <= 128 ? 'small' : '') . 'attachment'; // This lets us style narrow icons specially ?> 
    1313        <div class="post" id="post-<?php the_ID(); ?>"> 
    14             <h2><a href="<?php echo get_permalink($post->post_parent); ?>" rev="attachment"><?php echo get_the_title($post->post_parent); ?></a> &raquo; <a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2> 
     14            <h2><a href="<?php echo get_permalink($post->post_parent); ?>" rev="attachment"><?php echo get_the_title($post->post_parent); ?></a> &raquo; <a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> 
    1515            <div class="entry"> 
    1616                <p class="<?php echo $classname; ?>"><?php echo $attachment_link; ?><br /><?php echo basename($post->guid); ?></p> 
  • trunk/wp-content/themes/default/index.php

    r5664 r6132  
    88 
    99            <div class="post" id="post-<?php the_ID(); ?>"> 
    10                 <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2> 
     10                <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> 
    1111                <small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small> 
    1212 
  • trunk/wp-content/themes/default/search.php

    r5664 r6132  
    1616 
    1717            <div class="post"> 
    18                 <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3> 
     18                <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3> 
    1919                <small><?php the_time('l, F jS, Y') ?></small> 
    2020 
  • trunk/wp-content/themes/default/single.php

    r5982 r6132  
    1111 
    1212        <div class="post" id="post-<?php the_ID(); ?>"> 
    13             <h2><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2> 
     13            <h2><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2> 
    1414 
    1515            <div class="entry">