WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #37699, comment 79


Ignore:
Timestamp:
09/04/2016 09:45:34 AM (3 years ago)
Author:
MikeSchinkel
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #37699, comment 79

    v1 v2  
    44Is your point that using `WP::get( '<global_state>' )` means that anyone could easily add any new global state without having to modify the `WP` class? 
    55
    6 If so, do you believe that making it easy to add global state to an application is a virtue? Especially when you can do so without any point in the source code where people who know to go and look for documentation about your newly added global state?
     6If so, do you believe that making it easy to add global state to an application is a virtue? Especially when you can do so without any place where people would know to go and look for documentation in the source code about your newly added global state?