| @@ -122,8 +122,8 @@ | ||
| 122 | 122 | /* translators: 1: plugin name, 2: list of requirements */ |
| 123 | 123 | esc_html__('The %1$s plugin minimum requirements are not met:', 'windpress'), |
| 124 | 124 | '<strong>' . $name . '</strong>' |
| 125 | 125 | ); |
| 126 | - $requirements = (count($this->doesNotMeet) === 0) ? '' : ('<ul><li>' . implode('</li><li>', $this->doesNotMeet) . '</li></ul>'); | |
| 126 | + $requirements = count($this->doesNotMeet) === 0 ? '' : '<ul><li>' . implode('</li><li>', $this->doesNotMeet) . '</li></ul>'; | |
| 127 | 127 | printf('<div class="notice notice-error"><p>%1$s</p>%2$s</div>', wp_kses_post($notice), wp_kses_post($requirements)); |
| 128 | 128 | } |
| 129 | 129 | } |