[theme-reviewers] Additional checks for the wordpress theme upload scripts.
Philip M. Hofer (Frumph)
philip at frumph.net
Mon Aug 16 13:08:33 UTC 2010
Required, must have in theme.
body_class
post_class
comment_form && wp_list_comments -- if (comments.php || comments-popup.php files exist)
wp_head
wp_footer
wp_link_pages
comments_template
dynamic_sidebar -- if (register_sidebar exists)
$content_width
Required, check with regexp, some people could be adding " instead of ' and spaces
add_theme_support('automatic-feed-links')
If found in theme, check to see if required additional support is there
wp_nav_menu - check if add_theme_support('menus') || register_nav_menus exists
Must Not have in theme, deprecated, if found reject: (direct from deprecated.php, most common)
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
usermeta
automatic_feed_links(
-- Notice the ( at the end, this will denote its the function and stops there
Check's that might be a bit more difficult to check for because of the wp_ on the new one
check for wp_link_pages if not exist, check for link_pages
check for wp_get_archives if not exist, check for get_archives
check for wp_register_sidebar_widget if not exist, check for register_sidebar_widget
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20100816/a45919d7/attachment.htm>
More information about the theme-reviewers
mailing list