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

WordPress Trac noreply at wordpress.org
Mon Apr 27 07:13:48 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
-------------------------+------------------------------
Changes (by SergeyBiryukov):

 * component:  General => Editor


Comment:

 Hi @xwolf, welcome to Trac!

 That line already exists in `htmlUpdate()` and `mceUpdate()` functions.
 Link text is not really an attribute like `href` or `target`, why should
 it be in `getAttrs()`?

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


More information about the wp-trac mailing list