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

WordPress Trac noreply at wordpress.org
Mon May 18 10:08:43 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:  2nd-opinion dev-feedback  |     Focuses:
--------------------------------------+------------------------------
Changes (by sebastienserre):

 * keywords:   => 2nd-opinion dev-feedback


Comment:

 I think, but advice from more experienced developers than me is more than
 welcome, the second params should be relevant if the maybe_unserialize
 can't unserialize and return false.

 I also understand that an option can also be "false" so not an easy way...
 but surely something to do.

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


More information about the wp-trac mailing list