Skip to:

Opened 9 years ago

Closed 9 years ago

#6365 closed defect (bug) (fixed)

Blogs: 'url' blogmeta should be deleted when editing a site via "Network Admin > Sites"

Reported by: r-a-y's profile r-a-y Owned by: r-a-y's profile r-a-y
Milestone: 2.3 Priority: normal
Severity: normal Version: 2.0
Component: Blogs Keywords: has-patch commit


When editing a site's domain under "Network Admin > Sites", BP's 'url' blogmeta should be purged to reflect the new domain.

This is so blog posts from this domain uses the new domain for the activity action link.

Attached patch uses a function that I've marked as private.

Attachments (2)

6365.01.patch (864 bytes) - added by r-a-y 9 years ago.
6365.02.patch (852 bytes) - added by r-a-y 9 years ago.

Download all attachments as: .zip

Change History (7)

9 years ago

#1 @boonebgorges
9 years ago

Good catch, but can't we do better than 'load-site-info.php'? How about the 'refresh_blog_details' hook?

#2 @boonebgorges
9 years ago

(if we use a proper hook, then we don't need to make this "private")

9 years ago

#3 @r-a-y
9 years ago

How about the 'refresh_blog_details' hook?

Don't know how I missed that!

#4 @boonebgorges
9 years ago

  • Keywords commit added

#5 @r-a-y
9 years ago

  • Owner set to r-a-y
  • Resolution set to fixed
  • Status changed from new to closed

In 9839:

Blogs: Delete blogmeta cache when editing a site on the "Network Admin > Sites" page.

Fixes an issue with the blog domain / path not being updated to reflect the
new domain / path for activity action links related to the updated site.

Fixes #6365.

Note: See TracTickets for help on using tickets.