/** * Admin notice for incompatible versions of PHP. */ function _next_recent_posts_widget_php_version_error() { printf('<div class="error"><p>%s</p></div>', esc_html(_next_recent_posts_widget_php_version_text())); }
/** * Test _next_recent_posts_widget_php_version_text(). * * @see _next_recent_posts_widget_php_version_text() */ public function test_next_recent_posts_widget_php_version_text() { $this->assertContains('Next Recent Posts Widget plugin error:', _next_recent_posts_widget_php_version_text()); }