• WordPress

    Posted on March 2nd, 2009

    Written by MoontoC

    Tags

    WordPress 有个特点, 饼干保质期(我在假扮自动翻译软件)很短很短, 最短 两天 最长 两周

    本来就没多大一件事, 多余的话不多说了,

    以 2.7.1 为例

    wp-includes/pluggable.php:623

    if ( $remember ) {
    $expiration = $expire = time() + 1209600;

    修改最后结尾的数字为你需要的,这里1209600是14天*24小时*60分*60秒

    你可以考虑180*24*60*60,或者360*24*60*60,或者874!

    This entry was posted on Monday, March 2nd, 2009 at 20:27 and is filed under WordPress. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.
  • 0 Comments

    Take a look at some of the responses we've had to this article.

  • Post a Comment

    Let us know what you thought.

  • Name:

    Email (required):

    Website:

    Message: