[wp-trac] [WordPress Trac] #36224: WP_Taxonomy class

WordPress Trac noreply at wordpress.org
Wed Oct 5 21:48:10 UTC 2016


#36224: WP_Taxonomy class
-------------------------------------------------+-------------------------
 Reporter:  swissspidy                           |       Owner:  swissspidy
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  4.7
Component:  Taxonomy                             |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests dev-        |     Focuses:
  feedback 4.7-early                             |
-------------------------------------------------+-------------------------

Comment (by boonebgorges):

 Thanks for working on this, @swissspidy. General approach looks fine to
 me.

 What is the purpose of the `/* @var WP $wp */` blocks? For an IDE?

 What are the aspects of `WP_Post_Type` that people don't like? Is there
 something in the thread at #36217?

 In the future, it may make sense to move functionality into the class,
 especially functionality that's used only when taxonomies are registered.
 Stuff like `get_taxonomy_labels()`.

 Do we want to set a `$db` property instead of calling `$wpdb`? See #37699.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36224#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list