[wp-trac] [WordPress Trac] #34392: calling update_option("siteurl", $newval) can overwrite it with an instance of WP_Error.

WordPress Trac noreply at wordpress.org
Fri Nov 6 21:04:33 UTC 2015


#34392: calling update_option("siteurl", $newval) can overwrite it with an instance
of WP_Error.
--------------------------+------------------------------
 Reporter:  pbogdan       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  4.3.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------
Changes (by MikeHansenMe):

 * keywords:  has-patch =>


Comment:

 Actually that won't work either because the $value still gets assigned the
 error and gets set in the option.

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


More information about the wp-trac mailing list