[wp-trac] [WordPress Trac] #41143: Theme/plugin editing: if you don't select a function it just returns without message

WordPress Trac noreply at wordpress.org
Mon Jul 10 08:07:15 UTC 2017


#41143: Theme/plugin editing: if you don't select a function it just returns
without message
--------------------------+------------------------------
 Reporter:  karmatosed    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Themes        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------

Comment (by xkon):

 Hello again,

 I've added '''41143_v2.diff''' this is @swissspidy 's suggestion to have
 the button disabled. I think it works better than the error message. At
 least it makes more sense and keeps the UI clean.

 Unfortunately I added the code within the page as I don't know if I should
 add it to the minified common.js myself or if somebody will transfer it
 there.

 Keep me posted if you need it in another file so I can fix an update for
 it.

 Best regards,
 Konstantinos

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


More information about the wp-trac mailing list