WordPress.org

Plugin Directory

Changeset 859349


Ignore:
Timestamp:
02/17/14 11:01:32 (3 years ago)
Author:
Intermedi8
Message:
  • added some missing filters for product/item names (thanks to _Dobbydoo_ for the hint)
  • compatible up to WooCommerce 2.1.2
Location:
im8-qtranslate-woocommerce/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • im8-qtranslate-woocommerce/trunk/im8-qtranslate-woocommerce.php

    r856200 r859349  
    44 * Plugin URI: http://wordpress.org/plugins/im8-qtranslate-woocommerce/ 
    55 * Description: Front-end integration of qTranslate into WooCommerce. 
    6  * Version: 1.0 
     6 * Version: 1.1 
    77 * Author: intermedi8 
    88 * Author URI: http://intermedi8.de 
     
    3838     * @type    string 
    3939     */ 
    40     protected $version = '1.0'; 
     40    protected $version = '1.1'; 
    4141 
    4242 
     
    143143            add_action('admin_init', array($this, 'autoupdate')); 
    144144 
    145             if ( 
    146                 'plugins' === self::$page_base 
    147                 && version_compare($this->version, '1.0', '>') 
    148             ) 
     145            if ('plugins' === self::$page_base) 
    149146                add_action('in_plugin_update_message-'.basename(dirname(__FILE__)).'/'.basename(__FILE__), array($this, 'update_message'), 10, 2); 
    150147        } 
     
    265262                'woocommerce_gateway_description' => 10, 
    266263                'woocommerce_gateway_title' => 10, 
     264                'woocommerce_in_cart_product_title' => 10, 
    267265                'woocommerce_order_tax_totals' => 10, 
    268266                'woocommerce_page_title' => 10, 
     267                'woocommerce_order_product_title' => 10, 
    269268                'woocommerce_variation_option_name' => 10, 
    270269                'wp_get_object_terms' => 10, 
     270                // since WooCommerce 2.1 
     271                'woocommerce_cart_item_name' => 10, 
     272                'woocommerce_order_item_name' => 10, 
    271273            ); 
    272274            $filters = apply_filters('im8qtranslatewoocommerce_gettext_filters', $filters); 
     
    295297        if (function_exists('qtrans_getLanguage')) { 
    296298            $filters = array( 
    297                 // since WooCommerce 2.1.0 
     299                // since WooCommerce 2.1 
    298300                'woocommerce_get_endpoint_url' => 10, 
    299301            ); 
     
    304306            $filters = array( 
    305307                'woocommerce_params' => 10, 
    306                 // since WooCommerce 2.1.0 
     308                // since WooCommerce 2.1 
    307309                'wc_add_to_cart_params' => 10, 
    308310                'wc_cart_fragments_params' => 10, 
  • im8-qtranslate-woocommerce/trunk/readme.txt

    r856200 r859349  
    3939== Changelog == 
    4040 
     41= 1.1 = 
     42* added some missing filters for product/item names (thanks to _Dobbydoo_ for the hint) 
     43* compatible up to WooCommerce 2.1.2 
     44 
    4145= 1.0 = 
    4246* initial release 
Note: See TracChangeset for help on using the changeset viewer.