[ SYSTEM ]: Linux wordpress 6.1.0-44-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
[ SERVER ]: Apache/2.4.66 (Debian) | PHP: 8.2.30
[ USER ]: www-data | IP: 172.19.30.54
GEFORCE FILE MANAGER
/
var
/
www
/
html
/
wordpress
/
wp-content
/
plugins
/
elementor
/
modules
/
editor-one
/
classes
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 active-menu-resolver.php
2,722 B
SET
[ EDIT ]
|
[ DEL ]
📄 editor-one-pointer.php
2,581 B
SET
[ EDIT ]
|
[ DEL ]
📄 legacy-submenu-interceptor.php
4,762 B
SET
[ EDIT ]
|
[ DEL ]
📄 menu-config.php
4,188 B
SET
[ EDIT ]
|
[ DEL ]
📄 menu-data-provider.php
15,899 B
SET
[ EDIT ]
|
[ DEL ]
📄 slug-normalizer.php
785 B
SET
[ EDIT ]
|
[ DEL ]
📄 url-matcher.php
1,203 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: slug-normalizer.php
<?php namespace Elementor\Modules\EditorOne\Classes; if ( ! defined( 'ABSPATH' ) ) { exit; } class Slug_Normalizer { public function normalize( string $slug ): string { if ( 0 !== strpos( $slug, 'http' ) ) { return $slug; } $parsed = wp_parse_url( $slug ); $path = basename( $parsed['path'] ?? '' ); if ( ! empty( $parsed['query'] ) ) { $path .= '?' . $parsed['query']; } if ( ! empty( $parsed['fragment'] ) ) { $path .= '#' . $parsed['fragment']; } return $path; } public function is_excluded( string $item_slug, array $excluded_slugs ): bool { if ( in_array( $item_slug, $excluded_slugs, true ) ) { return true; } $normalized_slug = $this->normalize( $item_slug ); return in_array( $normalized_slug, $excluded_slugs, true ); } }