Skip to:
Content

BuddyPress.org

Opened 17 years ago

Closed 16 years ago

#111 closed defect (bug) (fixed)

bp-blogs.php 'publish_post' action seriously incompatible with Donncha's Sitewide Tags Plugin

Reported by: phlux0r's profile phlux0r Owned by:
Milestone: Priority: blocker
Severity: Version:
Component: Keywords: publish_post, sitewide tags plugin
Cc:

Description

After a lot of troubleshooting I identified that the call in bp-blogs.php on line 308:

add_action( 'publish_post', 'bp_blogs_record_post' );

is causing Donncha's site wide tags plugin to enter an infinite loop whereby the tags blog repeats the post until the PHP script timeout is reached resulting in hundreds of duplicate posts. Commenting this line out resolves the problem however, I didn't identify the true cause of the looping.

Change History (1)

#1 @apeatling
16 years ago

  • Resolution set to fixed
  • Status changed from new to closed

I've added a check for "tags_blog_id" and if the current blog is the tags blog it will return from the function and stop the loop.

Can anyone using this plugin please confirm this fixes the problem?

Note: See TracTickets for help on using tickets.