[wp-trac] [WordPress Trac] #34039: shortcode_parse_atts() no longer parses embedded html fragments

WordPress Trac noreply at wordpress.org
Sun Sep 27 03:38:27 UTC 2015


#34039: shortcode_parse_atts() no longer parses embedded html fragments
--------------------------+-----------------------------
 Reporter:  Magenta Cuda  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  4.3.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 I have a shortcode:

 [show_custom_field field="image_media" before="<img src='" after="'>"]

 Previously, shortcode_parse_atts() would accept the attribute:

 before="<img src='"

 But, now shortcode_parse_atts() rejects any attributes that have unclosed
 HTML elements.

 I have almost three years invested (10K lines of code) in this plugin and
 I really would like to keep it functional. That being said it is also true
 that I am no longer actively developing it and it has only 30 users.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34039>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list