Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 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)

5 years ago

#1 @ryan
5 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.

#2 @ryan
5 years ago

  • Milestone changed from Awaiting Review to 3.6

#3 @ryan
5 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

#5 @SergeyBiryukov
5 years ago

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