WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #12267, comment 58


Ignore:
Timestamp:
07/13/12 15:34:17 (22 months ago)
Author:
toppa
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12267, comment 58

    initial v1  
    1 The patch I just added is a prototype, and is essentially a simpler version of previous proposed patches. I made the properties public since there is already existing code that directly manipulates their values (but __set at least checks that arbitrary properties aren't being added). 
     1The patch I just added is a prototype, and is essentially a simpler version of previous proposed patches. I made the properties public since there is already existing code that directly manipulates their values (but the magic set at least checks that arbitrary properties aren't being added). 
    22 
    33The main interest in this discussion so far is to focus on methods related to display, so I have get_the_title() as an example. My thought is that, in the long run, WP_Post would become the home for this functionality (not just a wrapper for existing functions), but I want to see what people think of what I have as a starting point.