| Server IP : 43.141.50.122 / Your IP : 113.219.202.44 Web Server : Apache System : Linux VM-8-5-opencloudos 6.6.34-9.oc9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jun 19 19:35:45 CST 2024 x86_64 User : www ( 1000) PHP Version : 8.1.27 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /www/wwwroot/www.ucppt.com/wp-content/plugins/wpcom-member/ |
Upload File : |
<?php
/**
* Plugin Name: WPCOM Member 用户中心
* Description: WordPress用户中心插件 / User profile & membership plugin for WordPress
* Plugin URI: https://www.wpcom.cn/plugins/wpcom-member-pro.html
* Version: 1.7.25
* Author: WPCOM
* Author URI: https://www.wpcom.cn
* Requires PHP: 7.4
* Requires at least: 6.2
*/
defined('ABSPATH') || exit;
define( 'WPMX_VERSION', '1.7.25' );
define( 'WPMX_DIR', plugin_dir_path( __FILE__ ) );
define( 'WPMX_URI', plugins_url( '/', __FILE__ ) );
define( 'WPMX_TD', 'wpcom-member');
if (!defined('WPCOM_ADMIN_FREE_PATH')) {
define('WPCOM_ADMIN_FREE_PATH', is_dir($framework_path = plugin_dir_path(__FILE__) . 'admin/') ? $framework_path : plugin_dir_path(__DIR__) . 'Themer-free/admin/');
define('WPCOM_ADMIN_FREE_URI', is_dir($framework_path) ? plugins_url('/admin/', __FILE__) : plugins_url('/Themer-free/admin/', __DIR__));
}
require_once WPMX_DIR . 'includes/functions.php';
add_action( 'wpmx_cron_flush_rewrite_rules', 'flush_rewrite_rules' );
register_activation_hook( __FILE__, 'wpmx_plugin_activate' );
function wpmx_plugin_activate(){
wp_schedule_single_event( time() + 5, 'wpmx_cron_flush_rewrite_rules', [wp_rand(1000, 99999) . '_' . time()] );
}