[wp-trac] [WordPress Trac] #23014: template-loader.php process feeds and trackbacks bug

WordPress Trac noreply at wordpress.org
Wed Jul 2 02:08:21 UTC 2025


#23014: template-loader.php process feeds and trackbacks bug
--------------------------+----------------------
 Reporter:  cobrasjp14    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Feeds         |     Version:  2.2
 Severity:  normal        |  Resolution:  invalid
 Keywords:  needs-patch   |     Focuses:
--------------------------+----------------------

Comment (by venzoook222):

 To correct this problem, change "return" on lines 16, 19, and 22, back to
 "exit()". This will prevent the rest of the HTML page from loading when a
 feed is detected. This will also correct the behavior when a robot or a
 trackback is detected.

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


More information about the wp-trac mailing list