Changeset 55981
- Timestamp:
- 06/22/2023 06:09:37 AM (21 months ago)
- Location:
- trunk/src/wp-content/themes/twentyfifteen
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfifteen/functions.php
r55929 r55981 436 436 wp_enqueue_style( 'twentyfifteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentyfifteen-style' ), '20230122' ); 437 437 438 // Loadthe Internet Explorer specific stylesheet.439 wp_ enqueue_style( 'twentyfifteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfifteen-style' ), '20220908' );438 // Register the Internet Explorer specific stylesheet. 439 wp_register_style( 'twentyfifteen-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentyfifteen-style' ), '20220908' ); 440 440 wp_style_add_data( 'twentyfifteen-ie', 'conditional', 'lt IE 9' ); 441 441 442 // Loadthe Internet Explorer 7 specific stylesheet.443 wp_ enqueue_style( 'twentyfifteen-ie7', get_template_directory_uri() . '/css/ie7.css', array( 'twentyfifteen-style' ), '20141210' );442 // Register the Internet Explorer 7 specific stylesheet. 443 wp_register_style( 'twentyfifteen-ie7', get_template_directory_uri() . '/css/ie7.css', array( 'twentyfifteen-style' ), '20141210' ); 444 444 wp_style_add_data( 'twentyfifteen-ie7', 'conditional', 'lt IE 8' ); 445 445 -
trunk/src/wp-content/themes/twentyfifteen/header.php
r55276 r55981 16 16 <link rel="profile" href="https://gmpg.org/xfn/11"> 17 17 <link rel="pingback" href="<?php echo esc_url( get_bloginfo( 'pingback_url' ) ); ?>"> 18 <!--[if lt IE 9]>19 <script src="<?php echo esc_url( get_template_directory_uri() ); ?>/js/html5.js?ver=3.7.0"></script>20 <![endif]-->21 18 <?php wp_head(); ?> 22 19 </head> -
trunk/src/wp-content/themes/twentyfifteen/inc/custom-header.php
r51401 r55981 273 273 .site-title a:hover, 274 274 .site-title a:focus { 275 color: %1$s; /* Fallback for IE7 and IE8 */276 275 color: %2$s; 277 276 } 278 277 279 278 .secondary-toggle { 280 border-color: %1$s; /* Fallback for IE7 and IE8 */281 279 border-color: %3$s; 282 280 } … … 284 282 .secondary-toggle:hover, 285 283 .secondary-toggle:focus { 286 border-color: %1$s; /* Fallback for IE7 and IE8 */287 284 border-color: %4$s; 288 285 } 289 286 290 287 .site-title a { 291 outline-color: %1$s; /* Fallback for IE7 and IE8 */292 288 outline-color: %4$s; 293 289 } -
trunk/src/wp-content/themes/twentyfifteen/inc/customizer.php
r48782 r55981 517 517 .page-links a:hover, 518 518 .page-links a:focus { 519 background-color: {$colors['textcolor']}; /* Fallback for IE7 and IE8 */520 519 background-color: {$colors['secondary_textcolor']}; 521 520 } … … 559 558 .widecolumn label, 560 559 .widecolumn .mu_register label { 561 color: {$colors['textcolor']}; /* Fallback for IE7 and IE8 */562 560 color: {$colors['secondary_textcolor']}; 563 561 } … … 567 565 .logged-in-as a:hover, 568 566 .comment-author a:hover { 569 border-color: {$colors['textcolor']}; /* Fallback for IE7 and IE8 */570 567 border-color: {$colors['secondary_textcolor']}; 571 568 } … … 575 572 .dropdown-toggle:hover, 576 573 .dropdown-toggle:focus { 577 background-color: {$colors['textcolor']}; /* Fallback for IE7 and IE8 */578 574 background-color: {$colors['border_color']}; 579 575 } … … 611 607 .comment-list .reply a, 612 608 .no-comments { 613 border-color: {$colors['textcolor']}; /* Fallback for IE7 and IE8 */614 609 border-color: {$colors['border_color']}; 615 610 } … … 619 614 button:focus, 620 615 input:focus { 621 outline-color: {$colors['textcolor']}; /* Fallback for IE7 and IE8 */622 616 outline-color: {$colors['border_focus_color']}; 623 617 } … … 625 619 input:focus, 626 620 textarea:focus { 627 border-color: {$colors['textcolor']}; /* Fallback for IE7 and IE8 */628 621 border-color: {$colors['border_focus_color']}; 629 622 } … … 647 640 /* Sidebar Border Color */ 648 641 .secondary-toggle { 649 border-color: {$colors['sidebar_textcolor']}; /* Fallback for IE7 and IE8 */650 642 border-color: {$colors['sidebar_border_color']}; 651 643 } … … 654 646 .secondary-toggle:hover, 655 647 .secondary-toggle:focus { 656 border-color: {$colors['sidebar_textcolor']}; /* Fallback for IE7 and IE8 */657 648 border-color: {$colors['sidebar_border_focus_color']}; 658 649 } 659 650 660 651 .site-title a { 661 outline-color: {$colors['sidebar_textcolor']}; /* Fallback for IE7 and IE8 */662 652 outline-color: {$colors['sidebar_border_focus_color']}; 663 653 } -
trunk/src/wp-content/themes/twentyfifteen/js/html5.js
r30046 r55981 1 /* 2 * HTML5 Shiv v3.7.0 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed 3 */ 4 5 (function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag(); 6 a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/[\w\-]+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x<style>article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}</style>"; 7 c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;(function(){try{var a=f.createElement("a");a.innerHTML="<xyz></xyz>";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a");var c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode|| 8 "undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.7.0",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a,b){a||(a=f); 9 if(g)return a.createDocumentFragment();for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d<h;d++)c.createElement(e[d]);return c}};l.html5=e;q(f)})(this,document); 1 // This theme does not support old versions of Microsoft Internet Explorer anymore.
Note: See TracChangeset
for help on using the changeset viewer.