[wp-trac] [WordPress Trac] #44171: Flushing the rewrite rules is "wrong" on the front-end
WordPress Trac
noreply at wordpress.org
Mon May 21 17:43:06 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 iandunn):
Replying to [comment:2 desrosj ]:
> We could also state in that post that it will be included in 5.0, and we
could post that any time.
I'm wondering if it'd be best to post that as soon as possible (after this
is committed), to give devs plenty of lead time? Many will already have a
lot of work to do around Gutenberg, so spreading it out as much as
possible will help minimize the pain.
If it is published soon, though, it'd be good to include a reminder in a
5.0 dev note round-up.
[[br]][[br]]
Replying to [comment:4 kraftbj]:
> Should we have a filter that is heavily documented that it should only
be used by WP CLI or in similar contexts [...]?
Would it be better to just change the condition to `if ( ! is_admin() &&
'cli' !== php_sapi_name() ) {` ?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44171#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list