File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ You can report security bugs through the Patchstack Vulnerability Disclosure Pro
75
75
== Changelog ==
76
76
77
77
= 1.4.1 =
78
+ * We added an indeterminate visual display of the "All" checkbox, e.g. while selecting posts.
78
79
* We fixed displaying post type visibility settings inside the site editor.
79
80
80
81
= 1.4.0 =
Original file line number Diff line number Diff line change @@ -632,6 +632,19 @@ const addControls = createHigherOrderComponent( ( BlockEdit ) => {
632
632
]
633
633
: false
634
634
}
635
+ indeterminate = {
636
+ hidePosts &&
637
+ hidePosts [ type ] &&
638
+ ! hidePosts [ type ] [
639
+ 'all'
640
+ ] &&
641
+ Object . values (
642
+ hidePosts [ type ]
643
+ ) . some (
644
+ ( item ) =>
645
+ item === true
646
+ )
647
+ }
635
648
value = "all"
636
649
onChange = { ( value ) =>
637
650
onChangePostsAll (
You can’t perform that action at this time.
0 commit comments