[wp-trac] [WordPress Trac] #25570: Add New term to category or tag via ajax only resets text input fields

WordPress Trac noreply at wordpress.org
Thu May 28 11:37:06 UTC 2015


#25570: Add New term to category or tag via ajax only resets text input fields
-------------------------------------+-----------------------------
 Reporter:  valllabh                 |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Future Release
Component:  Taxonomy                 |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  needs-patch 2nd-opinion  |     Focuses:  javascript
-------------------------------------+-----------------------------
Changes (by tyxla):

 * keywords:  needs-patch => needs-patch 2nd-opinion


Comment:

 Not sure if this is a good idea.
 What if any of the checkbox or radio needs to be enabled by default?
 Then this line will wrongly reset the checkbox/radio field.

 Perhaps a better alternative here is to trigger a custom event, allowing
 developers to customize the custom term fields reset actions as they wish.

 Second opinion would be nice here.

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


More information about the wp-trac mailing list