Make WordPress Core

Changes between Initial Version and Version 9 of Ticket #17748


Ignore:
Timestamp:
06/11/2011 03:59:54 AM (14 years ago)
Author:
dd32
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17748

    • Property Owner set to azaozz
    • Property Status changed from new to reopened
  • Ticket #17748 – Description

    initial v9  
    22
    33attached is a diff of problems which I'm going to walk through:
    4  * archive.php - doesnt need to call the_post(); only uses global query conditionals.
    5  * author.php - comment typo
     4 * ~~ archive.php - doesnt need to call the_post(); only uses global query conditionals.~~
     5 * ~~ author.php - comment typo~~
    66 * comments.php - has to check get_option( 'page_comments' ) ? Shouldn't that be included within get_comment_pages_count() instead to short-circuit it?
    7  * content-aside.php, content-link.php, content-image.php, content-quote.php,  - use get_post_type() instead of $post->post_type
    8  * content-gallery.php - indentation (trivial I know)
     7 * ~~ content-aside.php, content-link.php, content-image.php, content-quote.php,  - use get_post_type() instead of $post->post_type~~
     8 * ~~ content-gallery.php - indentation (trivial I know)~~
    99 * content-image.php & a few others - Doesnt use {{{<span class="sep"> | </span>}}} between utility entries?
    1010 * content-single.php doesnt have a post = post_type conditional on date meta like most of the rest of the content items.
    11  * content-status.php - Dead code, and avoid using the post type itself
    12  * content.php - Applies to most files, using 'echo=0' on a few items, $show_sep code is rather convuluted as well, perhaps appending to an array and imploding it would be cleaner, This style of code is used in a few places, but not all.
     11 * ~~ content-status.php - Dead code, and avoid using the post type itself~~
     12 * content.php - ~~Applies to most files, using 'echo=0' on a few items,~~ $show_sep code is rather convuluted as well, perhaps appending to an array and imploding it would be cleaner, This style of code is used in a few places, but not all.
    1313 * image.php - Has verbose Comments vs. Trackbacks being closed text, This text isnt used on other pages, only mention of Trackbacks are on this template too
    14  * inc/theme-options.php - Use $hook_suffix within an hook name instead of attaching to the generic action
    15  * single.php() - Dead code
     14 * ~~inc/theme-options.php - Use $hook_suffix within an hook name instead of attaching to the generic action~~
     15 * ~~single.php() - Dead code~~
    1616
    1717Most of this really just needs a sanity check on what is supposed to apply, and apply it to the rest of the template files.