Skip to content

Commit

Permalink
wordpress: set jquery.com and api.jquery.com banner via php env var
Browse files Browse the repository at this point in the history
  • Loading branch information
timmywil authored Oct 13, 2024
1 parent 24db5e8 commit a38b2bd
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,10 @@ define( 'JQUERY_STAGING_FORMAT', 'stage.%s' );
if ( defined( 'XMLRPC_REQUEST' ) ) {
@ini_set( 'memory_limit', '512M' );
}

<%- if @live_site == 'jquery.com' || @live_site == 'api.jquery.com' -%>
define(
'JQUERY_BANNER',
'jQuery 4.0 is coming soon! Prepare by <a href="https://jquery.com/download/">upgrading</a> to the latest jQuery 3.x release. Learn more about our <a href="https://jquery.com/support/">version support</a>.'
);
<%- end -%>

0 comments on commit a38b2bd

Please sign in to comment.