mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
App Passwords: Include authorization rewrite rule in default multisite .htaccess
This rule was previously added to `WP_Rewrite`, but multisite uses a different .htaccess generation mechanism. Props pbiron. Fixes #51772. See [49109]. git-svn-id: https://develop.svn.wordpress.org/trunk@49607 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
82e44bc702
commit
2425a11255
@ -640,6 +640,7 @@ define('BLOG_ID_CURRENT_SITE', 1);
|
||||
|
||||
$htaccess_file = <<<EOF
|
||||
RewriteEngine On
|
||||
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
|
||||
RewriteBase {$base}
|
||||
RewriteRule ^index\.php$ - [L]
|
||||
{$ms_files_rewriting}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user