[theme-reviewers] regex for uploader

Simon Prosser pross at pross.org.uk
Mon Aug 16 17:08:01 UTC 2010


I'm writing a little uploader test script so we can test themes allready in 
the queue, heres what i have so far:
still needs some testing as none of us are regex guru's!

This checks for the most common deprecated functions.. should they all be 
included?

preg_match('/[^wp_]get_archives|[^wp_]link_pages|
[^wp_]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 /',$sourcestring,$matches);



-- 
MyBlog : http://www.pross.org.uk/
Plugins : http://www.pross.org.uk/plugins/
Themes: http://wordpress.org/extend/themes/profile/pross
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20100816/6f866e4a/attachment.pgp>


More information about the theme-reviewers mailing list