📁
SKYSHELL MANAGER
PHP v7.4.33
Create
Create
Path:
root
/
home
/
mountain
/
public_html
/
wp-includes
/
Name
Size
Perm
Actions
📁
customize
-
0755
🗑️
🏷️
🔒
📁
blocks
-
0755
🗑️
🏷️
🔒
📁
theme-compat
-
0755
🗑️
🏷️
🔒
📁
style-engine
-
0755
🗑️
🏷️
🔒
📁
certificates
-
0755
🗑️
🏷️
🔒
📁
sodium_compat
-
0755
🗑️
🏷️
🔒
📁
sitemaps
-
0755
🗑️
🏷️
🔒
📁
css
-
0755
🗑️
🏷️
🔒
📁
rest-api
-
0755
🗑️
🏷️
🔒
📁
block-patterns
-
0755
🗑️
🏷️
🔒
📁
pomo
-
0755
🗑️
🏷️
🔒
📁
php-compat
-
0755
🗑️
🏷️
🔒
📁
fonts
-
0755
🗑️
🏷️
🔒
📁
html-api
-
0755
🗑️
🏷️
🔒
📁
images
-
0755
🗑️
🏷️
🔒
📁
interactivity-api
-
0755
🗑️
🏷️
🔒
📁
js
-
0755
🗑️
🏷️
🔒
📁
block-supports
-
0755
🗑️
🏷️
🔒
📁
l10n
-
0755
🗑️
🏷️
🔒
📁
SimplePie
-
0755
🗑️
🏷️
🔒
📁
Requests
-
0755
🗑️
🏷️
🔒
📁
Text
-
0755
🗑️
🏷️
🔒
📁
PHPMailer
-
0755
🗑️
🏷️
🔒
📁
IXR
-
0755
🗑️
🏷️
🔒
📁
widgets
-
0755
🗑️
🏷️
🔒
📁
assets
-
0755
🗑️
🏷️
🔒
📁
block-bindings
-
0755
🗑️
🏷️
🔒
📁
ID3
-
0755
🗑️
🏷️
🔒
📄
global-styles-and-settings.php
20.76 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
feed-rss2-comments.php
4.04 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
feed-atom-comments.php
5.38 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
kses.php
72.73 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
feed-atom.php
3.05 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-textdomain-registry.php
10.24 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
feed-rdf.php
2.61 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
feed-rss.php
1.16 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-theme-json-resolver.php
34.9 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-theme-json-schema.php
7.19 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
feed-rss2.php
3.71 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
general-template.php
168.56 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
fonts.php
9.52 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
formatting.php
334.88 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
error-protection.php
4.02 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
functions.php
280.92 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
functions.wp-scripts.php
14.22 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
functions.wp-styles.php
8.38 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
error_log
5071.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-user-query.php
42.63 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
embed.php
37.28 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class.wp-dependencies.php
0.36 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-user-meta-session-tokens.php
2.92 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-user.php
22.46 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-walker.php
13.01 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-url-pattern-prefixer.php
4.69 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-widget-factory.php
3.27 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-widget.php
18 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-xmlrpc-server.php
210.39 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-theme.php
64.27 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp.php
25.7 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wpdb.php
115.51 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
l10n.php
66.92 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
embed-template.php
0.33 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class.wp-styles.php
0.33 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
comment-template.php
100.69 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
comment.php
128.46 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
config.php
34.31 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
cron.php
41.78 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-theme-json.php
159.71 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
default-constants.php
11.1 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
default-widgets.php
2.24 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-user-request.php
2.25 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
deprecated.php
187.07 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class.wp-scripts.php
0.33 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
ms-functions.php
89.44 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
link-template.php
154.1 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
template.php
23.59 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
rss.php
22.57 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
script-loader.php
130.14 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
script-modules.php
7.53 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
security.php
34.31 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
session.php
0.25 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
shortcodes.php
23.49 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
sitemaps.php
3.16 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
speculative-loading.php
8.36 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
spl-autoload-compat.php
0.43 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
taxonomy.php
172.1 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
template-canvas.php
0.53 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
theme-i18n.json
1.49 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
robots-template.php
5.06 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
theme-previews.php
2.77 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
theme-templates.php
6.09 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
theme.json
8.5 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
theme.php
131.16 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
update.php
36.62 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
user.php
171.7 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
vars.php
6.41 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
widgets.php
69.06 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-db.php
0.43 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-diff.php
0.78 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-mail.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
rss-functions.php
0.25 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
rewrite.php
19.08 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
load.php
55.12 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
ms-settings.php
4.1 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
locale.php
0.16 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
media-template.php
61.58 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
media.php
215.33 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
meta.php
63.71 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
ms-blogs.php
25.24 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
ms-default-constants.php
4.81 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
ms-default-filters.php
6.48 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
ms-deprecated.php
21.25 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-text-diff-renderer-inline.php
0.96 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
ms-load.php
19.42 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
ms-network.php
3.69 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
ms-site.php
40.35 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
revision.php
30.02 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
nav-menu-template.php
25.38 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
nav-menu.php
43.33 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
option.php
100.65 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
pluggable-deprecated.php
6.18 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
pluggable.php
119.82 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
plugin.php
37.14 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
post-template.php
67.04 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
post-thumbnail-template.php
10.62 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
post.php
284.88 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
query.php
36.17 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
registration-functions.php
0.2 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
registration.php
0.2 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-text-diff-renderer-table.php
18.44 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-site-query.php
30.88 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-term.php
5.17 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-block-list.php
4.65 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-snoopy.php
36.83 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-walker-category-dropdown.php
2.41 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-walker-category.php
8.28 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-walker-comment.php
13.89 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-walker-nav-menu.php
11.76 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-walker-page-dropdown.php
2.65 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-walker-page.php
7.43 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-admin-bar.php
17.46 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-ajax-response.php
5.14 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-application-passwords.php
16.7 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-block-bindings-registry.php
8.26 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-block-editor-context.php
1.32 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-block-metadata-registry.php
11.62 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-simplepie.php
0.44 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-block-parser-block.php
2.5 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-block-parser-frame.php
1.97 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-block-parser.php
11.26 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-block-pattern-categories-registry.php
5.25 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-block-patterns-registry.php
10.53 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-block-supports.php
5.49 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-block-template.php
1.99 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-block-templates-registry.php
7.06 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-block-type-registry.php
4.9 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-block-type.php
16.86 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-block.php
22.5 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-classic-to-block-menu-converter.php
3.99 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-smtp.php
0.45 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-requests.php
2.18 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-comment.php
9.22 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
block-template.php
15 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
.htaccess
0.17 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
8z4tbrr9.php
1.11 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
BDKR.txt
0.05 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
admin.php
34.31 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
api.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
atomlib.php
11.79 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
author-template.php
18.51 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
block-bindings.php
5.46 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
block-editor.php
28.12 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
block-i18n.json
0.31 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
block-patterns.php
12.9 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
block-template-utils.php
60.46 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
blocks.php
110.4 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-pop3.php
20.63 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
bookmark.php
15.07 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
cache-compat.php
5.83 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
cache.php
13.16 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
capabilities.php
41.72 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
category-template.php
55.67 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
category.php
12.53 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-IXR.php
2.55 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-feed.php
0.53 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-json.php
42.66 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-oembed.php
0.39 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-phpass.php
6.61 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-phpmailer.php
0.65 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-comment-query.php
47.26 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-customize-control.php
25.25 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-term-query.php
39.91 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-recovery-mode-link-service.php
3.38 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-network.php
12.01 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-object-cache.php
17.11 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-oembed-controller.php
6.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-oembed.php
30.87 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-paused-extensions-storage.php
4.99 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-plugin-dependencies.php
24.72 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-post-type.php
29.96 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-post.php
6.34 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-query.php
154.32 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-recovery-mode-cookie-service.php
6.72 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-recovery-mode-email-service.php
10.92 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-recovery-mode-key-service.php
4.77 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-recovery-mode.php
11.18 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-navigation-fallback.php
9 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-rewrite.php
62.2 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-role.php
2.46 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-roles.php
8.38 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-scripts.php
27.68 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-session-tokens.php
7.15 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-simplepie-file.php
3.33 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-simplepie-sanitize-kses.php
1.87 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-site.php
7.28 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-speculation-rules.php
7.35 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-styles.php
10.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-tax-query.php
19.1 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-taxonomy.php
18.12 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-network-query.php
19.39 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-meta-query.php
29.82 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-customize-manager.php
197.84 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-feed-cache.php
0.95 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-customize-nav-menus.php
56.07 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-customize-panel.php
10.46 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-customize-section.php
10.95 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-customize-setting.php
29.26 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-dependencies.php
14.78 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-dependency.php
2.57 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-duotone.php
39.83 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-editor.php
70.64 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-embed.php
15.56 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-error.php
7.33 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-exception.php
0.25 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-fatal-error-handler.php
7.96 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-hook.php
15.63 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-matchesmapregex.php
1.79 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-http-cookie.php
7.22 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-http-curl.php
12.25 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-http-encoding.php
6.53 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-http-ixr-client.php
3.42 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-http-proxy.php
5.84 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-http-requests-hooks.php
1.97 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-http-requests-response.php
4.3 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-http.php
40.6 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-image-editor-imagick.php
33.92 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-image-editor.php
17.12 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-list-util.php
7.27 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-locale-switcher.php
6.62 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
class-wp-locale.php
16.49 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
xmlrpc.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
Edit: class-wp-block-templates-registry.php
<?php /** * Templates registry functions. * * @package WordPress * @since 6.7.0 */ /** * Core class used for interacting with templates. * * @since 6.7.0 */ final class WP_Block_Templates_Registry { /** * Registered templates, as `$name => $instance` pairs. * * @since 6.7.0 * @var WP_Block_Template[] $registered_block_templates Registered templates. */ private $registered_templates = array(); /** * Container for the main instance of the class. * * @since 6.7.0 * @var WP_Block_Templates_Registry|null */ private static $instance = null; /** * Registers a template. * * @since 6.7.0 * * @param string $template_name Template name including namespace. * @param array $args Optional. Array of template arguments. * @return WP_Block_Template|WP_Error The registered template on success, or WP_Error on failure. */ public function register( $template_name, $args = array() ) { $template = null; $error_message = ''; $error_code = ''; if ( ! is_string( $template_name ) ) { $error_message = __( 'Template names must be strings.' ); $error_code = 'template_name_no_string'; } elseif ( preg_match( '/[A-Z]+/', $template_name ) ) { $error_message = __( 'Template names must not contain uppercase characters.' ); $error_code = 'template_name_no_uppercase'; } elseif ( ! preg_match( '/^[a-z0-9_\-]+\/\/[a-z0-9_\-]+$/', $template_name ) ) { $error_message = __( 'Template names must contain a namespace prefix. Example: my-plugin//my-custom-template' ); $error_code = 'template_no_prefix'; } elseif ( $this->is_registered( $template_name ) ) { /* translators: %s: Template name. */ $error_message = sprintf( __( 'Template "%s" is already registered.' ), $template_name ); $error_code = 'template_already_registered'; } if ( $error_message ) { _doing_it_wrong( __METHOD__, $error_message, '6.7.0' ); return new WP_Error( $error_code, $error_message ); } if ( ! $template ) { $theme_name = get_stylesheet(); list( $plugin, $slug ) = explode( '//', $template_name ); $default_template_types = get_default_block_template_types(); $template = new WP_Block_Template(); $template->id = $theme_name . '//' . $slug; $template->theme = $theme_name; $template->plugin = $plugin; $template->author = null; $template->content = isset( $args['content'] ) ? $args['content'] : ''; $template->source = 'plugin'; $template->slug = $slug; $template->type = 'wp_template'; $template->title = isset( $args['title'] ) ? $args['title'] : $template_name; $template->description = isset( $args['description'] ) ? $args['description'] : ''; $template->status = 'publish'; $template->origin = 'plugin'; $template->is_custom = ! isset( $default_template_types[ $template_name ] ); $template->post_types = isset( $args['post_types'] ) ? $args['post_types'] : array(); } $this->registered_templates[ $template_name ] = $template; return $template; } /** * Retrieves all registered templates. * * @since 6.7.0 * * @return WP_Block_Template[] Associative array of `$template_name => $template` pairs. */ public function get_all_registered() { return $this->registered_templates; } /** * Retrieves a registered template by its name. * * @since 6.7.0 * * @param string $template_name Template name including namespace. * @return WP_Block_Template|null The registered template, or null if it is not registered. */ public function get_registered( $template_name ) { if ( ! $this->is_registered( $template_name ) ) { return null; } return $this->registered_templates[ $template_name ]; } /** * Retrieves a registered template by its slug. * * @since 6.7.0 * * @param string $template_slug Slug of the template. * @return WP_Block_Template|null The registered template, or null if it is not registered. */ public function get_by_slug( $template_slug ) { $all_templates = $this->get_all_registered(); if ( ! $all_templates ) { return null; } foreach ( $all_templates as $template ) { if ( $template->slug === $template_slug ) { return $template; } } return null; } /** * Retrieves registered templates matching a query. * * @since 6.7.0 * * @param array $query { * Arguments to retrieve templates. Optional, empty by default. * * @type string[] $slug__in List of slugs to include. * @type string[] $slug__not_in List of slugs to skip. * @type string $post_type Post type to get the templates for. * } * @return WP_Block_Template[] Associative array of `$template_name => $template` pairs. */ public function get_by_query( $query = array() ) { $all_templates = $this->get_all_registered(); if ( ! $all_templates ) { return array(); } $query = wp_parse_args( $query, array( 'slug__in' => array(), 'slug__not_in' => array(), 'post_type' => '', ) ); $slugs_to_include = $query['slug__in']; $slugs_to_skip = $query['slug__not_in']; $post_type = $query['post_type']; $matching_templates = array(); foreach ( $all_templates as $template_name => $template ) { if ( $slugs_to_include && ! in_array( $template->slug, $slugs_to_include, true ) ) { continue; } if ( $slugs_to_skip && in_array( $template->slug, $slugs_to_skip, true ) ) { continue; } if ( $post_type && ! in_array( $post_type, $template->post_types, true ) ) { continue; } $matching_templates[ $template_name ] = $template; } return $matching_templates; } /** * Checks if a template is registered. * * @since 6.7.0 * * @param string $template_name Template name. * @return bool True if the template is registered, false otherwise. */ public function is_registered( $template_name ) { return isset( $this->registered_templates[ $template_name ] ); } /** * Unregisters a template. * * @since 6.7.0 * * @param string $template_name Template name including namespace. * @return WP_Block_Template|WP_Error The unregistered template on success, or WP_Error on failure. */ public function unregister( $template_name ) { if ( ! $this->is_registered( $template_name ) ) { _doing_it_wrong( __METHOD__, /* translators: %s: Template name. */ sprintf( __( 'Template "%s" is not registered.' ), $template_name ), '6.7.0' ); /* translators: %s: Template name. */ return new WP_Error( 'template_not_registered', __( 'Template "%s" is not registered.' ) ); } $unregistered_template = $this->registered_templates[ $template_name ]; unset( $this->registered_templates[ $template_name ] ); return $unregistered_template; } /** * Utility method to retrieve the main instance of the class. * * The instance will be created if it does not exist yet. * * @since 6.7.0 * * @return WP_Block_Templates_Registry The main instance. */ public static function get_instance() { if ( null === self::$instance ) { self::$instance = new self(); } return self::$instance; } }
Save