Gestionnaire de fichiers - Editer - /home/wwgoat/public_html/blog/wp-content/plugins/wp-user-avatars/wp-user-avatars.php
Arrière
<?php /** * Plugin Name: WP User Avatars * Description: Allow registered users to upload & select their own avatars * Plugin URI: https://wordpress.org/plugins/wp-user-avatars/ * Author: Triple J Software, Inc. * Author URI: https://jjj.software * License: GPLv2 or later * License URI: https://www.gnu.org/licenses/gpl-2.0.html * Text Domain: wp-user-avatars * Domain Path: /wp-user-avatars/assets/languages * Requires at least: 5.2 * Requires PHP: 7.0 * Tested up to: 5.8 * Version: 1.4.1 */ // Exit if accessed directly defined( 'ABSPATH' ) || exit; /** * Include the plugin files * * @since 0.1.0 */ function _wp_user_avatars() { // Get the plugin path $plugin_path = plugin_dir_path( __FILE__ ) . 'wp-user-avatars/'; // Required files require_once $plugin_path . 'includes/admin.php'; require_once $plugin_path . 'includes/ajax.php'; require_once $plugin_path . 'includes/capabilities.php'; require_once $plugin_path . 'includes/common.php'; require_once $plugin_path . 'includes/errors.php'; require_once $plugin_path . 'includes/metabox.php'; require_once $plugin_path . 'includes/sponsor.php'; require_once $plugin_path . 'includes/uninstall.php'; require_once $plugin_path . 'includes/hooks.php'; // Load translations load_plugin_textdomain( 'wp-user-avatars', false, $plugin_path . 'assets/languages/' ); } add_action( 'plugins_loaded', '_wp_user_avatars' ); /** * Return the plugin URL * * @since 0.1.0 * * @return string */ function wp_user_avatars_get_plugin_url() { return plugin_dir_url( __FILE__ ) . 'wp-user-avatars/'; } /** * Return the asset version * * @since 0.1.0 * * @return int */ function wp_user_avatars_get_asset_version() { return defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? time() : 202105290001; }
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Génération de la page: 0 |
proxy
|
phpinfo
|
Réglages