Changeset 5716 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/widgets/class-committers.php
- Timestamp:
- 07/26/2017 12:45:49 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/widgets/class-committers.php
r5259 r5716 37 37 wp_enqueue_script( 'wporg-plugins-committers', plugins_url( 'js/committers.js', __FILE__ ), array( 'wp-util' ), true ); 38 38 wp_localize_script( 'wporg-plugins-committers', 'committersWidget', array( 39 'restUrl' => get_rest_url(), 40 'restNonce' => wp_create_nonce( 'wp_rest' ), 41 'pluginSlug' => $post->post_name, 39 'restUrl' => get_rest_url(), 40 'restNonce' => wp_create_nonce( 'wp_rest' ), 41 'pluginSlug' => $post->post_name, 42 'removeCommitterAYS' => __( 'Are you sure you want to remove this committer?', 'wporg-plugins' ), 42 43 ) ); 43 44 }
Note: See TracChangeset
for help on using the changeset viewer.