[wp-trac] [WordPress Trac] #64837: Disable pings/trackbacks for local, development, and staging environments

WordPress Trac noreply at wordpress.org
Tue Apr 14 21:32:46 UTC 2026


#64837: Disable pings/trackbacks for local, development, and staging environments
--------------------------------------+-------------------------
 Reporter:  cagrimmett                |       Owner:  ramonopoly
     Type:  enhancement               |      Status:  reopened
 Priority:  normal                    |   Milestone:  7.1
Component:  Pings/Trackbacks          |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-------------------------

Comment (by arcangelini):

 @swissspidy @ramonopoly

 Each function serves a distinct hook with a distinct signature. I explored
 collapsing them, but the options were either inline closures in default-
 filters.php (breaks that file's named-callback convention) or a single
 dispatcher using current_filter() (uglier than the four small functions).

 Happy to revisit if you feel strongly, but I'd prefer to leave it as-is.

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


More information about the wp-trac mailing list