[wp-trac] [WordPress Trac] #59918: Allow wp_get_global_settings to return null if the value is not found.

WordPress Trac noreply at wordpress.org
Mon Nov 27 20:30:54 UTC 2023


#59918: Allow wp_get_global_settings to return null if the value is not found.
-------------------------------------------------+-------------------------
 Reporter:  joemcgill                            |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  General                              |     Version:  5.9
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch 2nd-opinion needs-unit-    |     Focuses:
  tests                                          |
-------------------------------------------------+-------------------------
Changes (by jorbin):

 * keywords:  has-patch 2nd-opinion => has-patch 2nd-opinion needs-unit-
               tests
 * version:   => 5.9
 * milestone:  Awaiting Review => Future Release


Comment:

 `wp_get_global_settings` was introduced in 5.9, so setting the version.

 At first glance, I think this could make sense for 6.5, but I'll defer to
 after the 2nd opinion that was requested.

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


More information about the wp-trac mailing list