[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
Thu Nov 16 19:59:43 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:  Awaiting Review
Component:  General                |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:
-----------------------------------+------------------------------
Changes (by joemcgill):

 * keywords:  has-patch => has-patch 2nd-opinion


Comment:

 @jorgefilipecosta since you were involved in the original issue (#54336)
 where this function was added, I'm curious if you have any feedback or
 concerns about why the full settings object was chosen as the default in
 the first place?

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


More information about the wp-trac mailing list