[wp-trac] [WordPress Trac] #62849: Rename the "setted_transient" action to "set_transient".
WordPress Trac
noreply at wordpress.org
Thu Jan 23 22:00:59 UTC 2025
#62849: Rename the "setted_transient" action to "set_transient".
--------------------------------+-----------------------------
Reporter: peterwilsoncc | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Options, Meta APIs | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------------+-----------------------------
To quote the Merriam-Webster dictionary's page for the [https://www
.merriam-webster.com/dictionary/setted definition for setted]:
> The word you've entered isn't in the dictionary.
The correct work in the context of the action is "set", so I propose
renaming the action to correct the misspelling.
This will also introduce consistency with the action name
`set_transient_{$transient}`.
The incorrectly spelt action is
[https://wpdirectory.net/search/01JJAJAAEHNJZHT5F8V4H5M35T used in some
popular plugins], the two highest installations with 200K+ active
installs, so that may be a blocker due to the amount of log entries it
will create. It will not be a back-compat break as it would be covered by
a `do_action_deprecated()` call.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62849>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list