[wp-trac] [WordPress Trac] #14348: If it's a HEAD request, stop after the head!
WordPress Trac
wp-trac at lists.automattic.com
Sat Aug 18 22:15:02 UTC 2012
#14348: If it's a HEAD request, stop after the head!
---------------------------------+------------------
Reporter: mitchoyoshitaka | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.5
Component: Performance | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch 3.5-early |
---------------------------------+------------------
Changes (by mbijon):
* keywords: has-patch 3.5-early 2nd-opinion => has-patch 3.5-early
Comment:
Just talked to @_mfields about this at #wcpdx and we think
attachment:14348-5.diff will work. Using {{{wp_remote_head()}}} in the
unit test should mean that simpler code is enough.
(Michael did suggest we use {{{die()}}} instead of {{{exit()}}}, but other
than that I'm removing 2nd-opinion on this)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14348#comment:44>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list