WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #21309, comment 10


Ignore:
Timestamp:
07/25/2012 07:00:38 PM (8 years ago)
Author:
ryan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21309, comment 10

    v1 v2  
    1 Discussed with scribu in IRC and the advantage of the data blob is that we get !__get() for all "properties". There we can check the filter property as we do in WP_User and run sanitizers without having to write individual get method for everything.
     1Discussed with scribu in IRC and the advantage of the data blob is that we get !__get() for all "properties". There we can check the filter property as we do in WP_User and run sanitizers without having to write individual get methods for everything.