Linux 软件免费装
Banner图

Safe Transient Names

开发者 petercoughlin
更新时间 2013年1月30日 08:04
捐献地址: 去捐款
PHP版本: 2.8 及以上
WordPress版本: 3.5.1
版权: GPLv2 or later
版权网址: 版权信息

标签

transient transient key transient name option name

下载

详情介绍:

Transient names can sometimes get truncated without you realising. This plugin provides a simple function you can call which will ensure your transient names will always be short enough to avoid being truncated. Usage: <?php $safe_transient_name = get_safe_transient_name( 'your_transient_name_which_might_be_too_long' ); ?>

安装:

  1. Upload the safe-transient-names folder to your /wp-content/plugins/ directory.
  2. Activate the "Safe Transient Names" plugin in your WordPress administration interface.
  3. Use <?php $safe_transient_name = get_safe_transient_name( 'your_transient_name' ); ?> anywhere in your code to get a safe name for your transient.

升级注意事项:

0.2 This version adds a filter to the value of the cut-off point. 0.1 First version.

常见问题:

Reserved for FAQ

Reserved for FAQ answer :-)

更新日志:

0.2 0.1