#6436 closed defect (bug) (fixed)
Shortcode attributes passing incorrectly
| Reported by: | stevish | Owned by: | |
|---|---|---|---|
| Priority: | highest omg bbq | Milestone: | 2.5 |
| Component: | General | Version: | 2.5 |
| Severity: | blocker | Keywords: | has-patch |
| Cc: | Focuses: |
Description
In WP2.5 RC3, when adding attributes to a shortcode (such as [gallery columns="3"]) any quotation marks are passed as part of the variable. Therefore, in this example, the $columns variable would contain ”3″ instead of just 3. The same happens when using single quotes.
As far as I can tell, there is no way to use values with spaces, as everything after the space is ignored.
Attachments (1)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
filter shortcodes before wptexturize