Plugin Directory

Changeset 3270932


Ignore:
Timestamp:
04/11/2025 09:36:10 AM (8 months ago)
Author:
ahortin
Message:

Released v1.2.0

Location:
woocommerce-breadcrumbs
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • woocommerce-breadcrumbs/tags/1.2.0/readme.txt

    r3184163 r3270932  
    44Tags: ecommerce, e-commerce, commerce, woocommerce, breadcrumbs
    55Requires at least: 4.6
    6 Tested up to: 6.7
    7 Stable tag: 1.1.0
     6Tested up to: 6.8
     7Stable tag: 1.2.0
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6666== Changelog ==
    6767
     68= 1.2.0 =
     69- Fixed issue with text domain loading notice
     70- Updated WC Tested tags
     71
    6872= 1.1.0 =
    6973- Declare compatibility with WooCommerce HPOS
  • woocommerce-breadcrumbs/tags/1.2.0/woocommerce-breadcrumbs.php

    r3184163 r3270932  
    44Plugin URI: http://maddisondesigns.com/woocommerce-breadcrumbs
    55Description: A simple plugin to style the WooCommerce Breadcrumbs or disable them altogether
    6 Version: 1.1.0
     6Version: 1.2.0
    77WC requires at least: 2.6
    8 WC tested up to: 9.3
     8WC tested up to: 9.8
    99Author: Anthony Hortin
    1010Author URI: http://maddisondesigns.com
     
    2222
    2323    public function __construct() {
    24 
     24        add_action( 'init', array( $this, 'wcb_setup_defaults' ) );
     25        add_action( 'admin_menu', array( $this, 'wcb_create_menu_option' ) );
     26        add_action( 'admin_init', array( $this, 'wcb_admin_init' ) );
     27        add_action( 'init', array( $this, 'wcb_init' ) );
     28        add_filter( 'plugin_action_links', array( $this, 'wcb_add_settings_link'), 10, 2);
     29        add_action( 'head', 'woocommerce_breadcrumb', 20, 0);
     30    }
     31
     32    /**
     33     * Setup breadcrumb defaults on init hook to ensure translation functions aren't called too early
     34     */
     35    public function wcb_setup_defaults() {
    2536        $this->breadcrumb_defaults = array(
    2637            'wcb_enable_breadcrumbs' => '1',
     
    3344            'wcb_home_url' => esc_url( home_url( '/' ) )
    3445            );
    35 
    36         add_action( 'admin_menu', array( $this, 'wcb_create_menu_option' ) );
    37         add_action( 'admin_init', array( $this, 'wcb_admin_init' ) );
    38         add_action( 'init', array( $this, 'wcb_init' ) );
    39         add_filter( 'plugin_action_links', array( $this, 'wcb_add_settings_link'), 10, 2);
    40         add_action( 'head', 'woocommerce_breadcrumb', 20, 0);
    41 
    4246    }
    4347
  • woocommerce-breadcrumbs/trunk/readme.txt

    r3184163 r3270932  
    44Tags: ecommerce, e-commerce, commerce, woocommerce, breadcrumbs
    55Requires at least: 4.6
    6 Tested up to: 6.7
    7 Stable tag: 1.1.0
     6Tested up to: 6.8
     7Stable tag: 1.2.0
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6666== Changelog ==
    6767
     68= 1.2.0 =
     69- Fixed issue with text domain loading notice
     70- Updated WC Tested tags
     71
    6872= 1.1.0 =
    6973- Declare compatibility with WooCommerce HPOS
  • woocommerce-breadcrumbs/trunk/woocommerce-breadcrumbs.php

    r3184163 r3270932  
    44Plugin URI: http://maddisondesigns.com/woocommerce-breadcrumbs
    55Description: A simple plugin to style the WooCommerce Breadcrumbs or disable them altogether
    6 Version: 1.1.0
     6Version: 1.2.0
    77WC requires at least: 2.6
    8 WC tested up to: 9.3
     8WC tested up to: 9.8
    99Author: Anthony Hortin
    1010Author URI: http://maddisondesigns.com
     
    2222
    2323    public function __construct() {
    24 
     24        add_action( 'init', array( $this, 'wcb_setup_defaults' ) );
     25        add_action( 'admin_menu', array( $this, 'wcb_create_menu_option' ) );
     26        add_action( 'admin_init', array( $this, 'wcb_admin_init' ) );
     27        add_action( 'init', array( $this, 'wcb_init' ) );
     28        add_filter( 'plugin_action_links', array( $this, 'wcb_add_settings_link'), 10, 2);
     29        add_action( 'head', 'woocommerce_breadcrumb', 20, 0);
     30    }
     31
     32    /**
     33     * Setup breadcrumb defaults on init hook to ensure translation functions aren't called too early
     34     */
     35    public function wcb_setup_defaults() {
    2536        $this->breadcrumb_defaults = array(
    2637            'wcb_enable_breadcrumbs' => '1',
     
    3344            'wcb_home_url' => esc_url( home_url( '/' ) )
    3445            );
    35 
    36         add_action( 'admin_menu', array( $this, 'wcb_create_menu_option' ) );
    37         add_action( 'admin_init', array( $this, 'wcb_admin_init' ) );
    38         add_action( 'init', array( $this, 'wcb_init' ) );
    39         add_filter( 'plugin_action_links', array( $this, 'wcb_add_settings_link'), 10, 2);
    40         add_action( 'head', 'woocommerce_breadcrumb', 20, 0);
    41 
    4246    }
    4347
Note: See TracChangeset for help on using the changeset viewer.