[theme-reviewers] Theme Check update

Otto otto at ottodestruct.com
Thu Sep 11 21:54:46 UTC 2014


A new version of Theme Check has been sent to the trunk. I would appreciate
some testing and feedback, as there are a number of new tests and changes
and such.

The new version is not final yet. The checks are not on WordPress.org yet.
They will likely change, so if something in there upsets you, be calm.
Don't blow your top just yet. :)

The new updates are:

* Updated deprecated function listings. These had not been updated in some
time, and Frank Klein at Automattic did a great job in getting these up to
date. Way more patience than I would have had. :)

* Customizer check: All add_settings must use sanitization callbacks, for
security. This one is kind of a no-brainer, really. Any input should be
properly sanitized.

* Plugin territory checks: Themes must not register post types or
taxonomies or add shortcodes for post content.

* Widgets: Calls to register_sidebar must be called from the widgets_init
action hook.

* Title: <title> tags must exist and not have anything in them other than a
call to wp_title().

* CDN: Checks for use of a few common CDNs. I'm still on the fence on this
one, might make it a warning only rather than a failure.

The development version of Theme Check can be acquired here:
http://downloads.wordpress.org/plugin/theme-check.zip

Or here:
http://plugins.svn.wordpress.org/theme-check/trunk


-Otto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20140911/258869fd/attachment.html>


More information about the theme-reviewers mailing list