WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #50896, comment 6


Ignore:
Timestamp:
08/11/2020 04:39:27 PM (10 months ago)
Author:
crstauf
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #50896, comment 6

    initial v1  
    55
    66The advantage of an mu-plugin is that it would be easily distributed with the codebase (due to its location within `wp-content` directory), and would thus near-absolutely ensure the environment type of "development".
     7
     8Edit: And even if the mu-plugin made it's way on to production, the logic within the filter would defer to the value of the constant.