Changeset 61036
- Timestamp:
- 10/21/2025 02:00:33 PM (3 months ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 5 edited
-
class-wp-block-processor.php (modified) (1 diff)
-
comment.php (modified) (1 diff)
-
compat-utf8.php (modified) (1 diff)
-
post.php (modified) (3 diffs)
-
rest-api.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-block-processor.php
r61035 r61036 934 934 $name_length = 1 + strspn( $text, 'abcdefghijklmnopqrstuvwxyz0123456789-_', $name_at + 1 ); 935 935 } else { 936 $name_at = $namespace_at;937 $name_length = $namespace_length;936 $name_at = $namespace_at; 937 $name_length = $namespace_length; 938 938 } 939 939 -
trunk/src/wp-includes/comment.php
r60987 r61036 4121 4121 '_wp_note_status', 4122 4122 array( 4123 'type' => 'string',4124 'description' => __( 'Note resolution status' ),4125 'single' => true,4126 'show_in_rest' => array(4123 'type' => 'string', 4124 'description' => __( 'Note resolution status' ), 4125 'single' => true, 4126 'show_in_rest' => array( 4127 4127 'schema' => array( 4128 4128 'type' => 'string', -
trunk/src/wp-includes/compat-utf8.php
r61005 r61036 536 536 537 537 // All convertible code points are not greater than U+FF. 538 $byte2 = ord( $utf8_text[ $at + 1 ] );538 $byte2 = ord( $utf8_text[ $at + 1 ] ); 539 539 $code_point = ( ( $byte1 & 0x1F ) << 6 ) | ( ( $byte2 & 0x3F ) ); 540 540 if ( $code_point > 0xFF ) { -
trunk/src/wp-includes/post.php
r61029 r61036 369 369 'wp_template', 370 370 array( 371 'labels' => array(371 'labels' => array( 372 372 'name' => _x( 'Templates', 'post type general name' ), 373 373 'singular_name' => _x( 'Template', 'post type singular name' ), … … 390 390 'item_updated' => __( 'Template updated.' ), 391 391 ), 392 'description' => __( 'Templates to include in your theme.' ),393 'public' => false,394 '_builtin' => true, /* internal use only. don't use this when registering your own post type. */395 '_edit_link' => $template_edit_link, /* internal use only. don't use this when registering your own post type. */396 'has_archive' => false,397 'show_ui' => false,398 'show_in_menu' => false,399 'show_in_rest' => true,400 'rewrite' => false,401 'rest_base' => 'wp_template',402 'rest_controller_class' => 'WP_REST_Posts_Controller',403 'late_route_registration' => true,404 'capability_type' => array( 'template', 'templates' ),405 'capabilities' => array(392 'description' => __( 'Templates to include in your theme.' ), 393 'public' => false, 394 '_builtin' => true, /* internal use only. don't use this when registering your own post type. */ 395 '_edit_link' => $template_edit_link, /* internal use only. don't use this when registering your own post type. */ 396 'has_archive' => false, 397 'show_ui' => false, 398 'show_in_menu' => false, 399 'show_in_rest' => true, 400 'rewrite' => false, 401 'rest_base' => 'wp_template', 402 'rest_controller_class' => 'WP_REST_Posts_Controller', 403 'late_route_registration' => true, 404 'capability_type' => array( 'template', 'templates' ), 405 'capabilities' => array( 406 406 'create_posts' => 'edit_theme_options', 407 407 'delete_posts' => 'edit_theme_options', … … 417 417 'read_private_posts' => 'edit_theme_options', 418 418 ), 419 'map_meta_cap' => true,420 'supports' => array(419 'map_meta_cap' => true, 420 'supports' => array( 421 421 'title', 422 422 'slug', -
trunk/src/wp-includes/rest-api.php
r61032 r61036 486 486 487 487 // Abilities. 488 $abilities_run_controller = new WP_REST_Abilities_V1_Run_Controller();488 $abilities_run_controller = new WP_REST_Abilities_V1_Run_Controller(); 489 489 $abilities_run_controller->register_routes(); 490 490 $abilities_list_controller = new WP_REST_Abilities_V1_List_Controller();
Note: See TracChangeset
for help on using the changeset viewer.