0 ? $version : ''; } /** * Detect whether WordPress Multi-User is in use. * * @since 1.4 * @return boolean */ function detectWPMU() { return function_exists('is_site_admin'); } /** * Check whether a given file name is a valid Tarski stylesheet name. * * It must be a valid CSS identifier, followed by the .css file extension, * and it cannot have a name that is already taken by Tarski's CSS namespace. * * @since 2.0 * @param string $file * @return boolean */ function is_valid_tarski_style($file) { return !preg_match('/^\.+$/', $file) && preg_match('/^[A-Za-z][A-Za-z0-9\-]*.css$/', $file) && !preg_match('/^(janus|centre|rtl|js).css$/', $file); } ?>