[wp-trac] [WordPress Trac] #27276: wp_rewrite_rule does not update option when it's empty

WordPress Trac noreply at wordpress.org
Wed Mar 5 09:44:02 UTC 2014


#27276: wp_rewrite_rule does not update option when it's empty
---------------------------+------------------------------
 Reporter:  mainpart       |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Rewrite Rules  |     Version:  3.7
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+------------------------------

Comment (by SergeyBiryukov):

 `delete_option()` specifically clears the deleted value from cache:
 [source:tags/3.8.1/src/wp-includes/option.php#L370]. Looks like it failed
 here. Might be related to #25773.

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


More information about the wp-trac mailing list