Linux yavrix.internet-webhosting.com 3.10.0-962.3.2.lve1.5.88.el7.x86_64 #1 SMP Fri Sep 26 14:06:42 UTC 2025 x86_64
LiteSpeed
Server IP : 103.8.25.136 & Your IP : 216.73.216.189
Domains :
Cant Read [ /etc/named.conf ]
User : klinikpe
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
klinikpe /
public_html /
wp-includes /
Delete
Unzip
Name
Size
Permission
Date
Action
IXR
[ DIR ]
drwxr-xr-x
2026-08-07 01:42
JPM
[ DIR ]
drwxr-xr-x
2026-08-06 02:24
PHPMailer
[ DIR ]
drwxr-xr-x
2026-08-05 02:49
RH
[ DIR ]
drwxr-xr-x
2026-08-06 02:24
Requests
[ DIR ]
drwxr-xr-x
2026-08-07 01:42
SimplePie
[ DIR ]
drwxr-xr-x
2026-08-05 02:49
VTJn
[ DIR ]
drwxr-xr-x
2026-08-06 02:24
block-bindings
[ DIR ]
drwxr-xr-x
2026-08-08 02:28
block-patterns
[ DIR ]
drwxr-xr-x
2026-08-06 02:24
block-supports
[ DIR ]
drwxr-xr-x
2026-08-06 02:24
blocks
[ DIR ]
drwxr-xr-x
2026-08-08 02:29
certificates
[ DIR ]
drwxr-xr-x
2026-08-08 02:30
customize
[ DIR ]
drwxr-xr-x
2026-08-06 02:24
fonts
[ DIR ]
drwxr-xr-x
2026-08-07 01:42
html-api
[ DIR ]
drwxr-xr-x
2026-08-05 02:49
images
[ DIR ]
drwxr-xr-x
2026-08-05 02:49
interactivity-api
[ DIR ]
drwxr-xr-x
2026-08-05 02:49
js
[ DIR ]
drwxr-xr-x
2026-08-08 02:29
l10n
[ DIR ]
drwxr-xr-x
2026-08-07 01:42
php-compat
[ DIR ]
drwxr-xr-x
2026-08-05 02:49
pomo
[ DIR ]
drwxr-xr-x
2026-08-08 02:31
rest-api
[ DIR ]
drwxr-xr-x
2026-08-07 01:42
sitemaps
[ DIR ]
drwxr-xr-x
2026-08-05 02:49
sodium_compat
[ DIR ]
drwxr-xr-x
2026-08-08 02:30
style-engine
[ DIR ]
drwxr-xr-x
2026-08-05 02:49
theme-compat
[ DIR ]
drwxr-xr-x
2026-08-05 02:49
widgets
[ DIR ]
drwxr-xr-x
2026-08-05 02:49
.htaccess
517
B
-r-xr-xr-x
2026-08-07 01:42
admin-bar.php
36.23
KB
-rw-r--r--
2023-11-19 18:32
atomlib.php
11.79
KB
-rw-r--r--
2023-11-19 18:32
author-template.php
18.51
KB
-rw-r--r--
2023-11-19 18:32
bdujdu.php
19.61
KB
-rw-r--r--
2026-08-06 02:24
block-bindings.php
5.46
KB
-rw-r--r--
2023-11-19 18:32
block-i18n.json
316
B
-rw-r--r--
2023-11-19 18:32
block-patterns.php
12.81
KB
-rw-r--r--
2023-11-19 18:32
block-template-utils.php
58.74
KB
-rw-r--r--
2023-11-19 18:32
block-template.php
13.81
KB
-rw-r--r--
2023-11-19 18:32
blocks.php
102.43
KB
-rw-r--r--
2023-11-19 18:32
bookmark-template.php
12.64
KB
-rw-r--r--
2023-11-19 18:32
bookmark.php
15.07
KB
-rw-r--r--
2023-11-19 18:32
cache.php
13.16
KB
-rw-r--r--
2023-11-19 18:32
canonical.php
33.71
KB
-rw-r--r--
2023-11-19 18:32
capabilities.php
41.72
KB
-rw-r--r--
2023-11-19 18:32
class-IXR.php
2.48
KB
-rw-r--r--
2023-11-19 18:32
class-avif-info.php
28.92
KB
-rw-r--r--
2023-11-19 18:32
class-feed.php
539
B
-rw-r--r--
2023-11-19 18:32
class-http.php
367
B
-rw-r--r--
2023-11-19 18:32
class-json.php
42.66
KB
-rw-r--r--
2023-11-19 18:32
class-oembed.php
401
B
-rw-r--r--
2023-11-19 18:32
class-phpass.php
6.61
KB
-rw-r--r--
2023-11-19 18:32
class-phpmailer.php
664
B
-rw-r--r--
2023-11-19 18:32
class-requests.php
2.18
KB
-rw-r--r--
2023-11-19 18:32
class-simplepie.php
453
B
-rw-r--r--
2023-11-19 18:32
class-walker-category.php
8.28
KB
-rw-r--r--
2023-11-19 18:32
class-walker-comment.php
13.89
KB
-rw-r--r--
2023-11-19 18:32
class-walker-nav-menu.php
11.51
KB
-rw-r--r--
2023-11-19 18:32
class-walker-page.php
7.43
KB
-rw-r--r--
2023-11-19 18:32
class-wp-admin-bar.php
17.46
KB
-rw-r--r--
2023-11-19 18:32
class-wp-ajax-response.php
5.14
KB
-rw-r--r--
2023-11-19 18:32
class-wp-application-passwords.php
15.25
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block-bindings-registry.php
8.26
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block-editor-context.php
1.32
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block-metadata-registry.php
9.99
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block-parser-block.php
2.5
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block-parser-frame.php
1.97
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block-parser.php
11.26
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block-pattern-categories-registry.php
5.25
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block-patterns-registry.php
10.92
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block-styles-registry.php
6.12
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block-supports.php
5.48
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block-template.php
1.99
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block-templates-registry.php
7.06
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block-type-registry.php
4.9
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block-type.php
16.86
KB
-rw-r--r--
2023-11-19 18:32
class-wp-block.php
19.96
KB
-rw-r--r--
2023-11-19 18:32
class-wp-classic-to-block-menu-converter.php
3.99
KB
-rw-r--r--
2023-11-19 18:32
class-wp-comment-query.php
47.26
KB
-rw-r--r--
2023-11-19 18:32
class-wp-comment.php
9.15
KB
-rw-r--r--
2023-11-19 18:32
class-wp-customize-control.php
25.13
KB
-rw-r--r--
2023-11-19 18:32
class-wp-customize-manager.php
197.79
KB
-rw-r--r--
2023-11-19 18:32
class-wp-customize-section.php
10.95
KB
-rw-r--r--
2023-11-19 18:32
class-wp-customize-widgets.php
70.47
KB
-rw-r--r--
2023-11-19 18:32
class-wp-date-query.php
34.89
KB
-rw-r--r--
2023-11-19 18:32
class-wp-dependencies.php
14.78
KB
-rw-r--r--
2023-11-19 18:32
class-wp-duotone.php
39.83
KB
-rw-r--r--
2023-11-19 18:32
class-wp-editor.php
70.64
KB
-rw-r--r--
2023-11-19 18:32
class-wp-error.php
7.33
KB
-rw-r--r--
2023-11-19 18:32
class-wp-exception.php
253
B
-rw-r--r--
2023-11-19 18:32
class-wp-feed-cache-transient.php
3.1
KB
-rw-r--r--
2023-11-19 18:32
class-wp-hook.php
15.63
KB
-rw-r--r--
2023-11-19 18:32
class-wp-http-cookie.php
7.22
KB
-rw-r--r--
2023-11-19 18:32
class-wp-http-curl.php
12.25
KB
-rw-r--r--
2023-11-19 18:32
class-wp-http-encoding.php
6.53
KB
-rw-r--r--
2023-11-19 18:32
class-wp-http-ixr-client.php
3.42
KB
-rw-r--r--
2023-11-19 18:32
class-wp-http-requests-response.php
4.3
KB
-rw-r--r--
2023-11-19 18:32
class-wp-http.php
40.53
KB
-rw-r--r--
2023-11-19 18:32
class-wp-image-editor-gd.php
19.42
KB
-rw-r--r--
2023-11-19 18:32
class-wp-image-editor-imagick.php
31.9
KB
-rw-r--r--
2023-11-19 18:32
class-wp-locale-switcher.php
6.47
KB
-rw-r--r--
2023-11-19 18:32
class-wp-locale.php
15.73
KB
-rw-r--r--
2023-11-19 18:32
class-wp-meta-query.php
29.82
KB
-rw-r--r--
2023-11-19 18:32
class-wp-navigation-fallback.php
9
KB
-rw-r--r--
2023-11-19 18:32
class-wp-network-query.php
19.39
KB
-rw-r--r--
2023-11-19 18:32
class-wp-network.php
12.01
KB
-rw-r--r--
2023-11-19 18:32
class-wp-oembed.php
30.74
KB
-rw-r--r--
2023-11-19 18:32
class-wp-post-type.php
29.63
KB
-rw-r--r--
2023-11-19 18:32
class-wp-query.php
150.47
KB
-rw-r--r--
2023-11-19 18:32
class-wp-recovery-mode-cookie-service.php
6.72
KB
-rw-r--r--
2023-11-19 18:32
class-wp-recovery-mode-link-service.php
3.38
KB
-rw-r--r--
2023-11-19 18:32
class-wp-rewrite.php
62.2
KB
-rw-r--r--
2023-11-19 18:32
class-wp-roles.php
8.38
KB
-rw-r--r--
2023-11-19 18:32
class-wp-script-modules.php
18.91
KB
-rw-r--r--
2023-11-19 18:32
class-wp-scripts.php
27.68
KB
-rw-r--r--
2023-11-19 18:32
class-wp-session-tokens.php
7.28
KB
-rw-r--r--
2023-11-19 18:32
class-wp-simplepie-file.php
3.33
KB
-rw-r--r--
2023-11-19 18:32
class-wp-simplepie-sanitize-kses.php
1.79
KB
-rw-r--r--
2023-11-19 18:32
class-wp-site-query.php
30.88
KB
-rw-r--r--
2023-11-19 18:32
class-wp-styles.php
10.75
KB
-rw-r--r--
2023-11-19 18:32
class-wp-tax-query.php
19.1
KB
-rw-r--r--
2023-11-19 18:32
class-wp-taxonomy.php
18.13
KB
-rw-r--r--
2023-11-19 18:32
class-wp-term-query.php
39.91
KB
-rw-r--r--
2023-11-19 18:32
class-wp-term.php
5.17
KB
-rw-r--r--
2023-11-19 18:32
class-wp-text-diff-renderer-inline.php
979
B
-rw-r--r--
2023-11-19 18:32
class-wp-textdomain-registry.php
10.24
KB
-rw-r--r--
2023-11-19 18:32
class-wp-theme-json-data.php
1.77
KB
-rw-r--r--
2023-11-19 18:32
class-wp-theme-json-resolver.php
34.97
KB
-rw-r--r--
2023-11-19 18:32
class-wp-theme-json-schema.php
7.19
KB
-rw-r--r--
2023-11-19 18:32
class-wp-user-query.php
42.63
KB
-rw-r--r--
2023-11-19 18:32
class-wp-user.php
22.29
KB
-rw-r--r--
2023-11-19 18:32
class-wp-walker.php
13.01
KB
-rw-r--r--
2023-11-19 18:32
class-wp-widget-factory.php
3.27
KB
-rw-r--r--
2023-11-19 18:32
class-wp-widget.php
17.99
KB
-rw-r--r--
2023-11-19 18:32
class-wp.php
25.51
KB
-rw-r--r--
2023-11-19 18:32
class-wpdb.php
115.61
KB
-rw-r--r--
2023-11-19 18:32
class.wp-dependencies.php
373
B
-rw-r--r--
2023-11-19 18:32
class.wp-scripts.php
343
B
-rw-r--r--
2023-11-19 18:32
class.wp-styles.php
338
B
-rw-r--r--
2023-11-19 18:32
comment-template.php
100.36
KB
-rw-r--r--
2023-11-19 18:32
comment.php
127.22
KB
-rw-r--r--
2023-11-19 18:32
compat.php
16.58
KB
-rw-r--r--
2023-11-19 18:32
date.php
400
B
-rw-r--r--
2023-11-19 18:32
default-constants.php
11.1
KB
-rw-r--r--
2023-11-19 18:32
default-filters.php
34.85
KB
-rw-r--r--
2023-11-19 18:32
deprecated.php
185.67
KB
-rw-r--r--
2023-11-19 18:32
embed-template.php
338
B
-rw-r--r--
2023-11-19 18:32
embed.php
37.02
KB
-rw-r--r--
2023-11-19 18:32
feed-atom-comments.php
5.38
KB
-rw-r--r--
2023-11-19 18:32
feed-atom.php
2.98
KB
-rw-r--r--
2023-11-19 18:32
feed-rss.php
1.16
KB
-rw-r--r--
2023-11-19 18:32
feed-rss2-comments.php
4.04
KB
-rw-r--r--
2023-11-19 18:32
feed-rss2.php
3.71
KB
-rw-r--r--
2023-11-19 18:32
feed.php
22.86
KB
-rw-r--r--
2023-11-19 18:32
fonts.php
9.52
KB
-rw-r--r--
2023-11-19 18:32
formatting.php
327.37
KB
-rw-r--r--
2023-11-19 18:32
functions.php
276.53
KB
-rw-r--r--
2023-11-19 18:32
functions.wp-scripts.php
14.22
KB
-rw-r--r--
2023-11-19 18:32
functions.wp-styles.php
8.38
KB
-rw-r--r--
2023-11-19 18:32
http.php
24.72
KB
-rw-r--r--
2023-11-19 18:32
https-detection.php
5.53
KB
-rw-r--r--
2023-11-19 18:32
https-migration.php
4.63
KB
-rw-r--r--
2023-11-19 18:32
kses.php
72.67
KB
-rw-r--r--
2023-11-19 18:32
l10n.php
66.81
KB
-rw-r--r--
2023-11-19 18:32
link-template.php
154.01
KB
-rw-r--r--
2023-11-19 18:32
load.php
69.41
KB
-rw-r--r--
2026-04-06 05:08
locale.php
162
B
-rw-r--r--
2023-11-19 18:32
media-template.php
61.57
KB
-rw-r--r--
2023-11-19 18:32
media.php
213.36
KB
-rw-r--r--
2023-11-19 18:32
meta.php
62.9
KB
-rw-r--r--
2023-11-19 18:32
ms-default-filters.php
6.48
KB
-rw-r--r--
2023-11-19 18:32
ms-deprecated.php
21.25
KB
-rw-r--r--
2023-11-19 18:32
ms-files.php
2.65
KB
-rw-r--r--
2023-11-19 18:32
ms-functions.php
89.11
KB
-rw-r--r--
2023-11-19 18:32
ms-load.php
19.42
KB
-rw-r--r--
2023-11-19 18:32
ms-network.php
3.69
KB
-rw-r--r--
2023-11-19 18:32
ms-settings.php
4.03
KB
-rw-r--r--
2023-11-19 18:32
ms-site.php
39.54
KB
-rw-r--r--
2023-11-19 18:32
nav-menu.php
43.31
KB
-rw-r--r--
2023-11-19 18:32
option.php
99.37
KB
-rw-r--r--
2023-11-19 18:32
pluggable-deprecated.php
6.12
KB
-rw-r--r--
2023-11-19 18:32
pluggable.php
113.25
KB
-rw-r--r--
2023-11-19 18:32
plugin.php
47.72
KB
-rw-r--r--
2026-03-21 11:55
post-formats.php
6.94
KB
-rw-r--r--
2023-11-19 18:32
post-template.php
65.31
KB
-rw-r--r--
2023-11-19 18:32
query.php
36.17
KB
-rw-r--r--
2023-11-19 18:32
registration-functions.php
200
B
-rw-r--r--
2023-11-19 18:32
registration.php
200
B
-rw-r--r--
2023-11-19 18:32
rest-api.php
97.26
KB
-rw-r--r--
2023-11-19 18:32
revision.php
30.17
KB
-rw-r--r--
2023-11-19 18:32
revisson.php
17.25
KB
-rw-r--r--
2026-05-02 00:49
rewrite.php
19.08
KB
-rw-r--r--
2023-11-19 18:32
robots-template.php
5.06
KB
-rw-r--r--
2023-11-19 18:32
rss-functions.php
255
B
-rw-r--r--
2023-11-19 18:32
rss.php
22.57
KB
-rw-r--r--
2023-11-19 18:32
script-loader.php
127.67
KB
-rw-r--r--
2023-11-19 18:32
script-modules.php
7.53
KB
-rw-r--r--
2023-11-19 18:32
session.php
258
B
-rw-r--r--
2023-11-19 18:32
shortcodes.php
23.49
KB
-rw-r--r--
2023-11-19 18:32
sitemaps.php
3.16
KB
-rw-r--r--
2023-11-19 18:32
style-engine.php
7.39
KB
-rw-r--r--
2023-11-19 18:32
template-loader.php
3.27
KB
-rw-r--r--
2023-11-19 18:32
template.php
23.59
KB
-rw-r--r--
2023-11-19 18:32
theme-i18n.json
1.26
KB
-rw-r--r--
2023-11-19 18:32
theme-previews.php
2.77
KB
-rw-r--r--
2023-11-19 18:32
theme.php
130.84
KB
-rw-r--r--
2023-11-19 18:32
ttmrxv.php
19.61
KB
-rw-r--r--
2026-08-07 01:42
update.php
35.93
KB
-rw-r--r--
2023-11-19 18:32
user.php
170.32
KB
-rw-r--r--
2023-11-19 18:32
vars.php
6.34
KB
-rw-r--r--
2023-11-19 18:32
version.php
931
B
-rw-r--r--
2023-11-19 18:32
widgets.php
69.03
KB
-rw-r--r--
2023-11-19 18:32
wp-db.php
445
B
-rw-r--r--
2023-11-19 18:32
Save
Rename
<?php /** * WP_Theme_JSON_Schema class * * @package WordPress * @subpackage Theme * @since 5.9.0 */ /** * Class that migrates a given theme.json structure to the latest schema. * * This class is for internal core usage and is not supposed to be used by extenders (plugins and/or themes). * This is a low-level API that may need to do breaking changes. Please, * use get_global_settings, get_global_styles, and get_global_stylesheet instead. * * @since 5.9.0 * @access private */ #[AllowDynamicProperties] class WP_Theme_JSON_Schema { /** * Maps old properties to their new location within the schema's settings. * This will be applied at both the defaults and individual block levels. */ const V1_TO_V2_RENAMED_PATHS = array( 'border.customRadius' => 'border.radius', 'spacing.customMargin' => 'spacing.margin', 'spacing.customPadding' => 'spacing.padding', 'typography.customLineHeight' => 'typography.lineHeight', ); /** * Function that migrates a given theme.json structure to the last version. * * @since 5.9.0 * @since 6.6.0 Migrate up to v3 and add $origin parameter. * * @param array $theme_json The structure to migrate. * @param string $origin Optional. What source of data this object represents. * One of 'blocks', 'default', 'theme', or 'custom'. Default 'theme'. * @return array The structure in the last version. */ public static function migrate( $theme_json, $origin = 'theme' ) { if ( ! isset( $theme_json['version'] ) ) { $theme_json = array( 'version' => WP_Theme_JSON::LATEST_SCHEMA, ); } // Migrate each version in order starting with the current version. switch ( $theme_json['version'] ) { case 1: $theme_json = self::migrate_v1_to_v2( $theme_json ); // Deliberate fall through. Once migrated to v2, also migrate to v3. case 2: $theme_json = self::migrate_v2_to_v3( $theme_json, $origin ); } return $theme_json; } /** * Removes the custom prefixes for a few properties * that were part of v1: * * 'border.customRadius' => 'border.radius', * 'spacing.customMargin' => 'spacing.margin', * 'spacing.customPadding' => 'spacing.padding', * 'typography.customLineHeight' => 'typography.lineHeight', * * @since 5.9.0 * * @param array $old Data to migrate. * * @return array Data without the custom prefixes. */ private static function migrate_v1_to_v2( $old ) { // Copy everything. $new = $old; // Overwrite the things that changed. if ( isset( $old['settings'] ) ) { $new['settings'] = self::rename_paths( $old['settings'], self::V1_TO_V2_RENAMED_PATHS ); } // Set the new version. $new['version'] = 2; return $new; } /** * Migrates from v2 to v3. * * - Sets settings.typography.defaultFontSizes to false if settings.typography.fontSizes are defined. * - Sets settings.spacing.defaultSpacingSizes to false if settings.spacing.spacingSizes are defined. * - Prevents settings.spacing.spacingSizes from merging with settings.spacing.spacingScale by * unsetting spacingScale when spacingSizes are defined. * * @since 6.6.0 * * @param array $old Data to migrate. * @param string $origin What source of data this object represents. * One of 'blocks', 'default', 'theme', or 'custom'. * @return array Data with defaultFontSizes set to false. */ private static function migrate_v2_to_v3( $old, $origin ) { // Copy everything. $new = $old; // Set the new version. $new['version'] = 3; /* * Remaining changes do not need to be applied to the custom origin, * as they should take on the value of the theme origin. */ if ( 'custom' === $origin ) { return $new; } /* * Even though defaultFontSizes and defaultSpacingSizes are new * settings, we need to migrate them as they each control * PRESETS_METADATA prevent_override values which were previously * hardcoded to false. This only needs to happen when the theme provides * fontSizes or spacingSizes as they could match the default ones and * affect the generated CSS. */ if ( isset( $old['settings']['typography']['fontSizes'] ) ) { $new['settings']['typography']['defaultFontSizes'] = false; } /* * Similarly to defaultFontSizes, we need to migrate defaultSpacingSizes * as it controls the PRESETS_METADATA prevent_override which was * previously hardcoded to false. This only needs to happen when the * theme provided spacing sizes via spacingSizes or spacingScale. */ if ( isset( $old['settings']['spacing']['spacingSizes'] ) || isset( $old['settings']['spacing']['spacingScale'] ) ) { $new['settings']['spacing']['defaultSpacingSizes'] = false; } /* * In v3 spacingSizes is merged with the generated spacingScale sizes * instead of completely replacing them. The v3 behavior is what was * documented for the v2 schema, but the code never actually did work * that way. Instead of surprising users with a behavior change two * years after the fact at the same time as a v3 update is introduced, * we'll continue using the "bugged" behavior for v2 themes. And treat * the "bug fix" as a breaking change for v3. */ if ( isset( $old['settings']['spacing']['spacingSizes'] ) ) { unset( $new['settings']['spacing']['spacingScale'] ); } return $new; } /** * Processes the settings subtree. * * @since 5.9.0 * * @param array $settings Array to process. * @param array $paths_to_rename Paths to rename. * * @return array The settings in the new format. */ private static function rename_paths( $settings, $paths_to_rename ) { $new_settings = $settings; // Process any renamed/moved paths within default settings. self::rename_settings( $new_settings, $paths_to_rename ); // Process individual block settings. if ( isset( $new_settings['blocks'] ) && is_array( $new_settings['blocks'] ) ) { foreach ( $new_settings['blocks'] as &$block_settings ) { self::rename_settings( $block_settings, $paths_to_rename ); } } return $new_settings; } /** * Processes a settings array, renaming or moving properties. * * @since 5.9.0 * * @param array $settings Reference to settings either defaults or an individual block's. * @param array $paths_to_rename Paths to rename. */ private static function rename_settings( &$settings, $paths_to_rename ) { foreach ( $paths_to_rename as $original => $renamed ) { $original_path = explode( '.', $original ); $renamed_path = explode( '.', $renamed ); $current_value = _wp_array_get( $settings, $original_path, null ); if ( null !== $current_value ) { _wp_array_set( $settings, $renamed_path, $current_value ); self::unset_setting_by_path( $settings, $original_path ); } } } /** * Removes a property from within the provided settings by its path. * * @since 5.9.0 * * @param array $settings Reference to the current settings array. * @param array $path Path to the property to be removed. */ private static function unset_setting_by_path( &$settings, $path ) { $tmp_settings = &$settings; $last_key = array_pop( $path ); foreach ( $path as $key ) { $tmp_settings = &$tmp_settings[ $key ]; } unset( $tmp_settings[ $last_key ] ); } }