fix "Inline control structures are not allowed" errors

required by WordPress coding standard