Make WordPress Core

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


Ignore:
Timestamp:
08/22/2017 11:00:13 PM (8 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #41217, comment 6

    initial v1  
    55IMO it would be a better solution overall to force the Community Events developers to add a define to wp-config.php if they DO want to execute this logging.   This seems like a far simpler solution and one that is specific to the class at hand versus hijacking the default DEBUG_LOG behavior for a corner case.
    66
     7{{{
    78                if ( ! WP_COMMUNITY_EVENTS_LOG ) {
    89                        return;
    910                }
     11}}}