SIGN IN SIGN UP

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.



git-svn-id: https://develop.svn.wordpress.org/trunk@62231 602fd350-edb4-49c9-b593-d223f7449a82
R
ramonopoly committed
5accf7de0ce5078b47e5941aa32b2e560eae80af
Parent: 2816923