Skip to content

Commit

Permalink
fix reset whitespace changes
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiankaegy committed Nov 14, 2024
1 parent d523598 commit 41601ec
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions lib/compat/wordpress-6.6/post.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
function gutenberg_add_excerpt_support_to_wp_block() {
add_post_type_support( 'wp_block', 'excerpt' );
}

add_action( 'init', 'gutenberg_add_excerpt_support_to_wp_block' );

/**
Expand Down
1 change: 1 addition & 0 deletions lib/compat/wordpress-6.6/rest-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ function gutenberg_add_class_list_to_public_post_types() {
}
add_action( 'rest_api_init', 'gutenberg_add_class_list_to_public_post_types' );


/**
* Registers the Global Styles Revisions REST API routes.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ class Gutenberg_REST_Post_Types_Controller_6_8 extends WP_REST_Post_Types_Contro
/**
* Add Block Editor default rendering mode setting to the response.
*
* @param WP_Post_Type $item Post type object.
* @param WP_REST_Request $request Request object.
* @param WP_Post_Type $item Post type object.
* @param WP_REST_Request $request Request object.
* @return WP_REST_Response Response object.
*/
public function prepare_item_for_response( $item, $request ) {
Expand Down

0 comments on commit 41601ec

Please sign in to comment.