[wp-trac] [WordPress Trac] #37205: Shared term's edit screen is inaccessible

WordPress Trac noreply at wordpress.org
Sat Jul 16 18:36:17 UTC 2016


#37205: Shared term's edit screen is inaccessible
--------------------------+-----------------------------
 Reporter:  dlh           |       Owner:  boonebgorges
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.6
Component:  Taxonomy      |     Version:  4.5
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  administration
--------------------------+-----------------------------
Changes (by boonebgorges):

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


Comment:

 In [changeset:"38069"]:
 {{{
 #!CommitTicketReference repository="" revision="38069"
 On term.php, use `$taxnow` when fetching currently edited term.

 [36874] changed the `get_term()` call so that no `$taxonomy` parameter
 was passed, as 4.4 made the parameter optional. This change made it
 impossible to access a shared term that has not yet been splitr, since
 passing an ambiguous `$term_id` to `get_term()` results in an error.
 Restoring the `$taxonomy` parameter fixes the regression.

 Props alleynoah, dlh.
 Fixes #37205.
 }}}

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


More information about the wp-trac mailing list