/** * Test _customize_rest_resources_php_version_text(). * * @see _customize_rest_resources_php_version_text() */ public function test_customize_rest_resources_php_version_text() { $this->assertContains('Customize REST Resources plugin error:', _customize_rest_resources_php_version_text()); }
/** * Admin notice for incompatible versions of PHP. */ function _customize_rest_resources_php_version_error() { printf('<div class="error"><p>%s</p></div>', esc_html(_customize_rest_resources_php_version_text())); }