Making WordPress.org

Changeset 11993


Ignore:
Timestamp:
07/22/2022 02:53:38 PM (4 years ago)
Author:
amieiro
Message:

Translate: Update the versions in the wp_register_* functions to avoid cache problems

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/gp-translation-helpers/includes/class-gp-translation-helpers.php

    r11992 r11993  
    6868                gp_enqueue_style( 'thickbox' );
    6969
    70                 wp_register_style( 'gp-discussion-css', plugins_url( '/../css/discussion.css', __FILE__ ), array(), '0.0.1' );
     70                wp_register_style( 'gp-discussion-css', plugins_url( '/../css/discussion.css', __FILE__ ), array(), '20220722' );
    7171                gp_enqueue_style( 'gp-discussion-css' );
    7272
    … …  
    190190                );
    191191
    192                 wp_register_style( 'gp-translation-helpers-css', plugins_url( 'css/translation-helpers.css', __DIR__ ), '', '0.0.1' ); // todo: add the version as global element.
     192                wp_register_style( 'gp-translation-helpers-css', plugins_url( 'css/translation-helpers.css', __DIR__ ), '', '20220722' ); // todo: add the version as global element.
    193193                gp_enqueue_style( 'gp-translation-helpers-css' );
    194194
    195                 wp_register_script( 'gp-translation-helpers', plugins_url( '/js/translation-helpers.js', __DIR__ ), array( 'gp-editor' ), '2017-02-09', true );
     195                wp_register_script( 'gp-translation-helpers', plugins_url( '/js/translation-helpers.js', __DIR__ ), array( 'gp-editor' ), '20220722', true );
    196196                gp_enqueue_scripts( array( 'gp-translation-helpers' ) );
    197197
    … …  
    364364                }
    365365
    366                 wp_register_script( 'gp-reject-feedback-js', plugins_url( '/../js/reject-feedback.js', __FILE__ ), array( 'jquery', 'gp-common', 'gp-editor', 'thickbox' ), '0.0.1' );
     366                wp_register_script( 'gp-reject-feedback-js', plugins_url( '/../js/reject-feedback.js', __FILE__ ), array( 'jquery', 'gp-common', 'gp-editor', 'thickbox' ), '20220722' );
    367367                gp_enqueue_script( 'gp-reject-feedback-js' );
    368368
Note: See TracChangeset for help on using the changeset viewer.