t to use the mb_ functions for utf-8 strings. * * @access private * @since 3.0.0 */ function wp_set_internal_encoding() { if ( function_exists( 'mb_internal_encoding' ) ) { if ( !@mb_internal_encoding( get_option( 'blog_charset' ) ) ) mb_internal_encoding( 'UTF-8' ); } } /** * Add magic quotes to $_GET, $_POST, $_COOKIE, and $_SERVER. * * Also forces $_REQUEST to be $_GET + $_POST. If $_SERVER, $_COOKIE, * or $_ENV are needed, use those superglobals directly. * * @access private * @since 3.0.0 */ function wp_magic_quotes() { // If already slashed, strip. if ( get_magic_quotes_gpc() ) { $_GET = stripslashes_deep( $_GET ); $_POST = stripslashes_deep( $_POST ); $_COOKIE = stripslashes_deep( $_COOKIE ); } // Escape with wpdb. $_GET = add_magic_quotes( $_GET ); $_POST = add_magic_quotes( $_POST ); $_COOKIE = add_magic_quotes( $_COOKIE ); $_SERVER = add_magic_quotes( $_SERVER ); // Force REQUEST to be GET + POST. $_REQUEST = array_merge( $_GET, $_POST ); } /** * Runs just before PHP shuts down execution. * * @access private * @since 1.2.0 */ function shutdown_action_hook() { do_action( 'shutdown' ); wp_cache_close(); } /** * Copy an object. * * Returns a cloned copy of an object. * * @since 2.7.0 * * @param object $object The object to clone * @return object The cloned object */ function wp_clone( $object ) { static $can_clone; if ( !isset( $can_clone ) ) $can_clone = version_compare( phpversion(), '5.0', '>=' ); return $can_clone ? clone( $object ) : $object; } /** * Whether the current request is in WordPress admin Panel * * Does not inform on whether the user is an admin! Use capability checks to * tell if the user should be accessing a section or not. * * @since 1.5.1 * * @return bool True if inside WordPress administration pages. */ function is_admin() { if ( defined( 'WP_ADMIN' ) ) return WP_ADMIN; return false; } /** * Whether Multisite support is enabled * * @since 3.0.0 * * @return bool True if multisite is enabled, false otherwise. */ function is_multisite() { if ( defined( 'MULTISITE' ) ) return MULTISITE; if ( defined( 'VHOST' ) || defined( 'SUNRISE' ) ) return true; return false; } ?>
Parse error: syntax error, unexpected '*' in /home/irepscor/www/blog/wp-includes/pomo/mo.php on line 238