Plugin Directory

Changeset 1132575


Ignore:
Timestamp:
04/11/2015 07:52:00 AM (11 years ago)
Author:
liwanglin12
Message:

1.64

Location:
wp-plus/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-plus/trunk/readme.txt

    r1128224 r1132575  
    2929
    3030== Changelog ==
     31= 1.64 =
     32[优化]HTTPS兼容性
    3133= 1.63 =
    3234[修复]Gravatar替换BUG
     
    6769
    6870== Upgrade Notice ==
     71= 1.64 =
     72[优化]HTTPS兼容性
    6973= 1.63 =
    7074[修复]Gravatar替换BUG
  • wp-plus/trunk/wp-plus.php

    r1128224 r1132575  
    22/*
    33Plugin Name: WP-Plus
    4 Plugin URI: http://blog.lwl12.com/read/wp-plus.html
     4Plugin URI: https://blog.lwl12.com/read/wp-plus.html
    55Description: 优化和增强您的博客
    66Author: liwanglin12
     
    252252        $str = file_get_contents('http://cn.bing.com/HPImageArchive.aspx?idx=0&n=1');
    253253        if (preg_match("/<url>(.+?)<\/url>/ies", $str, $matches)) {
    254             $imgurl = 'http://cn.bing.com' . $matches[1];
     254            $imgurl = '//cn.bing.com' . $matches[1];
    255255            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>';
    256256        }
     
    339339    function plus_ietip()
    340340    {
    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]-->';
    342342    }
    343343    add_action('wp_head', 'plus_ietip');
Note: See TracChangeset for help on using the changeset viewer.