[wp-trac] [WordPress Trac] #58181: wp_create_nonce() should not pass $action to wp_get_session_token()
WordPress Trac
noreply at wordpress.org
Tue Apr 25 14:55:43 UTC 2023
#58181: wp_create_nonce() should not pass $action to wp_get_session_token()
--------------------------------------+-----------------------------
Reporter: dd32 | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.3
Component: General | Version:
Severity: trivial | Resolution: fixed
Keywords: good-first-bug has-patch | Focuses:
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* owner: (none) => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"55685" 55685]:
{{{
#!CommitTicketReference repository="" revision="55685"
General: Don't pass `$action` to `wp_get_session_token()` in
`wp_create_nonce()`.
The parameter appears to have been passed by accident, as the function
does not accept any parameters.
Follow-up to [54218].
Props malavvasita, hztyfoon, dd32.
Fixes #58181.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58181#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list