WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #15694, comment 35


Ignore:
Timestamp:
07/24/15 06:02:59 (2 years ago)
Author:
miyarakira
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15694, comment 35

    v1 v2  
    1 I second moving severity to critical. As the auto-update rolls through, increasing number of sites and users are affected here as well, with support tickets piling up. A seemingly innocuous use case such as: 
    2  
    3 {{{ 
    4 <img src="[field image-url]"> 
    5 }}} 
    6  
    7 ..which used to display a featured image, now outputs: 
    8  
    9 {{{ 
    10 <img src> 
    11 }}} 
    12  
    13 This is just one of numerous real-life uses of shortcodes which depended on behavior prior to 4.2.3. 
    14  
    15 Another breaking consequence: there are shortcodes which render "tags" inside its wrapped content, in the syntax: 
    16  
    17 {{{ 
    18 [shortcode] 
    19   <a href="{URL}">{TITLE}</a> 
    20 [/shortcode] 
    21 }}} 
    22  
    23 Now does not work. 
    24  
    25 The "workarounds" mentioned in the Make announcement are not applicable or practical in any of the issues I've looked at so far. It's impossible to go through all past sites to find & replace any occurrences of shortcodes in HTML attributes - and, at least in the issues I'm seeing, the recommended solutions do not work. There's also nothing that a plugin or theme developer can do to address the issue, since the content has been stripped already - there's no filter or hook to customize the behavior. 
    26  
    27 This is a critical break in backward compatibility, and needs attention. 
    28  
    29 ---- 
    30  
    31 Edit: It is being addressed here: https://core.trac.wordpress.org/ticket/33102