[buddypress-trac] [BuddyPress Trac] #6448: Unconditional set of $wp_rewrite->use_verbose_page_rules = false breaks flush_rewrite_rules()

buddypress-trac noreply at wordpress.org
Sun Sep 4 19:59:14 UTC 2016


#6448: Unconditional set of $wp_rewrite->use_verbose_page_rules = false breaks
flush_rewrite_rules()
--------------------------+-----------------------------
 Reporter:  chherbst      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Core          |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+-----------------------------

Comment (by chherbst):

 We solved the issue with the following workaround:
 {{{#!php
 add_action('delete_option_rewrite_rules', function($option){
    global $wp_rewrite;
    $wp_rewrite->use_verbose_page_rules = true;
 }, 10);
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6448#comment:8>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list