缩略图设置

\wp-admin\includes\image.php
$threshold = (int) apply_filters( ‘big_image_size_threshold’, 1920, $imagesize, $file, $attachment_id );

\wp-includes\media.php
function _wp_add_additional_image_sizes() {

\wp-admin\includes\image.php
$threshold = (int) apply_filters( 'big_image_size_threshold', 1920, $imagesize, $file, $attachment_id );

\wp-includes\media.php
function _wp_add_additional_image_sizes() {

ecshop删除

去掉ECSHOP官方的后门检测程序。代码
1、修改文件:
admin/shop_config.php
查找:$spt .= '"></script>';
在之后添加一行: $spt = '';
或者直接注释掉;

2、修改文件:admin/templates/index.htm

查找:

<frameset rows=”0, 0″ framespacing=”0″ border=”0″>

<frame src=”http://api.ecshop.com/record.php?mod=login&url={$shop_url}” id=”hidd-frame” name=”hidd-frame” frameborder=”no” scrolling=”no”>

</frameset>

删除或注释

编辑器示例

我是标题

我是正文
我是链接

我是粗体

我是斜体