[wp-trac] [WordPress Trac] #38765: Argument in registered_taxonomy hook is lost.

WordPress Trac noreply at wordpress.org
Thu Nov 17 23:34:44 UTC 2016


#38765: Argument in registered_taxonomy hook is lost.
------------------------------+-------------------------
 Reporter:  Toro_Unit         |       Owner:  swissspidy
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.7
Component:  Taxonomy          |     Version:  trunk
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  docs
------------------------------+-------------------------
Changes (by peterwilsoncc):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"39283"]:
 {{{
 #!CommitTicketReference repository="" revision="39283"
 Taxonomy: Update `register_taxonomy` hook to use `WP_Taxonomy` object.

 Casts `WP_Taxonomy` to an array for passing to the `register_taxonomy`
 hook. This maintains backward compatibility with the processed arguments
 used prior to WordPress 4.7.

 Fixes #38765.
 }}}

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


More information about the wp-trac mailing list