芝麻web文件管理V1.00
编辑当前文件:/home/royashxg/public_html/wp-content/plugins/envato-elements/envato-elements.php
=' ) ) { add_action( 'admin_notices', 'envato_elements_fail_php_version' ); } elseif ( ! version_compare( get_bloginfo( 'version' ), '4.6', '>=' ) ) { add_action( 'admin_notices', 'envato_elements_fail_wp_version' ); } else { require ENVATO_ELEMENTS_DIR . 'inc/bootstrap.php'; } /** * Load Envato Elements textdomain. * * Load gettext translate for Envato Elements text domain. * * @since 0.0.2 * * @return void */ function envato_elements_load_plugin_textdomain() { load_plugin_textdomain( 'envato-elements' ); } /** * Envato Elements admin notice for minimum PHP version. * * Warning when the site doesn't have the minimum required PHP version. * * @since 0.0.2 * * @return void */ function envato_elements_fail_php_version() { $message = sprintf( /* translators: %s: PHP version */ esc_html__( 'Envato Elements requires PHP version %s+, plugin is currently NOT ACTIVE. Please contact the hosting provider. WordPress recommends version %s.', 'envato-elements' ), ENVATO_ELEMENTS_PHP_VERSION, sprintf( '
%s
', esc_url( 'https://wordpress.org/about/requirements/' ), esc_html__( '7.2 or above', 'envato-elements' ) ) ); $html_message = sprintf( '
%s
', wpautop( $message ) ); echo wp_kses_post( $html_message ); } /** * Envato Elements admin notice for minimum WordPress version. * * Warning when the site doesn't have the minimum required WordPress version . * * @since 0.0.2 * * @return void */ function envato_elements_fail_wp_version() { /* translators: %s: WordPress version */ $message = sprintf( esc_html__( 'Envato Elements requires WordPress version %s+. Because you are using an earlier version, the plugin is currently NOT ACTIVE.', 'envato-elements' ), '4.6' ); $html_message = sprintf( '
%s
', wpautop( $message ) ); echo wp_kses_post( $html_message ); }