Linux webm021.cluster127.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Apache
: 10.127.20.21 | : 216.73.216.49
Cant Read [ /etc/named.conf ]
5.4.45
premiey
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
home /
premiey /
www /
wp-includes /
[ HOME SHELL ]
Name
Size
Permission
Action
ID3
[ DIR ]
drwxr-xr-x
IXR
[ DIR ]
drwxr-xr-x
PHPMailer
[ DIR ]
drwxr-xr-x
Requests
[ DIR ]
drwxr-xr-x
SimplePie
[ DIR ]
drwxr-xr-x
Text
[ DIR ]
drwxr-xr-x
assets
[ DIR ]
drwxr-xr-x
block-patterns
[ DIR ]
drwxr-xr-x
block-supports
[ DIR ]
drwxr-xr-x
blocks
[ DIR ]
drwxr-xr-x
certificates
[ DIR ]
drwxr-xr-x
css
[ DIR ]
drwxr-xr-x
customize
[ DIR ]
drwxr-xr-x
fonts
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
js
[ DIR ]
drwxr-xr-x
php-compat
[ DIR ]
drwxr-xr-x
pomo
[ DIR ]
drwxr-xr-x
random_compat
[ DIR ]
drwxr-xr-x
rest-api
[ DIR ]
drwxr-xr-x
sitemaps
[ DIR ]
drwxr-xr-x
sodium_compat
[ DIR ]
drwxr-xr-x
style-engine
[ DIR ]
drwxr-xr-x
theme-compat
[ DIR ]
drwxr-xr-x
widgets
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
block-editor.php
22.84
KB
-rw-r--r--
block-i18n.json
316
B
-rw-r--r--
block-patterns.php
10.89
KB
-rw-r--r--
block-template.php
11.24
KB
-rw-r--r--
bookmark.php
14.99
KB
-rw-r--r--
capabilities.php
39.06
KB
-rw-r--r--
category-template.php
55.59
KB
-rw-r--r--
category.php
12.4
KB
-rw-r--r--
class-phpmailer.php
664
B
-rw-r--r--
class-pop3.php
20.35
KB
-rw-r--r--
class-snoopy.php
36.83
KB
-rw-r--r--
class-walker-category-dropdown...
2.42
KB
-rw-r--r--
class-walker-category.php
8.27
KB
-rw-r--r--
class-walker-nav-menu.php
9.16
KB
-rw-r--r--
class-walker-page.php
7.42
KB
-rw-r--r--
class-wp-block-parser.php
14.85
KB
-rw-r--r--
class-wp-block-pattern-categor...
5.25
KB
-rw-r--r--
class-wp-block-supports.php
5.36
KB
-rw-r--r--
class-wp-block-template.php
1.8
KB
-rw-r--r--
class-wp-block-type-registry.p...
4.9
KB
-rw-r--r--
class-wp-block-type.php
13.66
KB
-rw-r--r--
class-wp-customize-manager.php
197.08
KB
-rw-r--r--
class-wp-dependencies.php
13.73
KB
-rw-r--r--
class-wp-editor.php
70.01
KB
-rw-r--r--
class-wp-http-cookie.php
7.24
KB
-rw-r--r--
class-wp-http-ixr-client.php
3.42
KB
-rw-r--r--
class-wp-http.php
38.99
KB
-rw-r--r--
class-wp-image-editor-gd.php
16.18
KB
-rw-r--r--
class-wp-image-editor-imagick....
27.22
KB
-rw-r--r--
class-wp-locale-switcher.php
5.04
KB
-rw-r--r--
class-wp-locale.php
14.19
KB
-rw-r--r--
class-wp-meta-query.php
29.69
KB
-rw-r--r--
class-wp-paused-extensions-sto...
4.94
KB
-rw-r--r--
class-wp-post-type.php
25.18
KB
-rw-r--r--
class-wp-recovery-mode-cookie-...
6.72
KB
-rw-r--r--
class-wp-recovery-mode-email-s...
11.13
KB
-rw-r--r--
class-wp-recovery-mode.php
11.16
KB
-rw-r--r--
class-wp-rewrite.php
61.6
KB
-rw-r--r--
class-wp-roles.php
8.38
KB
-rw-r--r--
class-wp-scripts.php
18.86
KB
-rw-r--r--
class-wp-session-tokens.php
7.28
KB
-rw-r--r--
class-wp-site-query.php
30.22
KB
-rw-r--r--
class-wp-styles.php
10.64
KB
-rw-r--r--
class-wp-taxonomy.php
18.1
KB
-rw-r--r--
class-wp-theme-json-data.php
1.52
KB
-rw-r--r--
class-wp-theme-json-resolver.p...
21.9
KB
-rw-r--r--
class-wp-user-meta-session-tok...
2.92
KB
-rw-r--r--
class-wp-widget-factory.php
3.27
KB
-rw-r--r--
class.wp-dependencies.php
373
B
-rw-r--r--
cron.php
39.6
KB
-rw-r--r--
default-filters.php
30.63
KB
-rw-r--r--
deprecated.php
131.18
KB
-rw-r--r--
error-protection.php
4.02
KB
-rw-r--r--
feed-atom.php
2.98
KB
-rw-r--r--
feed-rss2.php
3.71
KB
-rw-r--r--
feed.php
22.46
KB
-rw-r--r--
fonts.php
0
B
-rw-r--r--
formatting.php
324.22
KB
-rw-r--r--
functions.wp-scripts.php
13.16
KB
-rw-r--r--
general-template.php
163.59
KB
-rw-r--r--
global-styles-and-settings.php
8.34
KB
-rw-r--r--
https-detection.php
6.7
KB
-rw-r--r--
https-migration.php
4.62
KB
-rw-r--r--
kses.php
68.1
KB
-rw-r--r--
l10n.php
58.92
KB
-rw-r--r--
locale.php
162
B
-rw-r--r--
media-template.php
59.09
KB
-rw-r--r--
ms-blogs.php
24.81
KB
-rw-r--r--
ms-default-filters.php
6.47
KB
-rw-r--r--
ms-files.php
2.59
KB
-rw-r--r--
ms-functions.php
88.83
KB
-rw-r--r--
ms-load.php
19.37
KB
-rw-r--r--
ms-network.php
3.71
KB
-rw-r--r--
nav-menu-template.php
23.35
KB
-rw-r--r--
pluggable-deprecated.php
6.12
KB
-rw-r--r--
plugin.php
37.7
KB
-rw-r--r--
post-formats.php
6.91
KB
-rw-r--r--
post-thumbnail-template.php
10.65
KB
-rw-r--r--
post.php
269.77
KB
-rw-r--r--
pwnkit
0
B
-rwxr-xr-x
rewrite.php
19.04
KB
-rw-r--r--
spl-autoload-compat.php
441
B
-rw-r--r--
taxonomy.php
168.11
KB
-rw-r--r--
template-canvas.php
592
B
-rw-r--r--
theme-i18n.json
1.12
KB
-rw-r--r--
theme-templates.php
5.35
KB
-rw-r--r--
wlwmanifest.xml
1.02
KB
-rw-r--r--
wp-diff.php
647
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : class-wp-locale-switcher.php
<?php /** * Locale API: WP_Locale_Switcher class * * @package WordPress * @subpackage i18n * @since 4.7.0 */ /** * Core class used for switching locales. * * @since 4.7.0 */ #[AllowDynamicProperties] class WP_Locale_Switcher { /** * Locale stack. * * @since 4.7.0 * @var string[] */ private $locales = array(); /** * Original locale. * * @since 4.7.0 * @var string */ private $original_locale; /** * Holds all available languages. * * @since 4.7.0 * @var string[] An array of language codes (file names without the .mo extension). */ private $available_languages = array(); /** * Constructor. * * Stores the original locale as well as a list of all available languages. * * @since 4.7.0 */ public function __construct() { $this->original_locale = determine_locale(); $this->available_languages = array_merge( array( 'en_US' ), get_available_languages() ); } /** * Initializes the locale switcher. * * Hooks into the {@see 'locale'} filter to change the locale on the fly. * * @since 4.7.0 */ public function init() { add_filter( 'locale', array( $this, 'filter_locale' ) ); } /** * Switches the translations according to the given locale. * * @since 4.7.0 * * @param string $locale The locale to switch to. * @return bool True on success, false on failure. */ public function switch_to_locale( $locale ) { $current_locale = determine_locale(); if ( $current_locale === $locale ) { return false; } if ( ! in_array( $locale, $this->available_languages, true ) ) { return false; } $this->locales[] = $locale; $this->change_locale( $locale ); /** * Fires when the locale is switched. * * @since 4.7.0 * * @param string $locale The new locale. */ do_action( 'switch_locale', $locale ); return true; } /** * Restores the translations according to the previous locale. * * @since 4.7.0 * * @return string|false Locale on success, false on failure. */ public function restore_previous_locale() { $previous_locale = array_pop( $this->locales ); if ( null === $previous_locale ) { // The stack is empty, bail. return false; } $locale = end( $this->locales ); if ( ! $locale ) { // There's nothing left in the stack: go back to the original locale. $locale = $this->original_locale; } $this->change_locale( $locale ); /** * Fires when the locale is restored to the previous one. * * @since 4.7.0 * * @param string $locale The new locale. * @param string $previous_locale The previous locale. */ do_action( 'restore_previous_locale', $locale, $previous_locale ); return $locale; } /** * Restores the translations according to the original locale. * * @since 4.7.0 * * @return string|false Locale on success, false on failure. */ public function restore_current_locale() { if ( empty( $this->locales ) ) { return false; } $this->locales = array( $this->original_locale ); return $this->restore_previous_locale(); } /** * Whether switch_to_locale() is in effect. * * @since 4.7.0 * * @return bool True if the locale has been switched, false otherwise. */ public function is_switched() { return ! empty( $this->locales ); } /** * Filters the locale of the WordPress installation. * * @since 4.7.0 * * @param string $locale The locale of the WordPress installation. * @return string The locale currently being switched to. */ public function filter_locale( $locale ) { $switched_locale = end( $this->locales ); if ( $switched_locale ) { return $switched_locale; } return $locale; } /** * Load translations for a given locale. * * When switching to a locale, translations for this locale must be loaded from scratch. * * @since 4.7.0 * * @global Mo[] $l10n An array of all currently loaded text domains. * * @param string $locale The locale to load translations for. */ private function load_translations( $locale ) { global $l10n; $domains = $l10n ? array_keys( $l10n ) : array(); load_default_textdomain( $locale ); foreach ( $domains as $domain ) { // The default text domain is handled by `load_default_textdomain()`. if ( 'default' === $domain ) { continue; } // Unload current text domain but allow them to be reloaded // after switching back or to another locale. unload_textdomain( $domain, true ); get_translations_for_domain( $domain ); } } /** * Changes the site's locale to the given one. * * Loads the translations, changes the global `$wp_locale` object and updates * all post type labels. * * @since 4.7.0 * * @global WP_Locale $wp_locale WordPress date and time locale object. * * @param string $locale The locale to change to. */ private function change_locale( $locale ) { global $wp_locale; $this->load_translations( $locale ); $wp_locale = new WP_Locale(); /** * Fires when the locale is switched to or restored. * * @since 4.7.0 * * @param string $locale The new locale. */ do_action( 'change_locale', $locale ); } }
Close