Opened 2 years ago
Closed 2 years ago
#8756 closed defect (bug) (fixed)
Creating a new public site from Administration does not generate a `new_blog` activity
Reported by: | imath | Owned by: | imath |
---|---|---|---|
Milestone: | 11.0.0 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Blogs | Keywords: | has-patch has-unit-tests |
Cc: |
Description
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)
Note: See
TracTickets for help on using
tickets.
This makes sure adding a new "public" blog from the WP Admin will generate a
new_blog
activity.Trac ticket: https://buddypress.trac.wordpress.org/ticket/8756