Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #23165, comment 15


Ignore:
Timestamp:
12/19/2019 07:41:47 PM (4 years ago)
Author:
aduth
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23165, comment 15

    initial v1  
    1414As mentioned in the original comment, the original application of an ID to this element is unfortunate, and now that it exists, there would be backwards-compatibility concerns in removing it. However, we might still be able to work within this constraint by generating unique IDs for all but the first use of nonce name.
    1515
    16 The above patch takes this approach.
     16The above patch attachment:23165-incrementing-id.diff takes this approach.
    1717
    1818Considering default use of the function in using a `$name` value of `'_wpnonce'`, this guarantees: