[wp-trac] [WordPress Trac] #20037: Introduce 'noindex' filter for robots meta tag
WordPress Trac
wp-trac at lists.automattic.com
Tue Feb 14 05:09:48 UTC 2012
#20037: Introduce 'noindex' filter for robots meta tag
---------------------------+------------------------------
Reporter: MartyThornley | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Template | Version:
Severity: normal | Resolution:
Keywords: has-patch |
---------------------------+------------------------------
Changes (by MartyThornley):
* keywords: needs-patch => has-patch
Comment:
To explain a few things in the first go at this...
Added some default ideas for what values should be added when. Maybe
overkill or maybe not the exact right things? Not exactly a robots expert
here, just wish it was more editable. :)
Needed to grab the $post so we can see where we are when filtering. As a
bonus, the empty $post as it is done here, works to detect things like wp-
signup.php, where wp_no_robots() has been manually added.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20037#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list