Skip to content

Commit 332a585

Browse files
committed
Improve if statement
1 parent 884e808 commit 332a585

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

php/delivery/class-responsive-breakpoints.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public function add_features( $tag_element ) {
127127
* @return array
128128
*/
129129
protected function apply_breakpoints( $tag_element ) {
130-
if ( ! $tag_element['id'] ) {
130+
if ( empty( $tag_element['id'] ) ) {
131131
return $tag_element;
132132
}
133133

0 commit comments

Comments
 (0)