Plugin Directory

Changeset 3165399


Ignore:
Timestamp:
10/09/2024 05:48:38 AM (18 months ago)
Author:
keylorcr
Message:

Fix for reported issues

Location:
wc-pickup-store
Files:
38 added
4 edited

Legend:

Unmodified
Added
Removed
  • wc-pickup-store/trunk/includes/admin/wps-admin.php

    r3156086 r3165399  
    4646 * Get Stores in admin customizer
    4747 *
    48  * @version 1.8.7
     48 * @version 1.8.8
    4949 * @since 1.x
    5050 *
     
    8181    if ( $store_posts ) {
    8282        foreach ( $store_posts as $store_id ) {
    83             $store_title = get_the_title( $store_id );
     83            $post = get_post( $store_id );
     84            $store_title = isset( $post->post_title ) ? $post->post_title : '';
    8485            if ( $array_keys ) {
    8586                $stores[] = array(
  • wc-pickup-store/trunk/includes/class-wps-init.php

    r3156086 r3165399  
    1313 * Declare Shipping Method
    1414 *
    15  * @version 1.8.7
     15 * @version 1.8.8
    1616 * @since 1.x
    1717 */
     
    288288        }
    289289        new WC_PICKUP_STORE();
     290       
     291        /**
     292         * Returns the main instance for WC_PICKUP_STORE class
     293         */
     294        function wps() {
     295            return new WC_PICKUP_STORE();
     296        }
    290297    }
    291298}
    292299add_action( 'init', 'wps_store_shipping_method_init' );
    293 
    294 /**
    295  * Returns the main instance for WC_PICKUP_STORE class
    296  */
    297 function wps() {
    298     return new WC_PICKUP_STORE();
    299 }
  • wc-pickup-store/trunk/readme.txt

    r3156086 r3165399  
    55Requires at least: 4.7
    66Tested up to: 6.6.2
    7 Stable tag: 1.8.7
     7Stable tag: 1.8.8
    88License: GPLv2
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    122122
    123123== Changelog ==
     124= 1.8.8 =
     125* Fix: Reported issue with title that was reseting to first store after selecting certain stores from dropdown on the Checkout in wps_store_get_store_admin
     126* Fix: Reported issue of undefined class WC_PICKUP_STORE resolved in wps_store_shipping_method_init
     127
    124128= 1.8.7 =
    125129* Improvement: Libraries for Bootstrap and Font Awesome are now not loading by default
     
    319323
    320324== Upgrade Notice ==
     325= 1.8.8 =
     326* Fix: Reported issues of store selector on the Checkout and class WC_PICKUP_STORE initialization error
     327
    321328= 1.8.5 =
    322329* New: Custom setting to override wps_store_select_first_option filter for dropdown first option text
  • wc-pickup-store/trunk/wc-pickup-store.php

    r3156086 r3165399  
    44 * Plugin URI: https://www.keylormendoza.com/plugins/wc-pickup-store/
    55 * Description: Allows you to set up a custom post type for stores available to use it as shipping method Local pickup in WooCommerce. It also allows your clients to choose an store on the Checkout page and also adds the store fields to the order details and email.
    6  * Version: 1.8.7
     6 * Version: 1.8.8
    77 * Requires at least: 4.7
    88 * Tested up to: 6.6.2
    99 * WC requires at least: 3.0
    10  * WC tested up to: 9.3.2
     10 * WC tested up to: 9.3.3
    1111 * Author: Keylor Mendoza A.
    1212 * Author URI: https://www.keylormendoza.com
     
    2222
    2323if ( !defined( 'WPS_PLUGIN_VERSION' ) ) {
    24     define( 'WPS_PLUGIN_VERSION', '1.8.7' );
     24    define( 'WPS_PLUGIN_VERSION', '1.8.8' );
    2525}
    2626
Note: See TracChangeset for help on using the changeset viewer.