[wp-trac] [WordPress Trac] #62849: Rename the "setted_transient" action to "set_transient".

WordPress Trac noreply at wordpress.org
Thu Jan 30 00:00:34 UTC 2025


#62849: Rename the "setted_transient" action to "set_transient".
--------------------------------------+---------------------------
 Reporter:  peterwilsoncc             |       Owner:  sukhendu2002
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  6.8
Component:  Options, Meta APIs        |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  good-first-bug has-patch  |     Focuses:
--------------------------------------+---------------------------
Changes (by peterwilsoncc):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"59735" 59735]:
 {{{
 #!CommitTicketReference repository="" revision="59735"
 Options/Meta APIs: Rename `setted_(site_)_transient` to `set_...`.

 Deprecate the actions `setted_transient` and `setted_site_transient` in
 favour of `set_transient` and `set_site_transient` respectively.

 This serves two purposes, the name is consistent with the transient
 specific actions `set_(site_)_transient_{$transient}`, and to make the
 names grammatically correct.

 Props sukhendu2002, swissspidy, johnbillion, peterwilsoncc.
 Fixes #62849.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62849#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list