Plugin Directory

Changeset 1328262


Ignore:
Timestamp:
01/14/2016 11:19:02 AM (10 years ago)
Author:
cip
Message:

2.2.0 compatibility with All in One SEO Pack

Location:
enhanced-category-pages/trunk
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • enhanced-category-pages/trunk/classes/ecp/WP_Integration.php

    r1277266 r1328262  
    1111    private $_plugin_file_path;
    1212    private $_table_name;
     13    private $_goodNeighbour;
    1314
    1415    private function __construct($plugin_url, $plugin_directory_name, $plugin_file_path) {
     
    1718        $this->_plugin_file_path = $plugin_file_path;
    1819        $this->_table_name = "ecp_x_category";
     20        $this->_goodNeighbour = new WP_GoodNeighbour();
    1921    }
    2022
     
    7981        add_action("admin_init", array(&$this, 'admin_init'), 10000);
    8082
    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 );
    8385
    8486        add_action("woocommerce_archive_description", array(&$this, 'on_woocommerce_archive_description'), 10000);
     
    9193    public function category_description_filter($description, $categoryId = null) {
    9294        $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        }
    93100
    94101        ob_start();
  • enhanced-category-pages/trunk/enhanced-category-pages.php

    r1323966 r1328262  
    44Description: Create custom enhanced pages for categories. Manage category page as a custom post.
    55Author: Ciprian Amariei, Diana Amitroaei
    6 Version: 2.1.3
     6Version: 2.2.0
    77Text Domain: enhanced-category-pages
    88Text Path: languages
  • enhanced-category-pages/trunk/readme.txt

    r1323966 r1328262  
    55Requires at least: 3.0.1
    66Tested up to: 4.4
    7 Stable tag: 2.1.3
     7Stable tag: 2.2.0
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    168168* Bug fix: correctly handle categories with apostrophes
    169169
     170= 2.2.0 =
     171* All in One SEO Pack plugin compatibility added
     172
    170173== Upgrade Notice ==
    171174
     
    199202= 2.1.3 =
    200203* 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.