Opened 12 years ago
Closed 12 years ago
#22423 closed enhancement (fixed)
Argument parameter for wp_nonce_url
Reported by: | MatthewRuddy | Owned by: | nacin |
---|---|---|---|
Milestone: | 3.6 | Priority: | normal |
Severity: | trivial | Version: | 3.4.2 |
Component: | Security | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
The wp_nonce_url function in includes/functions.php doesn't allow the user to set the nonce argument name, unlike wp_nonce_field. Slight inconvenience when trying to attach different nonces to different URLs. Don't see the harm in adding an optional parameter for the argument name to the wp_nonce_url function. Modified functions.php file attached.
Attachments (3)
Change History (12)
#1
@
12 years ago
- Keywords needs-patch added; has-patch removed
Could you provide an actual patch, rather than the entire file?
Take a look at http://make.wordpress.org/core/handbook/submitting-a-patch/.
#3
@
12 years ago
- Cc juliobosk@… added
Hello, i was wondering why we can not change this, and this trac exists.
So, can we add this in 3.6 now ? The patch seems correct for me.
Thank you
Note: See
TracTickets for help on using
tickets.
Said modification to wp-includes/functions.php file