[wp-trac] [WordPress Trac] #37514: Shiny Updates: Remove console.error() calls

WordPress Trac noreply at wordpress.org
Mon Aug 1 16:38:20 UTC 2016


#37514: Shiny Updates: Remove console.error() calls
-----------------------------+-----------------------------------------
 Reporter:  ocean90          |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  4.6
Component:  Upgrade/Install  |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:  javascript, administration
-----------------------------+-----------------------------------------

Comment (by obenland):

 Replying to [comment:9 swissspidy]:
 > Yeah, `window.console.warning` could work too, but then we should remove
 the `return;` statements.

 Removing the return statement for bulk action wouldn't work since the
 default behavior of the form submission will get prevented. Let's just
 remove them? Seems to be the most plausible solution right now.

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


More information about the wp-trac mailing list