Skip to content

Commit 8b8e0ad

Browse files
committed
Add crossorigin=use-credentials to link[rek=manifest] for sake of Basic Auth
1 parent 6c3500f commit 8b8e0ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wp-includes/class-wp-web-app-manifest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function init() {
7272
public function manifest_link_and_meta() {
7373
$manifest = $this->get_manifest();
7474
?>
75-
<link rel="manifest" href="<?php echo esc_url( static::get_url() ); ?>">
75+
<link rel="manifest" href="<?php echo esc_url( static::get_url() ); ?>" crossorigin="use-credentials">
7676
<meta name="theme-color" content="<?php echo esc_attr( $manifest['theme_color'] ); ?>">
7777
<meta name="apple-mobile-web-app-capable" content="yes">
7878
<meta name="mobile-web-app-capable" content="yes">

0 commit comments

Comments
 (0)