[wp-trac] [WordPress Trac] #16893: Stop or reduce crawling of comment reply ?replytocom URLs

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 9 15:44:12 UTC 2011


#16893: Stop or reduce crawling of comment reply ?replytocom URLs
------------------------------------+------------------
 Reporter:  joelhardi               |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  3.2
Component:  Comments                |     Version:  3.1
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+------------------
Changes (by nacin):

 * milestone:  Awaiting Review => 3.2


Comment:

 Replying to [comment:5 joelhardi]:
 > It would definitely work to put it in default-filters.php but then it's
 even lower in the stack. Could put the replytocom check in a new function
 and hook it to wp_head, but don't think that's better since it adds
 overhead and is basically equivalent to how noindex() is called.

 Actually, I was thinking default-filters.php. Putting it in a function and
 hooking it is no different, since undoing that is unhooking a filter,
 while undoing this is hooking a filter. Dropping it into default-filters
 simply avoid an extra layer. It's not lower in the stack, as it's keeping
 the code outside of noindex(), which would still feel like a generic
 function.

 Moving to 3.2 for review.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16893#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list