Changeset 1122960
- Timestamp:
- 03/29/2015 04:36:11 AM (11 years ago)
- Location:
- wp-plus/trunk
- Files:
-
- 3 edited
-
option.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
-
wp-plus.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-plus/trunk/option.php
r1117914 r1122960 26 26 echo plus_version; 27 27 ?>版本更新日志:<br /> 28 [移除]禁止自动给文章段落添加p标签功能<br /> 29 [新增]访客欢迎信息显示(Beta) 28 [新增]低版本IE更新提示功能 30 29 </div> 31 30 <form method="POST" action=""> … … 69 68 echo get_option("wp_plus_simplifyhead"); 70 69 ?> /> 启用“移除部分风险/无用头部信息”功能<p> 70 <input type="checkbox" name="ietip" id="ietip" <?php 71 echo get_option("wp_plus_ietip"); 72 ?> /> 启用“提示IE10以下IE用户更换浏览器”功能<p> 71 73 <input type="submit" class="button-primary" value="保存设置" /> WP-Plus 版本 <?php 72 74 echo plus_version; … … 176 178 } 177 179 update_option('wp_plus_welcomemsg', $display); 180 if ($_POST['ietip'] == 'on') { 181 $display = 'checked'; 182 } else { 183 $display = ''; 184 } 185 update_option('wp_plus_ietip', $display); 178 186 179 187 } -
wp-plus/trunk/readme.txt
r1117914 r1122960 29 29 30 30 == Changelog == 31 = 1.59 = 32 [新增]低版本IE更新提示功能 31 33 = 1.58 = 32 34 [移除]禁止自动给文章段落添加p标签<br /> … … 58 60 59 61 == Upgrade Notice == 62 = 1.59 = 63 [新增]低版本IE更新提示功能 60 64 = 1.58 = 61 65 [移除]禁止自动给文章段落添加p标签 -
wp-plus/trunk/wp-plus.php
r1117914 r1122960 6 6 Author: liwanglin12 7 7 Author URI: http://lwl12.com 8 Version: 1.5 88 Version: 1.59 9 9 */ 10 10 /*Exit if accessed directly:安全第一,如果是直接载入,就退出.*/ 11 11 defined('ABSPATH') or exit; 12 define("plus_version", "1.5 8");12 define("plus_version", "1.59"); 13 13 /* 插件初始化*/ 14 14 register_activation_hook(__FILE__, 'plus_plugin_activate'); … … 332 332 ?> 333 333 <?php 334 if (get_option('wp_plus_ietip') == 'checked') { 335 ?> 336 <?php 337 function plus_ietip(){ 338 echo '<!--[if lt IE 10]><script src="http://wuyongzhiyong.b0.upaiyun.com/iedie/v1.1/script.min.js"></script><![endif]-->'; 339 } 340 add_action('wp_head', 'plus_ietip'); 341 ?> 342 <?php 343 } 344 ?> 345 <?php 334 346 /** 335 347 * [plus_post 用于向LWL插件统计API发送数据]
Note: See TracChangeset
for help on using the changeset viewer.