File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
plugin/php/templates/partials Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 3030$ attributes = isset ( $ attributes ) ? $ attributes : [];
3131$ style = isset ( $ attributes ['style ' ] ) ? $ attributes ['style ' ] : 'masonry ' ;
3232$ columns = absint ( isset ( $ attributes ['columns ' ] ) ? $ attributes ['columns ' ] : 3 );
33- $ outlined = ! empty ( $ attributes ['outlined ' ] ) ? $ attributes ['outlined ' ] : \MaterialDesign \Plugin \get_plugin_instance ()->block_types ->get_global_styles ( 'card_style ' );
33+ $ outlined = ! empty ( $ attributes ['outlined ' ] ) ? $ attributes ['outlined ' ] : \MaterialDesign \Plugin \get_plugin_instance ()->block_types ->get_global_styles ( 'card_style ' ) === ' outlined ' ;
3434$ layout = isset ( $ attributes ['contentLayout ' ] ) ? $ attributes ['contentLayout ' ] : 'text-above-media ' ;
3535$ featured_image = isset ( $ attributes ['displayFeaturedImage ' ] ) ? $ attributes ['displayFeaturedImage ' ] : true ;
3636
You can’t perform that action at this time.
0 commit comments