diff --git a/WordPress/Docs/PHP/DisallowShortTernaryStandard.xml b/WordPress/Docs/PHP/DisallowShortTernaryStandard.xml index 87bfda811a..c81b2fd82d 100644 --- a/WordPress/Docs/PHP/DisallowShortTernaryStandard.xml +++ b/WordPress/Docs/PHP/DisallowShortTernaryStandard.xml @@ -7,7 +7,8 @@ ? $data['height'] : 0; +$height = ! empty( $data['height'] ) ? + $data['height'] : 0; ]]>