Файловый менеджер - Редактировать - /var/www/xthruster/html/wp-content/uploads/flags/wp.tar
Назад
screens/class-wpml-wp-options-general-hooks.php 0000644 00000002067 14722060342 0015657 0 ustar 00 <?php class WPML_WP_Options_General_Hooks implements IWPML_Action { public function add_hooks() { add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) ); } public function admin_enqueue_scripts( $hook ) { wp_enqueue_script( 'wpml-options-general', ICL_PLUGIN_URL . '/dist/js/wp-options-general/app.js', array(), ICL_SITEPRESS_VERSION ); $link = '<a href="' . admin_url( 'admin.php?page=' . WPML_PLUGIN_FOLDER . '/menu/languages.php#lang-sec-1' ) . '">' . /* translators: "WPML Site Languages section" is the title of the WPML settings page where administrators can configure the site's languages */ esc_html__( 'WPML Site Languages section', 'sitepress' ) . '</a>'; /* translators: "%s" will be replaced with a link to "WPML Site Languages section" page */ $message = sprintf( __( 'When WPML is activated, the site language should be changed in the %s.', 'sitepress' ), $link ); wp_localize_script( 'wpml-options-general', 'wpmlOptionsGeneral', array( 'languageSelectMessage' => $message ) ); } } screens/class-wpml-wp-options-general-hooks-factory.php 0000644 00000000406 14722060342 0017317 0 ustar 00 <?php class WPML_WP_Options_General_Hooks_Factory extends WPML_Current_Screen_Loader_Factory { protected function get_screen_regex() { return '/^options-general$/'; } protected function create_hooks() { return new WPML_WP_Options_General_Hooks(); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.3-4ubuntu2.24 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка