[wp-trac] [WordPress Trac] #12267: Introduce WP_Post class
WordPress Trac
wp-trac at lists.automattic.com
Fri Jul 13 16:28:52 UTC 2012
#12267: Introduce WP_Post class
-------------------------+-----------------------------
Reporter: andy | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: General | Version:
Severity: normal | Resolution:
Keywords: |
-------------------------+-----------------------------
Comment (by scribu):
WP_Post should contain the functionality of get_post_title() now, not in
the long run. Otherwise, there's little benefit.
And since you have all the fields explicitly defined as public,
{{{__set()}}} will never succeed. But more than that, we ''have'' to allow
arbitrary attributes, for back-compat reasons, at least.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12267#comment:59>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list