Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
cesa.co.za /
wp-includes /
block-supports /
Delete
Unzip
Name
Size
Permission
Date
Action
align.php
1.67
KB
-rw-r--r--
2023-11-07 20:57
anchor.php
1.54
KB
-rw-r--r--
2026-07-03 02:00
aria-label.php
1.65
KB
-rw-r--r--
2026-07-03 02:00
auto-register.php
2.18
KB
-rw-r--r--
2026-07-03 02:00
background.php
4.79
KB
-rw-r--r--
2026-08-20 16:07
block-style-variations.php
9.59
KB
-rw-r--r--
2026-08-20 16:07
block-visibility.php
4.01
KB
-rw-r--r--
2026-08-20 16:07
border.php
6.1
KB
-rw-r--r--
2026-07-03 02:00
colors.php
5.97
KB
-rw-r--r--
2026-08-20 16:07
custom-classname.php
1.64
KB
-rw-r--r--
2023-11-07 20:57
custom-css.php
10.04
KB
-rw-r--r--
2026-08-20 16:07
dimensions.php
5.85
KB
-rw-r--r--
2026-08-20 16:07
duotone.php
2.67
KB
-rw-r--r--
2024-07-16 20:49
elements.php
9.31
KB
-rw-r--r--
2026-08-20 16:07
generated-classname.php
1.7
KB
-rw-r--r--
2023-11-07 20:57
layout.php
59.47
KB
-rw-r--r--
2026-08-20 16:07
position.php
4.01
KB
-rw-r--r--
2026-07-03 02:00
settings.php
4.44
KB
-rw-r--r--
2026-08-20 16:07
shadow.php
2.04
KB
-rw-r--r--
2024-07-16 20:49
spacing.php
2.68
KB
-rw-r--r--
2026-07-03 02:00
states.php
21.37
KB
-rw-r--r--
2026-08-20 16:07
typography.php
27.97
KB
-rw-r--r--
2026-08-20 16:07
utils.php
1011
B
-rw-r--r--
2023-11-07 20:57
Save
Rename
<?php /** * Auto-register block support. * * @package WordPress * @since 7.0.0 */ /** * Marks user-defined attributes for auto-generated inspector controls. * * This filter runs during block type registration, before the WP_Block_Type * is instantiated. Block supports add their attributes AFTER the block type * is created (via {@see WP_Block_Supports::register_attributes()}), so any attributes * present at this stage are user-defined. * * The marker tells generateFieldsFromAttributes() which attributes should * get auto-generated inspector controls. Attributes are excluded if they: * - Have a 'source' (HTML-derived, edited inline not via inspector) * - Have role 'local' (internal state, not user-configurable) * - Have an unsupported type (only 'string', 'number', 'integer', 'boolean' are supported) * - Were added by block supports (added after this filter runs) * * @since 7.0.0 * @access private * * @param array<string, mixed> $args Array of arguments for registering a block type. * @return array<string, mixed> Modified block type arguments. */ function wp_mark_auto_generate_control_attributes( array $args ): array { if ( empty( $args['attributes'] ) || ! is_array( $args['attributes'] ) ) { return $args; } $has_auto_register = ! empty( $args['supports']['autoRegister'] ); if ( ! $has_auto_register ) { return $args; } foreach ( $args['attributes'] as $attr_key => $attr_schema ) { // Skip HTML-derived attributes (edited inline, not via inspector). if ( ! empty( $attr_schema['source'] ) ) { continue; } // Skip internal attributes (not user-configurable). if ( isset( $attr_schema['role'] ) && 'local' === $attr_schema['role'] ) { continue; } // Skip unsupported types (only 'string', 'number', 'integer', 'boolean' are supported). $type = $attr_schema['type'] ?? null; if ( ! in_array( $type, array( 'string', 'number', 'integer', 'boolean' ), true ) ) { continue; } $args['attributes'][ $attr_key ]['autoGenerateControl'] = true; } return $args; } // Priority 5 to mark original attributes before other filters (priority 10+) might add their own. add_filter( 'register_block_type_args', 'wp_mark_auto_generate_control_attributes', 5 );