Make WordPress Core

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


Ignore:
Timestamp:
07/13/2012 03:41:19 PM (12 years ago)
Author:
toppa
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12267, comment 58

    v1 v2  
    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 the magic 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 (and focused on only posts). 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.