Plugin Directory

Changeset 1965588


Ignore:
Timestamp:
10/30/2018 06:29:56 AM (7 years ago)
Author:
wp-buddy
Message:

Fixed PHP warning: filemtime(): stat failed in line xyz

Location:
google-analytics-opt-out/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • google-analytics-opt-out/trunk/google-analytics-opt-out.php

    r1963310 r1965588  
    44Plugin URI: https://wp-buddy.com/products/plugins/google-analytics-opt-out
    55Description: Provides an Opt-Out functionality for Google Analytics
    6 Version: 2.2.2
     6Version: 2.2.3
    77Author: WP-Buddy
    88Author URI: https://wp-buddy.com
  • google-analytics-opt-out/trunk/inc/admin.php

    r1963304 r1965588  
    124124
    125125function gaoop_gutenberg_editor_assets() {
     126
     127    $block_file = plugin_dir_path( GAOOP_FILE ) . 'js/opt-out-block.js';
     128
    126129    wp_enqueue_script(
    127130        'gaoop-block',
    128131        plugin_dir_url( GAOOP_FILE ) . 'js/opt-out-block.js',
    129132        array( 'wp-blocks', 'wp-i18n', 'wp-element' ),
    130         filemtime( plugin_dir_path( GAOOP_FILE ) . 'js/opt-out-block.js' ),
     133        is_file( $block_file ) ? filemtime( $block_file ) : '',
    131134        true
    132135    );
  • google-analytics-opt-out/trunk/readme.txt

    r1963310 r1965588  
    33Donate link: https://wp-buddy.com/products/plugins/google-analytics-opt-out/
    44Tags: google analytics opt-out, monster insights, gdpr
    5 Version: 2.2.2
    6 Stable tag: 2.2.2
     5Version: 2.2.3
     6Stable tag: 2.2.3
    77Requires at least: 4.8.0
    88Requires PHP: 5.6.0
     
    4242
    4343== Changelog ==
     44
     45= 2.2.3 =
     46* Fixed PHP warning: filemtime(): stat failed in line xyz
    4447
    4548= 2.2.2 =
Note: See TracChangeset for help on using the changeset viewer.