文件操作 - GeneratePurchaseKey.php
返回文件管理
返回主菜单
删除本文件
文件: /home/www/public/wp-content/plugins/give/src/Donations/Actions/GeneratePurchaseKey.php
编辑文件内容
<?php namespace Give\Donations\Actions; class GeneratePurchaseKey { /** * @since 2.19.6 * * @param string $email * @return string */ public function __invoke($email) { $auth_key = defined('AUTH_KEY') ? AUTH_KEY : ''; return strtolower(md5($email . date('Y-m-d H:i:s') . $auth_key . uniqid('give', true))); } }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件