[wp-trac] [WordPress Trac] #34716: Using wplink (wp_editor) on front end is triggering a js error due to unsatisfied dependency

WordPress Trac noreply at wordpress.org
Sat Nov 21 22:32:44 UTC 2015


#34716: Using wplink (wp_editor) on front end is triggering a js error due to
unsatisfied dependency
--------------------------+----------------------------------------
 Reporter:  imath         |       Owner:  azaozz
     Type:  defect (bug)  |      Status:  reviewing
 Priority:  normal        |   Milestone:  4.4
Component:  Editor        |     Version:  4.3
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  accessibility, javascript
--------------------------+----------------------------------------
Changes (by azaozz):

 * milestone:  Awaiting Review => 4.4


Comment:

 Replying to [comment:2 DrewAPicture]:

 Long time ago wplink was using UI dialog. Seems `$.ui.keyCode` was never
 removed after converting it to "plain" JS.

 Thinking the better way to fix this is to stop using `$.ui.keyCode` as in
 34716.2.patch. There is a (very) small change of version collision if we
 enqueue jquery-ui-core on the front.

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


More information about the wp-trac mailing list