[wp-trac] [WordPress Trac] #17482: Formalize a list of "Object Types"

WordPress Trac wp-trac at lists.automattic.com
Tue May 17 23:19:15 UTC 2011


#17482: Formalize a list of "Object Types"
--------------------------+------------------------------------
 Reporter:  mikeschinkel  |      Owner:
     Type:  enhancement   |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:  dev-feedback has-patch
--------------------------+------------------------------------
 I'm finding a need to use a defined list of object types for numerous
 things including for
 [http://core.trac.wordpress.org/ticket/14513#comment:77 object
 relationships], term relationships that relate taxonomy terms to something
 other than a post, data entry forms, and I am sure there are more than
 just these requirements ''(An "object" is anything in WordPress for which
 we can identify a name and a unique ID form the database, i.e.
 `$post->ID`, `$user->ID`, `$term->term_id` and so on.)''

 While thinking about it this seems to be something that would be valuable
 to include core so I am proposing and submitting a patch for their
 potential inclusion.  If this is ''not'' something that the team would
 want to include then I'll simply incorporate them into my own code but I
 wanted to make sure that the team wouldn't want to include them into
 WordPress core instead.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17482>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list