[wp-trac] [WordPress Trac] #61565: Rename wp_maintenance to maybe_show_wp_maintenance

WordPress Trac noreply at wordpress.org
Thu Aug 15 21:51:51 UTC 2024


#61565: Rename wp_maintenance to maybe_show_wp_maintenance
--------------------------------------------+------------------------------
 Reporter:  ramon fincken                   |       Owner:  (none)
     Type:  enhancement                     |      Status:  new
 Priority:  normal                          |   Milestone:  Awaiting Review
Component:  Bootstrap/Load                  |     Version:  6.6
 Severity:  normal                          |  Resolution:
 Keywords:  has-unit-tests has-patch close  |     Focuses:
--------------------------------------------+------------------------------
Changes (by jorbin):

 * keywords:  has-unit-tests has-patch => has-unit-tests has-patch close


Comment:

 Unfortunately we can't rename functions since doing so will break any site
 that is using that function and for a function that has been around since
 3.0.0, this risk doesn't seem valuable. The alternative which is to have
 an alias function just adds bloat. Therefore I am going to recommend that
 we close this as `wontfix`.

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


More information about the wp-trac mailing list