Changeset 2587900
- Timestamp:
- 08/24/2021 03:31:55 PM (5 years ago)
- File:
-
- 1 edited
-
mondoplayer/trunk/mondoplayer.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mondoplayer/trunk/mondoplayer.php
r2587866 r2587900 5 5 Description: Video Content Curation Plugin - automatically curate and share videos. Boost engagement on your website and in social media with compelling video. 6 6 Author: MondoTag 7 Version: 1.0.31 77 Version: 1.0.319 8 8 Tested up to: 5.7.2 9 9 License: GPLv2 or later … … 235 235 return $where; 236 236 } 237 $category_id = get_query_var('cat', 0); 238 $mondoplayer_mastermind = get_term_meta($category_id, 'mondoplayer_mastermind', true); 239 error_log("posts_where: $category_id, " . $mondoplayer_mastermind['mastermind']); 240 if (isset($mondoplayer_mastermind['mastermind']) && $mondoplayer_mastermind['mastermind'] == 1) { 241 return $where; 242 } 237 243 238 244 if ( (! is_admin() && $query->is_main_query()) || (isset( $_REQUEST['action']) && $_REQUEST['action'] == "get_vlog") ) { … … 266 272 } else if (! is_admin() && $category_id > 0 && $wp_query->is_main_query()) { 267 273 $mondoplayer_mastermind = get_term_meta($category_id, 'mondoplayer_mastermind', true); 268 if (isset($mondoplayer_mastermind ) && $mondoplayer_mastermind== 1) {274 if (isset($mondoplayer_mastermind['mastermind']) && $mondoplayer_mastermind['mastermind'] == 1) { 269 275 return $orderby; 270 276 }
Note: See TracChangeset
for help on using the changeset viewer.