mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-05 10:25:45 +03:00
Endpoints: Update handler to "manage contributors"
This commit is contained in:
parent
4594c44597
commit
171c70e03e
3 changed files with 9 additions and 8 deletions
|
@ -484,7 +484,7 @@ function enqueue_assets() {
|
|||
|
||||
$script_data = [
|
||||
'pledgeId' => get_the_ID(),
|
||||
'manageNonce' => wp_create_nonce( 'manage-pledge' ),
|
||||
'manageNonce' => wp_create_nonce( 'manage-contributors' ),
|
||||
];
|
||||
wp_add_inline_script(
|
||||
'5ftf-admin',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue