WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #19320, comment 15


Ignore:
Timestamp:
11/23/11 06:27:27 (2 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19320, comment 15

    initial v1  
    1 19320-3.patch makes the class one instance only (throws an error if instantiated again) and doesn't need all `static` stuff. Also allows normal use of `$this` or `$class_instance->function()`. 
     119320-3.patch makes the class one instance only (throws an error if instantiated again) and doesn't need all `static` stuff. Also allows normal use of `$this` and `$class_instance->function()`. The three functions that only output html are still static, can be called directly from the deprecated old functions if needed.