You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: themes/api.jquery.com/index.php
+10-1Lines changed: 10 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,13 @@
1
-
<?phpget_header(); ?>
1
+
<?php
2
+
// Set banner in post meta for the header to display it
3
+
update_post_meta(
4
+
get_the_ID(),
5
+
'banner',
6
+
'jQuery 4.0 is currently in beta. Once released, jQuery 3.x will only receive critical updates. Learn more about our <a href="https://jquery.com/support/">Version Support</a>.'
<span style="">jQuery 4 is currently in beta. Soon jQuery 3 will reach EOL along with versions 1 and 2. Learn more about our <a href="https://jquery.com/support/">Version Support</a>.</span>
46
-
</div>
47
-
48
-
<?php } ?>
42
+
<!-- Render the banner if there's a banner message in post_meta -->
0 commit comments