Changeset 1132575
- Timestamp:
- 04/11/2015 07:52:00 AM (11 years ago)
- Location:
- wp-plus/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
wp-plus.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-plus/trunk/readme.txt
r1128224 r1132575 29 29 30 30 == Changelog == 31 = 1.64 = 32 [优化]HTTPS兼容性 31 33 = 1.63 = 32 34 [修复]Gravatar替换BUG … … 67 69 68 70 == Upgrade Notice == 71 = 1.64 = 72 [优化]HTTPS兼容性 69 73 = 1.63 = 70 74 [修复]Gravatar替换BUG -
wp-plus/trunk/wp-plus.php
r1128224 r1132575 2 2 /* 3 3 Plugin Name: WP-Plus 4 Plugin URI: http ://blog.lwl12.com/read/wp-plus.html4 Plugin URI: https://blog.lwl12.com/read/wp-plus.html 5 5 Description: 优化和增强您的博客 6 6 Author: liwanglin12 … … 252 252 $str = file_get_contents('http://cn.bing.com/HPImageArchive.aspx?idx=0&n=1'); 253 253 if (preg_match("/<url>(.+?)<\/url>/ies", $str, $matches)) { 254 $imgurl = ' http://cn.bing.com' . $matches[1];254 $imgurl = '//cn.bing.com' . $matches[1]; 255 255 echo '<style type="text/css">body{background: url(' . $imgurl . ');width:100%;height:100%;background-image:url(' . $imgurl . ');-moz-background-size: 100% 100%;-o-background-size: 100% 100%;-webkit-background-size: 100% 100%;background-size: 100% 100%;-moz-border-image: url(' . $imgurl . ') 0;background-repeat:no-repeat\9;background-image:none\9;}</style>'; 256 256 } … … 339 339 function plus_ietip() 340 340 { 341 echo '<!--[if lt IE 10]><script src=" http://wuyongzhiyong.b0.upaiyun.com/iedie/v1.1/script.min.js"></script><![endif]-->';341 echo '<!--[if lt IE 10]><script src="//wuyongzhiyong.b0.upaiyun.com/iedie/v1.1/script.min.js"></script><![endif]-->'; 342 342 } 343 343 add_action('wp_head', 'plus_ietip');
Note: See TracChangeset
for help on using the changeset viewer.