WordPress.org

Make WordPress Core

Opened 2 years ago

Last modified 2 years ago

#34039 new defect (bug)

shortcode_parse_atts() no longer parses embedded html fragments

Reported by: Magenta Cuda Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.3.1
Component: Formatting Keywords:
Focuses: Cc:

Description

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.

Change History (1)

#1 @DrewAPicture
2 years ago

  • Component changed from General to Formatting
Note: See TracTickets for help on using tickets.