Skip to content

Commit

Permalink
Add crossorigin=use-credentials to link[rek=manifest] for sake of Bas…
Browse files Browse the repository at this point in the history
…ic Auth
  • Loading branch information
westonruter committed Jul 13, 2021
1 parent d6a7be7 commit 7170ba4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-includes/class-wp-web-app-manifest.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function init() {
public function manifest_link_and_meta() {
$manifest = $this->get_manifest();
?>
<link rel="manifest" href="<?php echo esc_url( static::get_url() ); ?>">
<link rel="manifest" href="<?php echo esc_url( static::get_url() ); ?>" crossorigin="use-credentials">
<meta name="theme-color" content="<?php echo esc_attr( $manifest['theme_color'] ); ?>">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
Expand Down

0 comments on commit 7170ba4

Please sign in to comment.