Linux 软件免费装
Banner图

Plugin Name

开发者 neil_pie
更新时间 2016年1月13日 14:22
捐献地址: 去捐款
PHP版本: 2.3.0 及以上
WordPress版本: 4.4
版权: WTFPL

标签

wordpress autocorrect camel case capital P

下载

0.2.1 0.2.2 0.2.3 0.2.4

详情介绍:

Having 'Wordpress' automatically switched to 'WordPress' in just a few spots around your site not enough for you? Want the rules to be applied with a little more zeal? This plugin tries to enforce the correct CamelCasing of 'WordPress' throughout your site irrespective of whether or not it begins with a capital letter 'W'. Currently: Be warned, at the moment this plugin will also make the changes in link and image URLs, which may cause them to break on some server setups.

安装:

  1. Upload wordpress-camelcase-zealot.php to the /wp-content/plugins/ directory
  2. 通过WordPress的的“Plugins”菜单激活插件
  3. Sleep soundly at night, safe in the knowledge that there a few more capital 'P's on the internet

屏幕截图:

  • just look at all those capital Ps

升级注意事项:

0.2.4 A new filter hook has been added in this release. View readme for details. 0.2.3 Housekeeping - no need to update 0.2.2 Housekeeping - no need to update 0.2.1 Added more filter hooks & isolated plugin to front end - no more DB writing! 0.1.1 No code changes. Upgrade not require 0.1 First Version

常见问题:

Will this plugin break my links and images?

It might do. On some server setups, http://hello.com/wordpress.jpg is a different file to http://hello.com/WordPress.jpg - be sure you test this out before using the plugin.

Why doesn't it catch everything?

In all honesty, because it's a work in progress. Rather than fill in every filter possible, I'm trying to add them as I come across them. Let me know where I've missed it on your site & I'll add it next release.

Does it have to be so thorough?

No. If you hook onto the wpccz_added_filters filter hook you will have access to the array of filter hooks to which we are applying the string replace. Remove any that you don't wish to use. Similarly, you can add any that are missing.

更新日志:

0.2.4 Added wpccz_added_filters filter hook 0.2.3 Housekeeping 0.2.2 Housekeeping 0.2.1 Prevented the plugin from messing around with editor fields in wp-admin by only running it on the front-end. You rdata is safe again. Added a few more filter hooks. 0.1.1 Changed the readme file to meet the WordPress guidelines. 0.1 First commit