Make WordPress Core

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#11675 closed defect (bug) (duplicate)

Adjacent Short Codes Don't Work

Reported by: miqrogroove Owned by:
Priority: normal Milestone:
Component: Shortcodes Version: 2.8
Severity: major Keywords:
Cc: Focuses:

Description

Any time two short codes are placed next to each other, the second short code appears as plain text in the content. This can be reproduced with something as simple as [gallery][gallery] or with a more complex pattern such as two captioned images with no whitespace.

Change History (3)

#1 @nacin
17 years ago

  • Keywords needs-patch added
  • Milestone 2.9.1 → 3.0

Not a regression, so moving to 3.0. Needs a patch and probably some unit tests.

The shortcode regex relies on surrounding characters, hence the issue. See also #10326, when it was improved to not strip those characters.

#2 @TobiasBg
17 years ago

  • Keywords needs-patch removed
  • Resolution → duplicate
  • Status new → closed

duplicate of #10082, also related: #10490 and #10326

#3 @nacin
17 years ago

  • Milestone 3.0
Note: See TracTickets for help on using tickets.