[wp-trac] [WordPress Trac] #30859: Capability limit on custom taxonomy does not allow editors to preview

WordPress Trac noreply at wordpress.org
Thu Mar 26 01:22:03 UTC 2015


#30859: Capability limit on custom taxonomy does not allow editors to preview
--------------------------+-----------------------------------------
 Reporter:  MikeNGarrett  |       Owner:  boonebgorges
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.2
Component:  Taxonomy      |     Version:  trunk
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  javascript, administration
--------------------------+-----------------------------------------
Changes (by boonebgorges):

 * owner:   => boonebgorges
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"31895"]:
 {{{
 #!CommitTicketReference repository="" revision="31895"
 When saving post, ensure that non-hierarchical taxonomy input is defined
 before attempting to parse it.

 Taxonomy metaboxes that are disabled for the current user are included in
 the
 post.php markup, but do not contain the 'newtag' field, and so should be
 skipped when looping through the metaboxes to avoid invoking String
 methods
 on a variable of type `undefined`.

 Props MikeNGarrett, A5hleyRich.
 Fixes #30859.
 }}}

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


More information about the wp-trac mailing list