/** * Admin notice for incompatible versions of PHP. */ function customize_snapshots_php_version_error() { printf('<div class="error"><p>%s</p></div>', customize_snapshots_php_version_text()); // WPCS: XSS OK. }
/** * Test customize_snapshots_php_version_text. * * @see customize_snapshots_php_version_text() */ function test_customize_snapshots_php_version_text() { $this->assertContains('Customize Snapshots plugin error:', customize_snapshots_php_version_text()); }