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

WordPress Trac noreply at wordpress.org
Tue Apr 14 10:25:49 UTC 2026


#64837: Disable pings/trackbacks for local, development, and staging environments
--------------------------------------+------------------------------
 Reporter:  cagrimmett                |       Owner:  ramonopoly
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Pings/Trackbacks          |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------
Changes (by ramonopoly):

 * owner:  (none) => ramonopoly
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"62231" 62231]:
 {{{
 #!CommitTicketReference repository="" revision="62231"
 Disable pings/trackbacks for local, development, and staging environments

 When WP_ENVIRONMENT_TYPE is not `production`, disable pingbacks and
 trackbacks.

 Otherwise, when `WP_ENVIRONMENT_TYPE` is `local`, `development`, or
 `staging`, pingbacks and trackbacks are sent when posts are published.
 This creates confusion on the receiving end and is unnecessary for testing
 workflows.

 Props arcangelini, cagrimmett, ramonopoly, tyxla.

 Fixes #64837.
 }}}

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


More information about the wp-trac mailing list