Changeset 1158127
- Timestamp:
- 05/11/2015 06:19:33 PM (11 years ago)
- Location:
- anylink/trunk
- Files:
-
- 4 edited
-
anyLink.php (modified) (1 diff)
-
classes/al_filter.php (modified) (1 diff)
-
functions.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
anylink/trunk/anyLink.php
r954161 r1158127 3 3 Plugin Name: anyLink 4 4 Plugin URI: http://dudo.org/anylink 5 Description: anyLink is an external links management tool. It help you to covert all the external links in your posts into internal links automatically. It can prevent the website weight flow outside to others. It's absolutely SEO friendly. 6 Version: 0.2 5 Anylink 是一款链接转换插件,它可以把长链接转换成短链接,也可以将外部链接转换成内部链接,同时还可以隐藏真实的链接地址。Anylink针对搜索引擎进行了专门的SEO处理,可以有效防止网站权重对外传递。同时它不会修改wordpress自带的数据库,也不会修改文章中的任何内容,无论什么时候都不会影响到你数据的完整性。是同类软件中安全性较高、方便灵活的轻量级软件。 6 Version: 0.2.1 7 7 Author: dudo 8 8 Author URI: http://dudo.org/about -
anylink/trunk/classes/al_filter.php
r954161 r1158127 45 45 array_shift( $matches ); 46 46 //only replace the links which have slugs, or return the original URL 47 //Since 0.2.1 48 //UEditor神经病,会把wordpress已经转义的&再还原成&,导致字符串比较出现问题,因此要再再次还原 49 if(function_exists('enable_ueditor') && strpos($matches['URL'],'&') !== false){ 50 $matches['URL'] = str_replace('&','&',$matches['URL']); 51 } 47 52 if( array_key_exists( $matches['URL'], $U2S ) ) { 48 53 $matches['URL'] = $U2S[$matches['URL']]; -
anylink/trunk/functions.php
r954185 r1158127 76 76 $charset_collate = "DEFAULT CHARACTER SET $wpdb->charset"; 77 77 if( ! empty( $wpdb->collate ) ) 78 $charset_collate .= " COLLATE $wpdb ->collate";78 $charset_collate = $charset_collate . " COLLATE $wpdb->collate"; 79 79 } 80 80 $sqlAnylnk = "CREATE TABLE " . ANYLNK_DBTB . " ( -
anylink/trunk/readme.txt
r954161 r1158127 4 4 Tags: seo, link sanitize, covert external links to internal links 5 5 Requires at least: 3.4 6 Tested up to: 3.97 Stable tag: 0.2 6 Tested up to: 4.2.2 7 Stable tag: 0.2.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 12 12 13 13 == Description == 14 15 Anylink 是一款链接转换插件,它可以把长链接转换成短链接,也可以将外部链接转换成内部链接,同时还可以隐藏真实的链接地址。它不会修改wordpress自带的数据库,也不会修改文章中的任何内容,无论什么时候都不会影响到你数据的完整性。是同类软件中安全性较高、方便灵活的轻量级软件。 14 16 15 17 Anylink allows you to covert the external links in your Wordpress to internal links. Of course, it's automatically. It's advantage … … 41 43 42 44 == Changelog == 45 46 = 0.2.1= 47 * 修复了使用第三方编辑器(如 UEditor)时造成的链接不能转换问题 48 * 修复了在PHP5.5下出现的代码中断问题 43 49 44 50 = 0.2 =
Note: See TracChangeset
for help on using the changeset viewer.