[buddypress-trac] [BuddyPress] #3697: bp_blogs_record_post() not stripping caption shortcode correctly

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Oct 19 17:56:58 UTC 2011


#3697: bp_blogs_record_post() not stripping caption shortcode correctly
-------------------------------------------------+--------------------
 Reporter:  boonebgorges                         |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  1.5.2
Component:  Activity                             |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing 2nd-opinion  |
-------------------------------------------------+--------------------
Changes (by boonebgorges):

 * keywords:   => has-patch needs-testing 2nd-opinion


Comment:

 One kinda crummy fix is, in bp_activity_thumbnail_content_images(), to
 replace the old image tags with a space character.

 Another is to rewrite that regex so that the optional [caption] shortcodes
 are stripped as well. See 01.patch. It's off the top of my head and I am
 crummy at regex, so please examine carefully.

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


More information about the buddypress-trac mailing list