[wp-trac] [WordPress Trac] #24825: Print wp_no_robots only once
WordPress Trac
noreply at wordpress.org
Thu Oct 3 15:50:24 UTC 2013
#24825: Print wp_no_robots only once
-------------------------+-----------------------------
Reporter: tivnet | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Template | Version:
Severity: trivial | Resolution:
Keywords: has-patch |
-------------------------+-----------------------------
Comment (by nacin):
Replying to [comment:4 tivnet]:
> Replying to [comment:2 SergeyBiryukov]:
>
> Sergey, this change is so obvious (to me) and so tiny - yet it stays
here for 2 months? This meta must not be printed more than once.
That's what I'm curious about. Why must it not be printed more than once?
Do search engines ignore it all together? Does the page not validate? Does
the browser refuse to load the page?
This isn't necessarily a utility function. It should be attached to
wp_head. It can be used with add_action() repeatedly and it'll still only
be printed once.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24825#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list