[wp-trac] [WordPress Trac] #47087: flush_rewrite_rules() should check $wp_rewrite->flush_rules() is callable before calling it

WordPress Trac noreply at wordpress.org
Sun Jul 28 17:51:44 UTC 2019


#47087: flush_rewrite_rules() should check $wp_rewrite->flush_rules() is callable
before calling it
--------------------------------------+-----------------------------
 Reporter:  markjaquith               |       Owner:  SergeyBiryukov
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  5.3
Component:  Rewrite Rules             |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  good-first-bug has-patch  |     Focuses:
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"45699" 45699]:
 {{{
 #!CommitTicketReference repository="" revision="45699"
 Rewrite Rules: Check if `$wp_rewrite->flush_rules()` is callable before
 calling it in `flush_rewrite_rules()`.

 Props bsetiawan88, markjaquith.
 Fixes #47087.
 }}}

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


More information about the wp-trac mailing list