[buddypress-trac] [BuddyPress] #4488: Activity stream not stripping caption shortcodes again in 1.6.1

buddypress-trac noreply at wordpress.org
Mon Dec 17 17:18:34 UTC 2012


#4488: Activity stream not stripping caption shortcodes again in 1.6.1
-------------------------------------+--------------------
 Reporter:  rossagrant               |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  lowest                   |   Milestone:  1.7
Component:  Blogs                    |     Version:  1.6.1
 Severity:  minor                    |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+--------------------
Changes (by boonebgorges):

 * keywords:   => has-patch needs-testing
 * priority:  normal => lowest
 * component:  Core => Blogs
 * severity:  normal => minor


Comment:

 Looks like there are two problems with the existing regex:

 1. It wasn't accounting for the existence of any caption text (in addition
 to the `<img>` element)
 2. There was some incorrect syntax for detecting the `[/coption]` closing
 shortcode

 Please test 4488.patch to see if it works for you (rossagrant, this means
 you!)

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4488#comment:8>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list