[wp-trac] [WordPress Trac] #64837: Disable pings/trackbacks for local, development, and staging environments
WordPress Trac
noreply at wordpress.org
Tue Mar 10 17:37:37 UTC 2026
#64837: Disable pings/trackbacks for local, development, and staging environments
------------------------------+-----------------------------
Reporter: cagrimmett | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Pings/Trackbacks | Version:
Severity: normal | Keywords:
Focuses: |
------------------------------+-----------------------------
When WP_ENVIRONMENT_TYPE is local, development, or staging, pingbacks and
trackbacks should be disabled.
Unless one remembers to go in and disable pingbacks/trackbacks on a non-
production environment, pings will be sent out when posts are added or
updated, which is a common workflow when testing. This is not ideal and
creates confusion on the receiving end. Disabling them on non-production
environments default would be a better experience.
- Both outgoing and incoming should be disabled.
- If the environment type is not set, or is set to production, pings and
trackbacks should be left as default (open/enabled).
- A filter should be added so developers can override this change if
pingbacks or trackbacks are needed in a non-production environment.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64837>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list