[wp-trac] [WordPress Trac] #46850: Two parameters passed to delete_option in wp-includes/post.php. Should only pass one.

WordPress Trac noreply at wordpress.org
Mon Aug 5 07:44:01 UTC 2019


#46850: Two parameters passed to delete_option in wp-includes/post.php. Should only
pass one.
-------------------------------+-----------------------------
 Reporter:  diddledan          |       Owner:  SergeyBiryukov
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:  5.3
Component:  Posts, Post Types  |     Version:
 Severity:  normal             |  Resolution:  fixed
 Keywords:  has-patch          |     Focuses:
-------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"45746" 45746]:
 {{{
 #!CommitTicketReference repository="" revision="45746"
 Posts, Post Types: Update, not delete the `page_for_posts` option in
 `_reset_front_page_settings_for_post()` when a linked page is deleted or
 trashed.

 Props diddledan.
 Fixes #46850.
 }}}

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


More information about the wp-trac mailing list