Plugin Directory

Changeset 2347189


Ignore:
Timestamp:
07/27/2020 01:25:07 PM (6 years ago)
Author:
returnedx
Message:

tiny fix

Location:
orderbee/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orderbee/trunk/README.txt

    r2347170 r2347189  
    44Requires at least: 4.0.1
    55Tested up to: 5.4.2
    6 Stable tag: 1.2.3
     6Stable tag: 1.2.4
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3838== Changelog ==
    3939
     40= 1.2.4 =
     41* Bug fixing : extra security for previous bug
     42 
    4043= 1.2.3 =
    4144* Bug fixing : updating products affected placing orders
    42 
    4345
    4446= 1.2.2 =
  • orderbee/trunk/orderbee.php

    r2347170 r2347189  
    1717 * Plugin URI:        https://www.orderbee.be
    1818 * Description:       This plugin makes a fast and safe connection between your Woocommerce and OrderBee.
    19  * Version:           1.2.3
     19 * Version:           1.2.4
    2020 * Author:            OrderBee
    2121 * Author URI:        https://www.orderbee.be
     
    3535 * Rename this for your plugin and update it as you release new versions.
    3636 */
    37 define('ORDERBEE_VERSION', '1.2.3');
     37define('ORDERBEE_VERSION', '1.2.4');
    3838
    3939/**
     
    266266 * @since    1.2.0
    267267 */
    268 
    269268if (!function_exists('obfrwc_push_product_to_server')) {
    270269    function obfrwc_push_product_to_server( $product_id ) {
    271270       
    272         if ( !is_front_page() ) {   
     271        if ( !is_front_page() && get_post_type(get_the_ID()) === 'product') {   
    273272            $product_info = new WC_Product($product_id);
    274273            if($product_info->status === 'publish'){
Note: See TracChangeset for help on using the changeset viewer.