Ticket #12695: post-id-comments.diff

File post-id-comments.diff, 2.5 KB (added by zeo, 3 years ago)

used #post-## for comments

  • wp-content/themes/twentyten/onecolumn-page.php

     
    2727                                                <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?> 
    2828                                                <?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="edit-link">', '</span>' ); ?> 
    2929                                        </div><!-- .entry-content --> 
    30                                 </div><!-- #post-<?php the_ID(); ?> --> 
     30                                </div><!-- #post-## --> 
    3131 
    3232                                <?php comments_template( '', true ); ?> 
    3333 
  • wp-content/themes/twentyten/loop.php

     
    154154                                <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span> 
    155155                                <?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?> 
    156156                        </div><!-- .entry-utility --> 
    157                 </div><!-- #post-<?php the_ID(); ?> --> 
     157                </div><!-- #post-## --> 
    158158 
    159159                <?php comments_template( '', true ); ?> 
    160160 
  • wp-content/themes/twentyten/page.php

     
    3232                                                <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?> 
    3333                                                <?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="edit-link">', '</span>' ); ?> 
    3434                                        </div><!-- .entry-content --> 
    35                                 </div><!-- #post-<?php the_ID(); ?> --> 
     35                                </div><!-- #post-## --> 
    3636 
    3737                                <?php comments_template( '', true ); ?> 
    3838 
  • wp-content/themes/twentyten/attachment.php

     
    9494                                                <?php twentyten_posted_in(); ?> 
    9595                                                <?php edit_post_link( __( 'Edit', 'twentyten' ), ' <span class="edit-link">', '</span>' ); ?> 
    9696                                        </div><!-- .entry-utility --> 
    97                                 </div><!-- #post-<?php the_ID(); ?> --> 
     97                                </div><!-- #post-## --> 
    9898 
    9999<?php comments_template(); ?> 
    100100