From 906c820dbbd6eccb71a30618087ff695c2118469 Mon Sep 17 00:00:00 2001 From: Jeffery To Date: Tue, 27 Jul 2021 22:47:23 +0800 Subject: [PATCH] Output link/meta tags depending on web app manifest display value This changes when the (apple-)mobile-web-app-capable meta tags (and apple-touch-startup-image link tag) are printed to match the display mode set in the web app manifest. This also removes the apple-touch-fullscreen meta tag, as this tag has the same effect as the apple-mobile-web-app-capable meta tag but is not included in any Safari documentation. --- wp-includes/class-wp-web-app-manifest.php | 28 +++++++++++++++-------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/wp-includes/class-wp-web-app-manifest.php b/wp-includes/class-wp-web-app-manifest.php index 044661732..4836af00c 100644 --- a/wp-includes/class-wp-web-app-manifest.php +++ b/wp-includes/class-wp-web-app-manifest.php @@ -74,17 +74,27 @@ public function manifest_link_and_meta() { ?> - - - + + + + + + + - - -