Changeset 1323966
- Timestamp:
- 01/08/2016 12:51:56 PM (10 years ago)
- Location:
- enhanced-category-pages/trunk
- Files:
-
- 3 edited
-
classes/ecp/Enhanced_Category.php (modified) (1 diff)
-
enhanced-category-pages.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
enhanced-category-pages/trunk/classes/ecp/Enhanced_Category.php
r1308969 r1323966 222 222 if (empty($cur_cat_id)) { 223 223 //get global category/term id 224 $query_var = get_query_var("taxonomy"); 225 226 if ( empty($query_var) ) { 227 $cur_cat_id = get_cat_id(single_cat_title("", false)); 228 } else { 229 $term = get_term_by('slug', get_query_var("term"), $query_var); 230 $cur_cat_id = $term->term_id; 224 $current_term = get_queried_object(); 225 226 if ($current_term) { 227 $cur_cat_id = $current_term->term_id; 231 228 } 232 229 } -
enhanced-category-pages/trunk/enhanced-category-pages.php
r1308969 r1323966 4 4 Description: Create custom enhanced pages for categories. Manage category page as a custom post. 5 5 Author: Ciprian Amariei, Diana Amitroaei 6 Version: 2.1. 26 Version: 2.1.3 7 7 Text Domain: enhanced-category-pages 8 8 Text Path: languages -
enhanced-category-pages/trunk/readme.txt
r1308969 r1323966 5 5 Requires at least: 3.0.1 6 6 Tested up to: 4.4 7 Stable tag: 2.1. 27 Stable tag: 2.1.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 165 165 * Add WordPress 4.4 compatibility 166 166 167 = 2.1.3 = 168 * Bug fix: correctly handle categories with apostrophes 169 167 170 == Upgrade Notice == 168 171 … … 193 196 = 2.1.2 = 194 197 * Add WordPress 4.4 compatibility 198 199 = 2.1.3 = 200 * Bug fix: correctly handle categories with apostrophes
Note: See TracChangeset
for help on using the changeset viewer.