diff --git src/bp-blogs/bp-blogs-functions.php src/bp-blogs/bp-blogs-functions.php
index eb1e06b22..ec901916a 100644
|
|
|
add_action( 'update_option_site_icon', 'bp_blogs_update_option_site_icon', 10, 2
|
| 558 | 558 | function bp_blogs_delete_url_blogmeta( $site_id = 0 ) { |
| 559 | 559 | bp_blogs_delete_blogmeta( (int) $site_id, 'url' ); |
| 560 | 560 | } |
| 561 | | add_action( 'refresh_blog_details', 'bp_blogs_delete_url_blogmeta' ); |
| | 561 | |
| | 562 | if ( function_exists( 'wp_switch_roles_and_user' ) ) { |
| | 563 | add_action( 'clean_site_cache', 'bp_blogs_delete_url_blogmeta' ); |
| | 564 | } else { |
| | 565 | add_action( 'refresh_blog_details', 'bp_blogs_delete_url_blogmeta' ); |
| | 566 | } |
| 562 | 567 | |
| 563 | 568 | /** |
| 564 | 569 | * Record activity metadata about a published blog post. |