Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#66454 - Use consistent label color #67355

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
c187895
#66454 - Use consistent label color
valerogarte Nov 27, 2024
a636945
DataViews: Add density option to `table` layout (#67170)
ntsekouras Nov 25, 2024
8d530b9
Storybook: Restore stable components back into categories (#67216)
mirka Nov 25, 2024
464392e
GradientPicker: Auto-generate readme (#67250)
mirka Nov 25, 2024
d21600a
Autocomplete: Increase option height (#67214)
mirka Nov 25, 2024
2704615
Rich text: preserve comments (#62128)
ellatrix Nov 25, 2024
335e96e
Zoom in/out to correct location (#67126)
ajlende Nov 25, 2024
595fb30
BorderBoxControl: Suppress redundant warnings for deprecated 36px siz…
mirka Nov 25, 2024
79973d2
Feat: Adds the deprecation warning for 36px default size in range con…
vipul0425 Nov 25, 2024
a77bed8
ComboboxControl: Update reset button size (#67215)
mirka Nov 25, 2024
8c23d8b
Block Manager: Make it a private component in the block editor packag…
t-hamano Nov 26, 2024
10f3472
Dashicons: Remove non-existent icons from type (#67235)
t-hamano Nov 26, 2024
6484b8f
Edit Post: Remove unused 'hasHistory' flag (#67293)
Mamaduka Nov 26, 2024
aec1d49
Improve accessibility and consistency of the 'Last modified' Revision…
afercia Nov 26, 2024
4fd0689
Add WordPress 6.7.1 version to "Versions in WordPress" documentation …
benniledl Nov 26, 2024
7cc5c39
Move default template types and template part areas to REST API (#66…
gigitux Nov 26, 2024
47c58fc
Block Editor: Correctly mark Block Comment SlotFills private (#67271)
Mamaduka Nov 26, 2024
ba26862
Query Loop block: remove 'add new post' prompt in the sidebar (#67189)
dhruvang21 Nov 26, 2024
2a093a5
Editor: Fix deprecation version for template selectors
gigitux Nov 26, 2024
aa6d2f9
Block Editor: Add success notices for image editing (#67312)
Mamaduka Nov 26, 2024
f6d41cc
CustomGradientPicker: Prepare `Button`s for 40px default size (#67286)
mirka Nov 26, 2024
187c5c4
Icon: Auto-generate readme (#67282)
mirka Nov 26, 2024
afe32ff
Block Editor: Add notice action to revert image to original after cro…
Mamaduka Nov 26, 2024
29e6d9c
Add #7895 Core Backport PR to the changelog (#67319)
gigitux Nov 26, 2024
4b9661e
Icon: Improve `icon` prop usage docs in Storybook (#67280)
mirka Nov 26, 2024
ca6a5b9
CircularOptionPicker: Update Button sizes (#67285)
mirka Nov 26, 2024
b1dada2
Components contributing guide: Fix relative links (#67323)
mirka Nov 26, 2024
d8376fa
BoxControl: Auto-generate readme (#67284)
mirka Nov 26, 2024
2a5caae
Add useScaleCanvas: Web Animations API for zoom in/out animation (#66…
jeryj Nov 26, 2024
e63f1e0
Social Link: Add contentOnly editing support (#66622)
ndiego Nov 27, 2024
154b546
Try dark toolbar for the write mode (#66116)
dhruvang21 Nov 27, 2024
edf7f59
Bump plugin version to 19.8.0-rc.1
gutenbergplugin Nov 27, 2024
6eb1a60
Fix: Duplicate template part refers to original name instead of dupli…
jorgefilipecosta Nov 27, 2024
e5b06db
DataViews: WP Specific build (#66825)
youknowriad Nov 27, 2024
e80ef32
Update Changelog for 19.8.0-rc.1
gutenbergplugin Nov 27, 2024
ec02900
Update changelog files
gutenbergplugin Nov 27, 2024
e2ec13a
chore(release): publish
gutenbergplugin Nov 27, 2024
79e8159
Site Editor: Unify layout with posts dataviews (#67162)
youknowriad Nov 27, 2024
ec5e16e
Site editor: style the selected template pattern (#65917)
benazeer-ben Nov 27, 2024
582400b
keep only copy, duplicate and delete in the more menu (#67279)
draganescu Nov 27, 2024
3b06dc6
Drag and drop: fix drop zones on block drag (#67317)
ellatrix Nov 27, 2024
e9b18fb
Fix: Header layout spacing in Firefox (#67074)
Mayank-Tripathi32 Nov 27, 2024
ee139f4
#66454 - Use consistent label color
valerogarte Nov 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ build
build-module
build-style
build-types
build-wp
node_modules
gutenberg.zip
coverage
Expand Down
3 changes: 3 additions & 0 deletions backport-changelog/6.8/7895.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
https://github.com/WordPress/wordpress-develop/pull/7895

* https://github.com/WordPress/gutenberg/pull/66459
248 changes: 248 additions & 0 deletions changelog.txt

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/contributors/versions-in-wordpress.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ If anything looks incorrect here, please bring it up in #core-editor in [WordPre

| Gutenberg Versions | WordPress Version |
| ------------------ | ----------------- |
| 18.6-19.3 | 6.7.1 |
| 18.6-19.3 | 6.7 |
| 17.8-18.5 | 6.6.2 |
| 17.8-18.5 | 6.6.1 |
Expand Down
2 changes: 1 addition & 1 deletion gutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Description: Printing since 1440. This is the development plugin for the block editor, site editor, and other future WordPress core functionality.
* Requires at least: 6.6
* Requires PHP: 7.2
* Version: 19.7.0
* Version: 19.8.0-rc.1
* Author: Gutenberg Team
* Text Domain: gutenberg
*
Expand Down
2 changes: 2 additions & 0 deletions lib/compat/wordpress-6.8/preload.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ function gutenberg_block_editor_preload_paths_6_8( $paths, $context ) {
'site_logo',
'timezone_string',
'url',
'default_template_part_areas',
'default_template_types',
)
);
$paths[] = '/wp/v2/templates/lookup?slug=front-page';
Expand Down
38 changes: 38 additions & 0 deletions lib/compat/wordpress-6.8/rest-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,41 @@ function ( $taxonomy ) {
remove_filter( "rest_{$taxonomy}_query", 'gutenberg_respect_taxonomy_default_args_in_rest_api' );
}
);

/**
* Adds the default template part areas to the REST API index.
*
* This function exposes the default template part areas through the WordPress REST API.
* Note: This function backports into the wp-includes/rest-api/class-wp-rest-server.php file.
*
* @param WP_REST_Response $response REST API response.
* @return WP_REST_Response Modified REST API response with default template part areas.
*/
function gutenberg_add_default_template_part_areas_to_index( WP_REST_Response $response ) {
$response->data['default_template_part_areas'] = get_allowed_block_template_part_areas();
return $response;
}

add_filter( 'rest_index', 'gutenberg_add_default_template_part_areas_to_index' );

/**
* Adds the default template types to the REST API index.
*
* This function exposes the default template types through the WordPress REST API.
* Note: This function backports into the wp-includes/rest-api/class-wp-rest-server.php file.
*
* @param WP_REST_Response $response REST API response.
* @return WP_REST_Response Modified REST API response with default template part areas.
*/
function gutenberg_add_default_template_types_to_index( WP_REST_Response $response ) {
$indexed_template_types = array();
foreach ( get_default_block_template_types() as $slug => $template_type ) {
$template_type['slug'] = (string) $slug;
$indexed_template_types[] = $template_type;
}

$response->data['default_template_types'] = $indexed_template_types;
return $response;
}

add_filter( 'rest_index', 'gutenberg_add_default_template_types_to_index' );
Loading
Loading