File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -145,19 +145,19 @@ function_exists( 'gutenberg_is_edit_site_page' ) &&
145145 unset( $ settings ['__experimentalFeatures ' ]['color ' ]['gradients ' ] );
146146 }
147147 if ( isset ( $ settings ['__experimentalFeatures ' ]['color ' ]['custom ' ] ) ) {
148- $ settings ['disableCustomColors ' ] = $ settings ['__experimentalFeatures ' ]['color ' ]['custom ' ];
148+ $ settings ['disableCustomColors ' ] = ! $ settings ['__experimentalFeatures ' ]['color ' ]['custom ' ];
149149 unset( $ settings ['__experimentalFeatures ' ]['color ' ]['custom ' ] );
150150 }
151151 if ( isset ( $ settings ['__experimentalFeatures ' ]['color ' ]['customGradient ' ] ) ) {
152- $ settings ['disableCustomGradients ' ] = $ settings ['__experimentalFeatures ' ]['color ' ]['customGradient ' ];
152+ $ settings ['disableCustomGradients ' ] = ! $ settings ['__experimentalFeatures ' ]['color ' ]['customGradient ' ];
153153 unset( $ settings ['__experimentalFeatures ' ]['color ' ]['customGradient ' ] );
154154 }
155155 if ( isset ( $ settings ['__experimentalFeatures ' ]['typography ' ]['fontSizes ' ] ) ) {
156156 $ settings ['fontSizes ' ] = $ settings ['__experimentalFeatures ' ]['typography ' ]['fontSizes ' ];
157157 unset( $ settings ['__experimentalFeatures ' ]['typography ' ]['fontSizes ' ] );
158158 }
159159 if ( isset ( $ settings ['__experimentalFeatures ' ]['typography ' ]['customFontSize ' ] ) ) {
160- $ settings ['disableCustomFontSizes ' ] = $ settings ['__experimentalFeatures ' ]['typography ' ]['customFontSize ' ];
160+ $ settings ['disableCustomFontSizes ' ] = ! $ settings ['__experimentalFeatures ' ]['typography ' ]['customFontSize ' ];
161161 unset( $ settings ['__experimentalFeatures ' ]['typography ' ]['customFontSize ' ] );
162162 }
163163 if ( isset ( $ settings ['__experimentalFeatures ' ]['typography ' ]['customLineHeight ' ] ) ) {
You can’t perform that action at this time.
0 commit comments