[wp-trac] [WordPress Trac] #44171: Flushing the rewrite rules is "wrong" on the front-end

WordPress Trac noreply at wordpress.org
Mon May 21 13:43:55 UTC 2018


#44171: Flushing the rewrite rules is "wrong" on the front-end
-------------------------+---------------------
 Reporter:  azaozz       |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  5.0
Component:  General      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  dev-note     |     Focuses:
-------------------------+---------------------

Comment (by kraftbj):

 Another kicker: WP CLI does not pass `is_admin() == true`. Should we have
 a filter that is heavily documented that it should only be used by WP CLI
 or in similar contexts where allowing non-admin writes is understood and
 acceptable?

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


More information about the wp-trac mailing list