Changeset 1359964
- Timestamp:
- 02/28/2016 08:53:20 AM (10 years ago)
- Location:
- wp-switch-util/trunk
- Files:
-
- 7 edited
-
README.md (modified) (3 diffs)
-
inc/wp_switch_util_setting.php (modified) (1 diff)
-
lang (modified) (1 prop)
-
lang/wp_su-zh_CN.mo (modified) (previous)
-
lang/wp_su-zh_CN.po (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
-
wp_switch_util.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-switch-util/trunk/README.md
r1354181 r1359964 13 13 * Disable pingback in site 14 14 * Disable the admin bar 15 * Enable the link manager 15 16 16 17 这个插件实现了以下功能: … … 23 24 * 禁止站内Pingback 24 25 * 不显示admin bar 26 * 启用友情链接 25 27 26 28 … … 41 43 42 44 #### Changelog 45 46 **0.2.0** 47 48 * Add feature "Enable the link manager" 49 * 添加启用友情链接功能 43 50 44 51 **0.1.0** -
wp-switch-util/trunk/inc/wp_switch_util_setting.php
r1234729 r1359964 72 72 </td> 73 73 </tr> 74 <tr> 75 <th scope="row"><?php echo __('Enable the link manager', 'wp_su') ?></th> 76 <td> 77 <input type="checkbox" name="wp_su_options[linkmanager]" id="wpSuLinkManager" value="1" 78 <?php echo ($this->options['linkmanager'] == '1') ? 'checked' : '' ?>/> 79 </td> 80 </tr> 74 81 </table> 75 82 <p class="submit"> -
wp-switch-util/trunk/lang
-
Property
svn:ignore
set to
wp_su.pot
-
Property
svn:ignore
set to
-
wp-switch-util/trunk/lang/wp_su-zh_CN.po
r1234729 r1359964 1 1 msgid "" 2 2 msgstr "" 3 "Plural-Forms: nplurals=1; plural=0;\n" 3 4 "Project-Id-Version: WP Switch Util\n" 4 "POT-Creation-Date: 2014-09-21 23:56+0900\n" 5 "PO-Revision-Date: 2014-09-21 23:57+0900\n" 6 "Last-Translator: \n" 5 "POT-Creation-Date: 2016-02-28 17:42+0900\n" 6 "PO-Revision-Date: 2016-02-28 17:46+0900\n" 7 7 "Language-Team: \n" 8 "Language: zh\n"9 8 "MIME-Version: 1.0\n" 10 9 "Content-Type: text/plain; charset=UTF-8\n" 11 10 "Content-Transfer-Encoding: 8bit\n" 12 "X-Generator: Poedit 1. 6.9\n"11 "X-Generator: Poedit 1.8.6\n" 13 12 "X-Poedit-Basepath: ..\n" 13 "X-Poedit-WPHeader: wp_switch_util.php\n" 14 14 "X-Poedit-SourceCharset: UTF-8\n" 15 "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;" 16 "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;" 17 "_nx_noop:3c,1,2;__ngettext_noop:1,2\n" 18 "Plural-Forms: nplurals=1; plural=0;\n" 15 "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;" 16 "esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;" 17 "esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n" 18 "Last-Translator: \n" 19 "Language: zh_CN\n" 19 20 "X-Poedit-SearchPath-0: .\n" 21 "X-Poedit-SearchPathExcluded-0: *.js\n" 20 22 21 #: inc/wp_switch_util_setting.php:10 wp_switch_util.php: 5923 #: inc/wp_switch_util_setting.php:10 wp_switch_util.php:72 22 24 msgid "Wp Switch Util" 23 msgstr " Wp Switch Util"25 msgstr "" 24 26 27 #. Description of the plugin/theme 25 28 #: inc/wp_switch_util_setting.php:13 26 29 msgid "" … … 44 47 #: inc/wp_switch_util_setting.php:23 45 48 msgid "Cache Days:" 46 msgstr "缓存 时间:"49 msgstr "缓存天数:" 47 50 48 51 #: inc/wp_switch_util_setting.php:26 … … 78 81 msgstr "不显示admin bar" 79 82 80 #: inc/wp_switch_util_setting.php:77 83 #: inc/wp_switch_util_setting.php:75 84 msgid "Enable the link manager" 85 msgstr "启用友情链接" 86 87 #: inc/wp_switch_util_setting.php:84 81 88 msgid "Save Changes" 82 89 msgstr "保存修改" 83 90 84 #: wp_switch_util.php: 6791 #: wp_switch_util.php:82 85 92 msgid "Settings" 86 93 msgstr "设置" 94 95 #. Plugin Name of the plugin/theme 96 msgid "WP Switch Util" 97 msgstr "" 98 99 #. Plugin URI of the plugin/theme 100 msgid "http://yutuo.net/archives/f685d2dbbb176e86.html" 101 msgstr "" 102 103 #. Author of the plugin/theme 104 msgid "yutuo" 105 msgstr "" 106 107 #. Author URI of the plugin/theme 108 msgid "http://yutuo.net" 109 msgstr "" -
wp-switch-util/trunk/readme.txt
r1354181 r1359964 5 5 Requires at least: 3.0.1 6 6 Tested up to: 4.4 7 Stable tag: 0. 0.37 Stable tag: 0.2.0 8 8 License: GPLv3 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 56 56 == Changelog == 57 57 58 = 0.2.0 = 59 60 * Add feature "Enable the link manager" 61 * 添加启用友情链接功能 62 58 63 = 0.1.0 = 59 64 -
wp-switch-util/trunk/wp_switch_util.php
r1354181 r1359964 5 5 * Plugin URI: http://yutuo.net/archives/f685d2dbbb176e86.html 6 6 * Description: This plugin can: cache the avatar, format you url, disable the histroy, disable auto save, disable admin bar 7 * Version: 0. 1.07 * Version: 0.2.0 8 8 * Author: yutuo 9 9 * Author URI: http://yutuo.net … … 28 28 'pingback' => '0', 29 29 'adminbar' => '0', 30 'linkmanager' => '0', 30 31 ); 31 32 } … … 215 216 add_filter('show_admin_bar', array($this, 'hideAdminBar')); 216 217 } 218 // 启用友情链接 219 if (array_key_exists('linkmanager', $this->options) && $this->options['linkmanager'] == '1') { 220 add_filter('pre_option_link_manager_enabled', '__return_true'); 221 } 217 222 } 218 223
Note: See TracChangeset
for help on using the changeset viewer.