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 Dec 19, 2020
1 parent 6c3500f commit 8b8e0ad
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 8b8e0ad

Please sign in to comment.