Changeset 1328262
- Timestamp:
- 01/14/2016 11:19:02 AM (10 years ago)
- Location:
- enhanced-category-pages/trunk
- Files:
-
- 1 added
- 3 edited
-
classes/ecp/WP_GoodNeighbour.php (added)
-
classes/ecp/WP_Integration.php (modified) (4 diffs)
-
enhanced-category-pages.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
enhanced-category-pages/trunk/classes/ecp/WP_Integration.php
r1277266 r1328262 11 11 private $_plugin_file_path; 12 12 private $_table_name; 13 private $_goodNeighbour; 13 14 14 15 private function __construct($plugin_url, $plugin_directory_name, $plugin_file_path) { … … 17 18 $this->_plugin_file_path = $plugin_file_path; 18 19 $this->_table_name = "ecp_x_category"; 20 $this->_goodNeighbour = new WP_GoodNeighbour(); 19 21 } 20 22 … … 79 81 add_action("admin_init", array(&$this, 'admin_init'), 10000); 80 82 81 add_filter( 'category_description', array(&$this, 'category_description_filter') );82 add_filter( 'get_the_archive_description', array(&$this, 'category_description_filter') );83 add_filter( 'category_description', array(&$this, 'category_description_filter'), 1 ); 84 add_filter( 'get_the_archive_description', array(&$this, 'category_description_filter'), 10 ); 83 85 84 86 add_action("woocommerce_archive_description", array(&$this, 'on_woocommerce_archive_description'), 10000); … … 91 93 public function category_description_filter($description, $categoryId = null) { 92 94 $categoryId; 95 96 //play nice with All_in_One_SEO_Pack as we cannot use ob_start because of it 97 if ( $this->_goodNeighbour->isCallFrom_All_in_One_SEO_Pack() ) { 98 return $description; 99 } 93 100 94 101 ob_start(); -
enhanced-category-pages/trunk/enhanced-category-pages.php
r1323966 r1328262 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.36 Version: 2.2.0 7 7 Text Domain: enhanced-category-pages 8 8 Text Path: languages -
enhanced-category-pages/trunk/readme.txt
r1323966 r1328262 5 5 Requires at least: 3.0.1 6 6 Tested up to: 4.4 7 Stable tag: 2. 1.37 Stable tag: 2.2.0 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 168 168 * Bug fix: correctly handle categories with apostrophes 169 169 170 = 2.2.0 = 171 * All in One SEO Pack plugin compatibility added 172 170 173 == Upgrade Notice == 171 174 … … 199 202 = 2.1.3 = 200 203 * Bug fix: correctly handle categories with apostrophes 204 205 = 2.2.0 = 206 * All in One SEO Pack plugin compatibility added
Note: See TracChangeset
for help on using the changeset viewer.