[wp-trac] [WordPress Trac] #50181: Second params of get_option() not used

WordPress Trac noreply at wordpress.org
Fri May 15 16:00:26 UTC 2020


#50181: Second params of get_option() not used
--------------------------------+------------------------------
 Reporter:  sebastienserre      |       Owner:  (none)
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Options, Meta APIs  |     Version:  5.4.1
 Severity:  normal              |  Resolution:
 Keywords:                      |     Focuses:
--------------------------------+------------------------------

Comment (by joyously):

 That line of code is only encountered when there is a value in the option,
 and when there is, the default (second parameter) is not relevant.

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


More information about the wp-trac mailing list