Plugin Directory

Changeset 2956263


Ignore:
Timestamp:
08/21/2023 01:33:53 PM (3 years ago)
Author:
wptaskforce
Message:

PHP Notice: Trying to get property 'post_content'

Location:
wpcargo/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wpcargo/trunk/classes/class-wpc-scripts.php

    r2954083 r2956263  
    5353        wp_enqueue_script( 'wpcargo-datetimepicker' );
    5454
    55         if ( has_shortcode( $post->post_content, 'wpcargo_multi_track' ) ) {
     55        if ( $shortcode_found ) {
    5656
    5757            wp_register_script( 'wpcargo-util-index', WPCARGO_PLUGIN_URL . 'assets/js/dist/util/index.js', array( 'jquery' ), WPCARGO_VERSION, false );
  • wpcargo/trunk/readme.txt

    r2955424 r2956263  
    130130
    131131== Changelog ==
     132= 6.12.4 
     133- Fix PHP Notice:  Trying to get property 'post_content'
     134
    132135= 6.12.3 
    133136- Add hopok for extra email  notification
  • wpcargo/trunk/wpcargo.php

    r2955424 r2956263  
    77 * Text Domain: wpcargo
    88 * Domain Path: /languages
    9  * Version: 6.12.3
     9 * Version: 6.12.4
    1010 */
    1111/*
     
    3333//* Defined constant
    3434define( 'WPCARGO_TEXTDOMAIN', 'wpcargo' );
    35 define( 'WPCARGO_VERSION', '6.12.3' );
     35define( 'WPCARGO_VERSION', '6.12.4' );
    3636define( 'WPCARGO_DB_VERSION', '1.0.0' );
    3737define( 'WPCARGO_FILE_DIR', __FILE__  );
Note: See TracChangeset for help on using the changeset viewer.