WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 2 years ago

Last modified 2 years ago

#23155 closed defect (bug) (fixed)

Fire update_blog_public action from update_blog_status() — at Version 5

Reported by: ryan Owned by: ryan
Milestone: 3.6 Priority: normal
Severity: normal Version: 3.5
Component: Administration Keywords:
Focuses: Cc:

Description (last modified by SergeyBiryukov)

The update_blog_public action is fired from update_blog_public() but not from update_blog_status(). Since update_blog_public() calls update_blog_status() the action should move down the stack and reside along the other actions fired by update_blog_status().

Change History (6)

@ryan3 years ago

comment:1 @ryan3 years ago

I threw in some changes to noindex() that we run on wordpress.com. It repairs mismatches between the blog option and the site/network option. There's possibly a better place for this.

comment:2 @ryan2 years ago

  • Milestone changed from Awaiting Review to 3.6

comment:3 @ryan2 years ago

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

In 23794:

Fire the update_blog_public action from update_blog_status() instead of update_blog_public(). Pass blog ID and value to the action.

Add code to noindex() to sync the 'public' value in the site options table with the blog_public value in the options table.

fixes #23155

comment:5 @SergeyBiryukov2 years ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.