[wp-trac] [WordPress Trac] #51723: App Passwords: Regenerate .htaccess for 5.6

WordPress Trac noreply at wordpress.org
Fri Nov 6 21:50:04 UTC 2020


#51723: App Passwords: Regenerate .htaccess for 5.6
------------------------------------+-----------------------
 Reporter:  TimothyBlynJacobs       |       Owner:  (none)
     Type:  task (blessed)          |      Status:  new
 Priority:  normal                  |   Milestone:  5.6
Component:  Login and Registration  |     Version:  trunk
 Severity:  normal                  |  Resolution:
 Keywords:  needs-patch             |     Focuses:  rest-api
------------------------------------+-----------------------

Comment (by SergeyBiryukov):

 Just bumping `$wp_db_version` to the current commit number is enough to
 trigger the `flush_rewrite_rules()` call in [source:tags/5.5.3/src/wp-
 admin/admin.php?marks=40#L38 wp-admin/admin.php].

 That's how it was done in [47018] to add the new favicon rewrite rules, no
 upgrade routine needed :)

 `flush_rewrite_rules()` does a "hard" flush by default, which includes
 updating the `.htaccess` file.

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


More information about the wp-trac mailing list