[wp-trac] [WordPress Trac] #3528: HTTP 304 status not sent correctly on PHP 5.2, breaking conditional GET on feeds

WordPress Trac noreply at wordpress.org
Mon Feb 12 05:52:24 UTC 2024


#3528: HTTP 304 status not sent correctly on PHP 5.2, breaking conditional GET on
feeds
--------------------------+---------------------
 Reporter:  kelson        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  high          |   Milestone:  2.0.7
Component:  General       |     Version:  2.0.6
 Severity:  major         |  Resolution:  fixed
 Keywords:                |     Focuses:
--------------------------+---------------------

Comment (by matthaiosflgzm4):

 It appears that after upgrading to WordPress 2.0.6, feeds stopped working
 due to incorrect HTTP 304 status being sent on conditional GET requests,
 breaking conditional GET functionality. The issue stems from the
 status_header function in wp-includes/functions.php, where the status is
 set incorrectly. To resolve this, you've made a change to the line that
 sets the header status.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/3528#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list