Make WordPress Core

Changes between Version 3 and Version 4 of Ticket #24138, comment 2


Ignore:
Timestamp:
04/22/2013 07:58:41 AM (11 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24138, comment 2

    v3 v4  
    1 I know they could be defined anywhere , but since this is a multisite , regardless of the actual location where they are defined ,those constants will affect ALL blogs ( unless specifically defined or treated otherwise ).. I am also not sure how does a defined constant will act upon conflicts where the same constant is sharing a name but different in value. which will take priority ? (or the constant will just keep on "switching" and "bouncing" from one value to the other ) . Also, constants that are cron - dependent ( like trash or auto-save ) would be entering a bit of a conflict ( as to my understanding at least until the Heartbeat API [https://core.trac.wordpress.org/ticket/23216] will be fully implemented )
     1I know they could be defined anywhere , but since this is a multisite , regardless of the actual location where they are defined ,those constants will affect ALL blogs ( unless specifically defined or treated otherwise ).. I am also not sure how does a defined constant will act upon conflicts where the same constant is sharing a name but different in value. which will take priority ? (or the constant will just keep on "switching" and "bouncing" from one value to the other ) . Also, constants that are cron - dependent ( like trash or auto-save ) would be entering a bit of a conflict ( as to my understanding at least until the Heartbeat API #23216 will be fully implemented )