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

WordPress Trac noreply at wordpress.org
Fri Nov 6 20:58:37 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                  |   Keywords:  needs-patch
  Focuses:  rest-api                |
------------------------------------+-------------------------
 Application passwords introduced a new rule to `.htaccess` to handle the
 authorization header: https://github.com/WordPress/wordpress-
 develop/blob/5bad4e7f8d6cf67fbcea1e7c763cc41bceaa810b/src/wp-includes
 /class-wp-rewrite.php#L1512

 We should make sure that on upgrade, the `.htaccess` file is regenerated.

 I presume this would be done by adding an `upgrade_560()` function, but
 I'm not sure how the db version conditionals are chosen.

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


More information about the wp-trac mailing list