I18n: assignment in condition is only allowed in a while loop
I18n: assignment in condition is only allowed in a while loop

The code as was, was throwing two warnings. Let's not set a bad example.

WordPress-Coding-Standards/WordPress-Coding-Standards,WordPress-Coding-Standards/WordPress-Coding-Standards,WordPress-Coding-Standards/WordPress-Coding-Standards,WordPress-Coding-Standards/WordPress-Coding-Standards