Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#34089 closed defect (bug) (invalid)

wptexturize inconsistent behavior

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

Description

Given post content:

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

wptexturize returns:

[show_custom_field field="image_media" before="<img src='" after="'>"]
[show_custom_field field=&#8221;image_media&#8221; after=&#8221;&#8216;>&#8221; before=&#8221;<img src='&#8221;]

The only difference between the two shortcodes is the order of the attributes. Why did it texturize the quote marks in the second shortcode?

Change History (1)

#1 @miqrogroove
11 years ago

  • Milestone Awaiting Review
  • Resolutioninvalid
  • Status newclosed

Support questions should be posted to https://wordpress.org/support/

Note: See TracTickets for help on using tickets.