Skip to content

Commit 93985a7

Browse files
committed
Remove unused stuff and minor fixes (Stripe, Adzerk, Google)
Motivated by reducing third-party, cross-domain, or sensitive-looking code that is no longer in used. jquery (base): * Remove Adzerk (which for the past 7 years has contained just 1 "ad" in its pool, namely a jQuery Foundation donate image). Turn into empty broadcast area, matching the commits jquery/jquery-wp-content@4a777295 and jquery/jquery-wp-content@3427d5536a. * Remove Google API reference, matching the commit jquery/jquery-wp-content@575a8cf15ef1. * Remove IE6-9 conditionals, matching the commits jquery/jquery-wp-content@6823f6d0dde, jquery/jquery-wp-content@bcf11cc555b, jquery/jquery-wp-content@caa8a5e7f90. jquery.org: * coupon * membership * Stripe * flexslider jquerymobile.com: * builder: Fix broken image reference.
1 parent d0c2370 commit 93985a7

17 files changed

+7
-1655
lines changed

jquery/css/base.css

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2085,7 +2085,6 @@ pre b {
20852085
#content .embed_media {
20862086
position: relative;
20872087
padding-bottom: 56.25%; /* 16/9 ratio */
2088-
padding-top: 30px; /* IE6 workaround*/
20892088
height: 0;
20902089
overflow: hidden;
20912090
box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.20);
@@ -3636,30 +3635,6 @@ that IE7/8 do not support :nth-child.
36363635
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);
36373636
}
36383637

3639-
/*
3640-
The following provides PNG transparency support for IE6
3641-
Feel free to remove this and the /ie6/ directory if you have dropped IE6 support.
3642-
*/
3643-
.cboxIE6 #cboxTopLeft{background:url(../images/colorbox/ie6/borderTopLeft.png);}
3644-
.cboxIE6 #cboxTopCenter{background:url(../images/colorbox/ie6/borderTopCenter.png);}
3645-
.cboxIE6 #cboxTopRight{background:url(../images/colorbox/ie6/borderTopRight.png);}
3646-
.cboxIE6 #cboxBottomLeft{background:url(../images/colorbox/ie6/borderBottomLeft.png);}
3647-
.cboxIE6 #cboxBottomCenter{background:url(../images/colorbox/ie6/borderBottomCenter.png);}
3648-
.cboxIE6 #cboxBottomRight{background:url(../images/colorbox/ie6/borderBottomRight.png);}
3649-
.cboxIE6 #cboxMiddleLeft{background:url(../images/colorbox/ie6/borderMiddleLeft.png);}
3650-
.cboxIE6 #cboxMiddleRight{background:url(../images/colorbox/ie6/borderMiddleRight.png);}
3651-
3652-
.cboxIE6 #cboxTopLeft,
3653-
.cboxIE6 #cboxTopCenter,
3654-
.cboxIE6 #cboxTopRight,
3655-
.cboxIE6 #cboxBottomLeft,
3656-
.cboxIE6 #cboxBottomCenter,
3657-
.cboxIE6 #cboxBottomRight,
3658-
.cboxIE6 #cboxMiddleLeft,
3659-
.cboxIE6 #cboxMiddleRight {
3660-
_behavior: expression(this.src = this.src ? this.src : this.currentStyle.backgroundImage.split('"')[1], this.style.background = "none", this.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src=" + this.src + ", sizingMethod='scale')");
3661-
}
3662-
36633638

36643639
/* Syntax Highlighting ---------------------- */
36653640

jquery/functions.jquery.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,6 @@ function jq_content_nav() {
143143
)) . '</div>';
144144
}
145145

146-
function jq_banner() {
147-
echo '<div id="broadcast"></div>';
148-
}
149-
150146
function jq_post_heirarchy() {
151147
global $post;
152148
$current = $post;

jquery/header.php

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
<!doctype html>
2-
<!--[if IE 7 ]> <html class="no-js ie ie7 lte7 lte8 lte9" <?php language_attributes(); ?>> <![endif]-->
3-
<!--[if IE 8 ]> <html class="no-js ie ie8 lte8 lte9" <?php language_attributes(); ?>> <![endif]-->
4-
<!--[if IE 9 ]> <html class="no-js ie ie9 lte9>" <?php language_attributes(); ?>> <![endif]-->
5-
<!--[if (gt IE 9)|!(IE)]><!--> <html class="no-js" <?php language_attributes(); ?>> <!--<![endif]-->
2+
<html class="no-js" <?php language_attributes(); ?>>
63
<head data-live-domain="<?php echo JQUERY_LIVE_DOMAIN; ?>">
74
<meta charset="utf-8">
8-
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
96

107
<title><?php
118
global $page, $paged;
@@ -26,12 +23,10 @@
2623
<link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/css/base.css?v=1">
2724
<link rel="stylesheet" href="<?php bloginfo( 'stylesheet_url' ); ?>">
2825
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
29-
<!--[if lt IE 7]><link rel="stylesheet" href="css/font-awesome-ie7.min.css"><![endif]-->
3026

3127
<script src="<?php echo get_template_directory_uri(); ?>/js/modernizr.custom.2.6.2.min.js"></script>
3228

33-
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
34-
<script>window.jQuery || document.write(unescape('%3Cscript src="<?php echo get_template_directory_uri(); ?>/js/jquery-1.9.1.min.js"%3E%3C/script%3E'))</script>
29+
<script src="https://code.jquery.com/jquery-1.9.1.js"></script>
3530

3631
<script src="<?php echo get_template_directory_uri(); ?>/js/plugins.js"></script>
3732
<script src="<?php echo get_template_directory_uri(); ?>/js/main.js"></script>
@@ -49,10 +44,6 @@
4944
</head>
5045
<body <?php body_class(); ?>>
5146

52-
<!--[if lt IE 7]>
53-
<p class="chromeframe">You are using an outdated browser. <a href="http://browsehappy.com/">Upgrade your browser today</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to better experience this site.</p>
54-
<![endif]-->
55-
5647
<header>
5748
<section id="global-nav">
5849
<nav>
@@ -114,7 +105,9 @@
114105
<div id="logo-events" class="constrain clearfix">
115106
<h2 class="logo"><a href="<?php echo jq_logo_link(); ?>" title="<?php bloginfo( 'name' ); ?>"><?php bloginfo( 'name' ); ?></a></h2>
116107

117-
<aside><?php jq_banner(); ?></aside>
108+
<aside>
109+
<div id="broadcast"></div>
110+
</aside>
118111
</div>
119112

120113
<nav id="main" class="constrain clearfix">
-111 Bytes
Binary file not shown.
-215 Bytes
Binary file not shown.
-217 Bytes
Binary file not shown.
-108 Bytes
Binary file not shown.
-108 Bytes
Binary file not shown.
-111 Bytes
Binary file not shown.
-216 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)