[wp-trac] [WordPress Trac] #51723: App Passwords: Regenerate .htaccess for 5.6
WordPress Trac
noreply at wordpress.org
Sat Nov 14 21:11:02 UTC 2020
#51723: App Passwords: Regenerate .htaccess for 5.6
------------------------------------+--------------------------------
Reporter: TimothyBlynJacobs | Owner: TimothyBlynJacobs
Type: task (blessed) | Status: reopened
Priority: normal | Milestone: 5.6
Component: Login and Registration | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses: rest-api
------------------------------------+--------------------------------
Comment (by pbiron):
[attachment:"51723.2.diff"] is what I was working on a solution: it simply
does a `require_once` on the file where `save_mod_rewrite_rules()` is
defined before calling `flush_rewrite_rules()`.
This also works as expected in my testing, and is simpler :-) I can't see
any downsides to it either, but maybe I'm missing something.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51723#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list