[theme-reviewers] The list thread..

Chip Bennett chip at chipbennett.net
Wed Sep 29 20:31:50 UTC 2010


Others to add:

wp_enqueue_script( 'comment-reply'
)<http://codex.wordpress.org/Migrating_Plugins_and_Themes_to_2.7/Enhanced_Comment_Display#Javascript_Comment_Functionality>
<http://codex.wordpress.org/Migrating_Plugins_and_Themes_to_2.7/Enhanced_Comment_Display#Javascript_Comment_Functionality>
paginate_comments_links()<http://codex.wordpress.org/Function_Reference/paginate_comments_links>,
or previous_comments_link()<http://codex.wordpress.org/Function_Reference/previous_comments_link>
/next_comments_link()<http://codex.wordpress.org/Function_Reference/next_comments_link>
posts_nav_link()<http://codex.wordpress.org/Function_Reference/posts_nav_link>,
or previous_posts_link()<http://codex.wordpress.org/Function_Reference/previous_posts_link>
/next_posts_link()<http://codex.wordpress.org/Function_Reference/next_posts_link>
if get_header(), file header.php must exist
if get_sidebar(), file sidebar.php (or sidebar-foo.php) must exist
if get_footer(), file footer.php must exist
if comments_template(), file comments.php must exist

Add warning on include( TEMPLATEPATH . 'file.php' )
Must not have include( TEMPLATEPATH . 'searchform' ) or any variation
Must not include get_template_part( 'searchform ' ) or any variation

Style.css: add:
.wp-caption
.wp-caption-text
.gallery-caption

Add *recommended* for:
.bypostauthor
.sticky

Might be a bit tricky, but can you check the footer for credit link(s), and:
Ensure no more than 1 link (other than to wordpress.org)
Link URL matches either Theme URI or Author URI?

That should cover most of the things that can be automated. Here are some
potential others:

if "post-thumbnail" or "post_thumbnail", must have (should catch the ones
using custom fields for post thumbnails):
add_theme_support( 'post-thumbnails' )
the_post_thumbnail

<http://codex.wordpress.org/Function_Reference/next_comments_link>if "menu",
must have:
register_nav_menu or register_nav_menus
wp_nav_menu

That's enough for now. :)

Chip
On Wed, Sep 29, 2010 at 3:06 PM, Simon Prosser <pross at pross.org.uk> wrote:

> Here is the list of things my script currently checks for:
>
> *All php files:*
> body_class
> post_class
> comment_form
> wp_list_comments
> comments_template
> wp_head
> wp_footer
> wp_link_pages
> dynamic_sidebar
> automatic-feed-links
> post-thumbnails (recommended)
> the_post_thumbnail (recommended)
> comment-reply
> content_width
>
> A basic check for user levels instead of roles that produces has_cap()
> errors in the admin pages.
>
> Check for shorttags <? <?= ignoring <?php <?xml
>
> Check for Artiseer generated theme.
>
> *style.css:*
> Theme Name
> Description
> Author
> Version
> Tags
> Licence/License
> .aligncenter
> .alignleft
> .alignright
>
> *Deprecated functions*
> get_archives
> link_pages
> register_sidebar_widgets
> register_sidebar_widget
> get_settings
> get_alloptions
> get_profile
> add_option_update_handler
> remove_option_update_handler
> clean_url
> is_term
> is_taxonomy
> wp_specialchars
> sanitize_url
> get_postdata
> previous_post
> next_post
> wp_list_cats
> list_authors
> get_author_link
> get_settings
> wp_get_links
> comments_rss_link
> get_category_rss_link
> get_author_rss_link
> comments_rss
> get_catname
> __ngettext
> attribute_escape
> get_usermeta
> automatic_feed_links
>
> Please let me know if you think anything should be added or removed
>
> --
> My Blog: http://www.pross.org.uk/
> Plugins : http://www.pross.org.uk/plugins/
> Themes: http://wordpress.org/extend/themes/profile/pross
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20100929/8478a5c7/attachment-0001.htm>


More information about the theme-reviewers mailing list