Changeset 9698 for trunk/src/bp-blogs/bp-blogs-filters.php
- Timestamp:
- 04/05/2015 06:18:13 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-blogs/bp-blogs-filters.php
r9472 r9698 87 87 * That plugin changed the way its settings were stored at some point. Thus the dual check. 88 88 */ 89 if ( ! empty( $bp->site_options['sitewide_tags_blog'] ) ) { 90 $st_options = maybe_unserialize( $bp->site_options['sitewide_tags_blog'] ); 89 $sitewide_tags_blog_settings = bp_core_get_root_option( 'sitewide_tags_blog' ); 90 if ( ! empty( $sitewide_tags_blog_settings ) ) { 91 $st_options = maybe_unserialize( $sitewide_tags_blog_settings ); 91 92 $tags_blog_id = isset( $st_options['tags_blog_id'] ) ? $st_options['tags_blog_id'] : 0; 92 93 } else { 93 $tags_blog_id = isset( $bp->site_options['tags_blog_id'] ) ? $bp->site_options['tags_blog_id'] : 0; 94 $tags_blog_id = bp_core_get_root_option( 'sitewide_tags_blog' ); 95 $tags_blog_id = intval( $tags_blog_id ); 94 96 } 95 97
Note: See TracChangeset
for help on using the changeset viewer.