Ticket #4731: 4731.diff
File 4731.diff, 4.6 KB (added by , 16 years ago) |
---|
-
wp-content/themes/default/archive.php
29 29 30 30 <?php while (have_posts()) : the_post(); ?> 31 31 <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 echo attribute_escape(strip_tags(the_title('', '', false))); ?>"><?php the_title(); ?></a></h3> 33 33 <small><?php the_time('l, F jS, Y') ?></small> 34 34 35 35 <div class="entry"> -
wp-content/themes/default/attachment.php
11 11 <?php $attachment_link = get_the_attachment_link($post->ID, true, array(450, 800)); // This also populates the iconsize for the next line ?> 12 12 <?php $_post = &get_post($post->ID); $classname = ($_post->iconsize[0] <= 128 ? 'small' : '') . 'attachment'; // This lets us style narrow icons specially ?> 13 13 <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> » <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> » <a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php echo attribute_escape(strip_tags(the_title('', '', false))); ?>"><?php the_title(); ?></a></h2> 15 15 <div class="entry"> 16 16 <p class="<?php echo $classname; ?>"><?php echo $attachment_link; ?><br /><?php echo basename($post->guid); ?></p> 17 17 -
wp-content/themes/default/index.php
7 7 <?php while (have_posts()) : the_post(); ?> 8 8 9 9 <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 echo attribute_escape(strip_tags(the_title('', '', false))); ?>"><?php the_title(); ?></a></h2> 11 11 <small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small> 12 12 13 13 <div class="entry"> -
wp-content/themes/default/search.php
15 15 <?php while (have_posts()) : the_post(); ?> 16 16 17 17 <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 echo attribute_escape(strip_tags(the_title('', '', false))); ?>"><?php the_title(); ?></a></h3> 19 19 <small><?php the_time('l, F jS, Y') ?></small> 20 20 21 21 <p class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p> -
wp-content/themes/default/single.php
10 10 </div> 11 11 12 12 <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 echo attribute_escape(strip_tags(the_title('', '', false))); ?>"><?php the_title(); ?></a></h2> 14 14 15 15 <div class="entry"> 16 16 <?php the_content('<p class="serif">Read the rest of this entry »</p>'); ?>