Changeset 13128 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/widgets/class-committers.php
- Timestamp:
- 01/19/2024 04:52:27 AM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/widgets/class-committers.php
r11805 r13128 36 36 37 37 if ( current_user_can( 'plugin_add_committer', $post ) || current_user_can( 'plugin_remove_committer', $post ) ) { 38 wp_enqueue_script( 'wporg-plugins-committers', plugins_url( 'js/committers.js', __FILE__ ), array( 'wp-util' ), true);38 wp_enqueue_script( 'wporg-plugins-committers', plugins_url( 'js/committers.js', __FILE__ ), array( 'wp-util' ), filemtime( __DIR__ . '/js/committers.js' ) ); 39 39 wp_localize_script( 'wporg-plugins-committers', 'committersWidget', array( 40 40 'restUrl' => get_rest_url(), 41 41 'restNonce' => wp_create_nonce( 'wp_rest' ), 42 42 'pluginSlug' => $post->post_name, 43 'removeCommitterAYS' => __( 'Are you sure you want to remove thiscommitter?', 'wporg-plugins' ),43 'removeCommitterAYS' => __( 'Are you sure you want to remove %s as a committer?', 'wporg-plugins' ), 44 44 ) ); 45 45 }
Note: See TracChangeset
for help on using the changeset viewer.