Skip to:

#8756 closed defect (bug) (fixed)

Creating a new public site from Administration does not generate a `new_blog` activity

Reported by: imath's profile imath Owned by: imath's profile imath
Milestone: 11.0.0 Priority: normal
Severity: normal Version:
Component: Blogs Keywords: has-patch has-unit-tests


At first, as it's due to the fact the $_POST['blog_public'] is not set when submitting the new site form from the /wp-admin/network/site-new.php screen. I've opened this ticket on WordPress trac. In fact, checking for $_POST['blog_public'] is a wrong approach, we should check for the blog_public blog option instead to be sure creating a new public site will generate an activity no matter where you submitted the form (on front-end or in WP Admin).

Change History (2)

This ticket was mentioned in PR #28 on buddypress/buddypress by @imath.

19 months ago

  • Keywords has-patch has-unit-tests added

This makes sure adding a new "public" blog from the WP Admin will generate a new_blog activity.

Trac ticket:

#2 @imath
19 months ago

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

In 13343:

Make sure an activity is created when adding a site from network admin

When the Blogs component is active, creating a new public site from
front-end and now from the WordPress network administration is generating
a new_blog activity type.

Fixes #8756

Note: See TracTickets for help on using tickets.