[wp-trac] [WordPress Trac] #32143: wpLink function getAttrs() missing link-text

WordPress Trac noreply at wordpress.org
Mon Apr 27 08:24:53 UTC 2015


#32143: wpLink function getAttrs() missing link-text
-------------------------+------------------------------
 Reporter:  xwolf        |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Editor       |     Version:  4.2
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:  javascript
-------------------------+------------------------------

Comment (by xwolf):

 In some plugins wpLink is also used to add contextual links beneath the
 editor (mostly in a seperate metabox). Therfor htmlUpdate() or mceUpdate()
 wont help, cause they are only for use within the textarea of the editor.
 The content of the wp-link-text is not a HTML attribute and so getAttrs()
 might be the wrong position to return it, but to add a single line of code
 there wouldnt hurt anyone :)

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


More information about the wp-trac mailing list