[wp-trac] [WordPress Trac] #12267: Upgrade loop objects to provide identical presentational interfaces.
WordPress Trac
wp-trac at lists.automattic.com
Mon Mar 7 06:52:01 UTC 2011
#12267: Upgrade loop objects to provide identical presentational interfaces.
-------------------------+-----------------------------
Reporter: andy | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: General | Version:
Severity: normal | Resolution:
Keywords: 3.2-early |
-------------------------+-----------------------------
Changes (by mikeschinkel):
* cc: mikeschinkel@… (added)
Comment:
Can I propose `WP_Post_Object` and `WP_Page_Object` instead of
`WP_Object_Post` and `WP_Object_Page`? I know non-English speakers whose
languages would favor the latter will disagree but AFAIK there's no place
else in WordPress where classes are named in that way and I think it might
be confusing for less skilled programmers. FWIW.
Also `$post->labels->singular_name` works nicely for surfacing `Post` vs.`
post`, etc.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12267#comment:35>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list