$location = wp_sanitize_redirect( $location );
if ( ! $is_IIS && 'cgi-fcgi' !== PHP_SAPI ) {
status_header( $status ); // This causes problems on IIS and some FastCGI setups.
}
/**
* Filters the X-Redirect-By header.
*
* Allows applications to identify themselves when they're doing a redirect.
*
* @since 5.1.0
*
* @param string|false $x_redirect_by The application doing the redirect or false to omit the header.
* @param int $status Status code to use.
* @param string $location The path to redirect to.
*/
$x_redirect_by = apply_filters( 'x_redirect_by', $x_redirect_by, $status, $location );
if ( is_string( $x_redirect_by ) ) {
header( "X-Redirect-By: $x_redirect_by" );
}
header( "Location: $location", true, $status );
return true;
}
endif;
if ( ! function_exists( 'wp_sanitize_redirect' ) ) :
/**
* Sanitizes a URL for use in a redirect.
*
* @since 2.3.0
*
* @param string $location The path to redirect to.
* @return string Redirect-sanitized URL.
*/
function wp_sanitize_redirect( $location ) {
// Encode spaces.
$location = str_replace( ' ', '%20', $location );
"Cannot modify header information - headers already sent by (output started at /home/traiteair/o-plaisirs.traite-air.com/vendor/roots/acorn/src/Illuminate/Foundation/Validation/ValidatesRequests.php:21)"
$location = wp_sanitize_redirect( $location );
if ( ! $is_IIS && 'cgi-fcgi' !== PHP_SAPI ) {
status_header( $status ); // This causes problems on IIS and some FastCGI setups.
}
/**
* Filters the X-Redirect-By header.
*
* Allows applications to identify themselves when they're doing a redirect.
*
* @since 5.1.0
*
* @param string|false $x_redirect_by The application doing the redirect or false to omit the header.
* @param int $status Status code to use.
* @param string $location The path to redirect to.
*/
$x_redirect_by = apply_filters( 'x_redirect_by', $x_redirect_by, $status, $location );
if ( is_string( $x_redirect_by ) ) {
header( "X-Redirect-By: $x_redirect_by" );
}
header( "Location: $location", true, $status );
return true;
}
endif;
if ( ! function_exists( 'wp_sanitize_redirect' ) ) :
/**
* Sanitizes a URL for use in a redirect.
*
* @since 2.3.0
*
* @param string $location The path to redirect to.
* @return string Redirect-sanitized URL.
*/
function wp_sanitize_redirect( $location ) {
// Encode spaces.
$location = str_replace( ' ', '%20', $location );
"X-Redirect-By: WordPress"
* Filters the canonical redirect URL.
*
* Returning false to this filter will cancel the redirect.
*
* @since 2.3.0
*
* @param string $redirect_url The redirect URL.
* @param string $requested_url The requested URL.
*/
$redirect_url = apply_filters( 'redirect_canonical', $redirect_url, $requested_url );
// Yes, again -- in case the filter aborted the request.
if ( ! $redirect_url || strip_fragment_from_url( $redirect_url ) === strip_fragment_from_url( $requested_url ) ) {
return;
}
if ( $do_redirect ) {
// Protect against chained redirects.
if ( ! redirect_canonical( $redirect_url, false ) ) {
wp_redirect( $redirect_url, 301 );
exit;
} else {
// Debug.
// die("1: $redirect_url<br />2: " . redirect_canonical( $redirect_url, false ) );
return;
}
} else {
return $redirect_url;
}
}
/**
* Removes arguments from a query string if they are not present in a URL
* DO NOT use this in plugin code.
*
* @since 3.4.0
* @access private
*
* @param string $query_string
* @param array $args_to_check
"https://o-plaisirs.traite-air.com/cart/"
301
$this->iterations[ $nesting_level ] = $this->priorities;
$num_args = count( $args );
do {
$this->current_priority[ $nesting_level ] = current( $this->iterations[ $nesting_level ] );
$priority = $this->current_priority[ $nesting_level ];
foreach ( $this->callbacks[ $priority ] as $the_ ) {
if ( ! $this->doing_action ) {
$args[0] = $value;
}
// Avoid the array_slice() if possible.
if ( 0 === $the_['accepted_args'] ) {
$value = call_user_func( $the_['function'] );
} elseif ( $the_['accepted_args'] >= $num_args ) {
$value = call_user_func_array( $the_['function'], $args );
} else {
$value = call_user_func_array( $the_['function'], array_slice( $args, 0, $the_['accepted_args'] ) );
}
}
} while ( false !== next( $this->iterations[ $nesting_level ] ) );
unset( $this->iterations[ $nesting_level ] );
unset( $this->current_priority[ $nesting_level ] );
--$this->nesting_level;
return $value;
}
/**
* Calls the callback functions that have been added to an action hook.
*
* @since 4.7.0
*
* @param array $args Parameters to pass to the callback functions.
"https://o-plaisirs.traite-air.com/cart"
} while ( false !== next( $this->iterations[ $nesting_level ] ) );
unset( $this->iterations[ $nesting_level ] );
unset( $this->current_priority[ $nesting_level ] );
--$this->nesting_level;
return $value;
}
/**
* Calls the callback functions that have been added to an action hook.
*
* @since 4.7.0
*
* @param array $args Parameters to pass to the callback functions.
*/
public function do_action( $args ) {
$this->doing_action = true;
$this->apply_filters( '', $args );
// If there are recursive calls to the current action, we haven't finished it until we get to the last one.
if ( ! $this->nesting_level ) {
$this->doing_action = false;
}
}
/**
* Processes the functions hooked into the 'all' hook.
*
* @since 4.7.0
*
* @param array $args Arguments to pass to the hook callbacks. Passed by reference.
*/
public function do_all_hook( &$args ) {
$nesting_level = $this->nesting_level++;
$this->iterations[ $nesting_level ] = $this->priorities;
do {
$priority = current( $this->iterations[ $nesting_level ] );
null
array:1 [ 0 => "" ]
if ( ! isset( $wp_filter[ $hook_name ] ) ) {
if ( isset( $wp_filter['all'] ) ) {
array_pop( $wp_current_filter );
}
return;
}
if ( ! isset( $wp_filter['all'] ) ) {
$wp_current_filter[] = $hook_name;
}
if ( empty( $arg ) ) {
$arg[] = '';
} elseif ( is_array( $arg[0] ) && 1 === count( $arg[0] ) && isset( $arg[0][0] ) && is_object( $arg[0][0] ) ) {
// Backward compatibility for PHP4-style passing of `array( &$this )` as action `$arg`.
$arg[0] = $arg[0][0];
}
$wp_filter[ $hook_name ]->do_action( $arg );
array_pop( $wp_current_filter );
}
/**
* Calls the callback functions that have been added to an action hook, specifying arguments in an array.
*
* @since 2.1.0
*
* @see do_action() This function is identical, but the arguments passed to the
* functions hooked to `$hook_name` are supplied using an array.
*
* @global WP_Hook[] $wp_filter Stores all of the filters and actions.
* @global int[] $wp_actions Stores the number of times each action was triggered.
* @global string[] $wp_current_filter Stores the list of current filters with the current one last.
*
* @param string $hook_name The name of the action to be executed.
* @param array $args The arguments supplied to the functions hooked to `$hook_name`.
*/
function do_action_ref_array( $hook_name, $args ) {
array:1 [ 0 => "" ]
<?php
/**
* Loads the correct template based on the visitor's url
*
* @package WordPress
*/
if ( wp_using_themes() ) {
/**
* Fires before determining which template to load.
*
* @since 1.5.0
*/
do_action( 'template_redirect' );
}
/**
* Filters whether to allow 'HEAD' requests to generate content.
*
* Provides a significant performance bump by exiting before the page
* content loads for 'HEAD' requests. See #14348.
*
* @since 3.5.0
*
* @param bool $exit Whether to exit without generating any content for 'HEAD' requests. Default true.
*/
if ( 'HEAD' === $_SERVER['REQUEST_METHOD'] && apply_filters( 'exit_on_http_head', true ) ) {
exit;
}
// Process feeds and trackbacks even if not using themes.
if ( is_robots() ) {
/**
* Fired when the template loader determines a robots.txt request.
*
* @since 2.1.0
*/
do_action( 'do_robots' );
return;
} elseif ( is_favicon() ) {
/**
"template_redirect"
<?php
/**
* Loads the WordPress environment and template.
*
* @package WordPress
*/
if ( ! isset( $wp_did_header ) ) {
$wp_did_header = true;
// Load the WordPress library.
require_once __DIR__ . '/wp-load.php';
// Set up the WordPress query.
wp();
// Load the theme template.
require_once ABSPATH . WPINC . '/template-loader.php';
}
"/home/traiteair/o-plaisirs.traite-air.com/public/wp/wp-includes/template-loader.php"
<?php
/**
* WordPress View Bootstrapper
*/
// phpcs:disable
define('WP_USE_THEMES', true);
require __DIR__ . '/wp/wp-blog-header.php';
"/home/traiteair/o-plaisirs.traite-air.com/public/wp/wp-blog-header.php"
| Key | Value |
| query_vars | array:2 [ "page" => "" "pagename" => "cart" ] |
| query_string | "pagename=cart"
|
| request | "cart"
|
| matched_rule | "(.?.+?)(?:/([0-9]+))?/?$"
|
| matched_query | "pagename=cart&page="
|
| did_permalink | true
|
| Key | Value |
| query | array:2 [ "page" => "" "pagename" => "cart" ] |
| query_vars | array:66 [ "page" => 0 "pagename" => "cart" "error" => "" "m" => "" "p" => 0 "post_parent" => "" "subpost" => "" "subpost_id" => "" "attachment" => "" "attachment_id" => 0 "name" => "cart" "page_id" => 0 "second" => "" "minute" => "" "hour" => "" "day" => 0 "monthnum" => 0 "year" => 0 "w" => 0 "category_name" => "" "tag" => "" "cat" => "" "tag_id" => "" "author" => "" "author_name" => "" "feed" => "" "tb" => "" "paged" => 0 "meta_key" => "" "meta_value" => "" "preview" => "" "s" => "" "sentence" => "" "title" => "" "fields" => "all" "menu_order" => "" "embed" => "" "category__in" => [] "category__not_in" => [] "category__and" => [] "post__in" => [] "post__not_in" => [] "post_name__in" => [] "tag__in" => [] "tag__not_in" => [] "tag__and" => [] "tag_slug__in" => [] "tag_slug__and" => [] "post_parent__in" => [] "post_parent__not_in" => [] "author__in" => [] "author__not_in" => [] "search_columns" => [] "ignore_sticky_posts" => false "suppress_filters" => false "cache_results" => true "update_post_term_cache" => true "update_menu_item_cache" => false "lazy_load_term_meta" => true "update_post_meta_cache" => true "post_type" => "" "posts_per_page" => 10 "nopaging" => false "comments_per_page" => "50" "no_found_rows" => false "order" => "DESC" ] |
| meta_query | WP_Meta_Query {#7256} |
| queried_object | WP_Post {#7248} |
| queried_object_id | 13
|
| request | """ SELECT wp_posts.*\n \t\t\t\t\t FROM wp_posts \n \t\t\t\t\t WHERE 1=1 AND (wp_posts.ID = '13') AND wp_posts.post_type = 'page'\n \t\t\t\t\t \n \t\t\t\t\t ORDER BY wp_posts.post_date DESC\n \t\t\t\t\t """ |
| post_count | 1
|
| current_post | -1
|
| before_loop | true
|
| current_comment | -1
|
| found_posts | 1
|
| is_page | true
|
| is_singular | true
|
| Key | Value |
| ID | 13
|
| post_author | "1"
|
| post_date | "2026-02-25 11:18:34"
|
| post_date_gmt | "2026-02-25 16:18:34"
|
| post_content | """ <!-- wp:woocommerce/cart -->\n <div class="wp-block-woocommerce-cart alignwide is-loading"><!-- wp:woocommerce/filled-cart-block -->\n <div class="wp-block-woocommerce-filled-cart-block"><!-- wp:woocommerce/cart-items-block -->\n <div class="wp-block-woocommerce-cart-items-block"><!-- wp:woocommerce/cart-line-items-block -->\n <div class="wp-block-woocommerce-cart-line-items-block"></div>\n <!-- /wp:woocommerce/cart-line-items-block -->\n \n <!-- wp:woocommerce/product-collection {"queryId":0,"query":{"perPage":3,"pages":1,"offset":0,"postType":"product","order":"asc","orderBy":"title","search":"","exclude":[],"inherit":false,"taxQuery":[],"isProductCollectionBlock":true,"featured":false,"woocommerceOnSale":false,"woocommerceStockStatus":["instock","outofstock","onbackorder"],"woocommerceAttributes":[],"woocommerceHandPickedProducts":[],"filterable":false,"relatedBy":{"categories":true,"tags":true}},"tagName":"div","displayLayout":{"type":"flex","columns":3,"shrinkColumns":true},"dimensions":{"widthType":"fill"},"collection":"woocommerce/product-collection/cross-sells","hideControls":["filterable"],"queryContextIncludes":["collection"],"__privatePreviewState":{"isPreview":true,"previewMessage":"Actual products will vary depending on the page being viewed."}} -->\n <div class="wp-block-woocommerce-product-collection"><!-- wp:heading {"textAlign":"left","style":{"spacing":{"margin":{"bottom":"1rem"}}}} -->\n <h2 class="wp-block-heading has-text-align-left" style="margin-bottom:1rem">You may be interested in…</h2>\n <!-- /wp:heading -->\n \n <!-- wp:woocommerce/product-template -->\n <!-- wp:woocommerce/product-image {"showSaleBadge":false,"imageSizing":"thumbnail","isDescendentOfQueryLoop":true} -->\n <!-- wp:woocommerce/product-sale-badge {"align":"right"} /-->\n <!-- /wp:woocommerce/product-image -->\n \n <!-- wp:post-title {"textAlign":"center","isLink":true,"style":{"spacing":{"margin":{"bottom":"0.75rem","top":"0"}},"typography":{"lineHeight":"1.4"}},"fontSize":"medium","__woocommerceNamespace":"woocommerce/product-collection/product-title"} /-->\n \n <!-- wp:woocommerce/product-price {"isDescendentOfQueryLoop":true,"textAlign":"center","fontSize":"small"} /-->\n \n <!-- wp:woocommerce/product-button {"textAlign":"center","isDescendentOfQueryLoop":true,"fontSize":"small"} /-->\n <!-- /wp:woocommerce/product-template --></div>\n <!-- /wp:woocommerce/product-collection --></div>\n <!-- /wp:woocommerce/cart-items-block -->\n \n <!-- wp:woocommerce/cart-totals-block -->\n <div class="wp-block-woocommerce-cart-totals-block"><!-- wp:woocommerce/cart-order-summary-block -->\n <div class="wp-block-woocommerce-cart-order-summary-block"><!-- wp:woocommerce/cart-order-summary-heading-block -->\n <div class="wp-block-woocommerce-cart-order-summary-heading-block"></div>\n <!-- /wp:woocommerce/cart-order-summary-heading-block -->\n \n <!-- wp:woocommerce/cart-order-summary-coupon-form-block -->\n <div class="wp-block-woocommerce-cart-order-summary-coupon-form-block"></div>\n <!-- /wp:woocommerce/cart-order-summary-coupon-form-block -->\n \n <!-- wp:woocommerce/cart-order-summary-totals-block -->\n <div class="wp-block-woocommerce-cart-order-summary-totals-block"><!-- wp:woocommerce/cart-order-summary-subtotal-block -->\n <div class="wp-block-woocommerce-cart-order-summary-subtotal-block"></div>\n <!-- /wp:woocommerce/cart-order-summary-subtotal-block -->\n \n <!-- wp:woocommerce/cart-order-summary-fee-block -->\n <div class="wp-block-woocommerce-cart-order-summary-fee-block"></div>\n <!-- /wp:woocommerce/cart-order-summary-fee-block -->\n \n <!-- wp:woocommerce/cart-order-summary-discount-block -->\n <div class="wp-block-woocommerce-cart-order-summary-discount-block"></div>\n <!-- /wp:woocommerce/cart-order-summary-discount-block -->\n \n <!-- wp:woocommerce/cart-order-summary-shipping-block -->\n <div class="wp-block-woocommerce-cart-order-summary-shipping-block"></div>\n <!-- /wp:woocommerce/cart-order-summary-shipping-block -->\n \n <!-- wp:woocommerce/cart-order-summary-taxes-block -->\n <div class="wp-block-woocommerce-cart-order-summary-taxes-block"></div>\n <!-- /wp:woocommerce/cart-order-summary-taxes-block --></div>\n <!-- /wp:woocommerce/cart-order-summary-totals-block --></div>\n <!-- /wp:woocommerce/cart-order-summary-block -->\n \n <!-- wp:woocommerce/cart-express-payment-block -->\n <div class="wp-block-woocommerce-cart-express-payment-block"></div>\n <!-- /wp:woocommerce/cart-express-payment-block -->\n \n <!-- wp:woocommerce/proceed-to-checkout-block -->\n <div class="wp-block-woocommerce-proceed-to-checkout-block"></div>\n <!-- /wp:woocommerce/proceed-to-checkout-block -->\n \n <!-- wp:woocommerce/cart-accepted-payment-methods-block -->\n <div class="wp-block-woocommerce-cart-accepted-payment-methods-block"></div>\n <!-- /wp:woocommerce/cart-accepted-payment-methods-block --></div>\n <!-- /wp:woocommerce/cart-totals-block --></div>\n <!-- /wp:woocommerce/filled-cart-block -->\n \n <!-- wp:woocommerce/empty-cart-block -->\n <div class="wp-block-woocommerce-empty-cart-block"><!-- wp:heading {"textAlign":"center"} -->\n <h2 class="wp-block-heading has-text-align-center">Your cart is currently empty. <br>Browse our products and find something you like.</h2>\n <!-- /wp:heading --></div>\n <!-- /wp:woocommerce/empty-cart-block --></div>\n <!-- /wp:woocommerce/cart --> """ |
| post_title | "Cart"
|
| post_excerpt | "" |
| post_status | "publish"
|
| comment_status | "closed"
|
| ping_status | "closed"
|
| post_password | "" |
| post_name | "cart"
|
| to_ping | "" |
| pinged | "" |
| post_modified | "2026-03-24 10:40:54"
|
| post_modified_gmt | "2026-03-24 14:40:54"
|
| post_content_filtered | "" |
| post_parent | 0
|
| guid | "https://o-plaisirs.traite-air.com/cart/"
|
| menu_order | 0
|
| post_type | "page"
|
| post_mime_type | "" |
| comment_count | "0"
|
| filter | "raw"
|
| Key | Value |
| SERVER_SOFTWARE | "LiteSpeed"
|
| REQUEST_URI | "/cart"
|
| PATH | "/usr/local/bin:/bin:/usr/bin"
|
| DOCUMENT_ROOT | "/home/traiteair/o-plaisirs.traite-air.com/public"
|
| HTTP_ACCEPT | "*/*"
|
| HTTP_ACCEPT_ENCODING | "gzip, br, zstd, deflate"
|
| HTTP_HOST | "o-plaisirs.traite-air.com"
|
| HTTP_USER_AGENT | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
|
| REMOTE_ADDR | "216.73.216.220"
|
| REMOTE_PORT | "24135"
|
| SERVER_ADDR | "158.69.226.173"
|
| SERVER_NAME | "o-plaisirs.traite-air.com"
|
| SERVER_ADMIN | "webmaster@o-plaisirs.traite-air.com"
|
| SERVER_PORT | "443"
|
| REQUEST_SCHEME | "https"
|
| REDIRECT_URL | "/cart"
|
| REDIRECT_REQUEST_METHOD | "GET"
|
| HTTPS | "on"
|
| HTTP_AUTHORIZATION | "" |
| REDIRECT_STATUS | "200"
|
| X_SPDY | "HTTP2"
|
| SSL_PROTOCOL | "TLSv1.2"
|
| SSL_CIPHER | "ECDHE-RSA-AES128-GCM-SHA256"
|
| SSL_CIPHER_USEKEYSIZE | "128"
|
| SSL_CIPHER_ALGKEYSIZE | "128"
|
| SCRIPT_FILENAME | "/home/traiteair/o-plaisirs.traite-air.com/public/index.php"
|
| QUERY_STRING | "" |
| SCRIPT_URI | "https://o-plaisirs.traite-air.com/cart"
|
| SCRIPT_URL | "/cart"
|
| SCRIPT_NAME | "/index.php"
|
| SERVER_PROTOCOL | "HTTP/1.1"
|
| REQUEST_METHOD | "GET"
|
| X-LSCACHE | "on"
|
| PHP_SELF | "/index.php"
|
| REQUEST_TIME_FLOAT | 1789847067.9531
|
| REQUEST_TIME | 1789847067
|
| argv | [] |
| argc | 0
|
| WP_HOME | "https://o-plaisirs.traite-air.com"
|
| WP_SITEURL | "https://o-plaisirs.traite-air.com/wp"
|
| DB_HOST | "localhost"
|
| DB_NAME | "traiteair_wp_oplaisirs"
|
| DB_USER | "traiteair_wp_oplaisirs"
|
| DB_PASSWORD | "****************"
|
| ACORN_ENABLE_EXPIRIMENTAL_ROUTER | "True"
|
| WP_DEBUG | "true"
|
| WP_DEBUG_LOG | "true"
|
| WP_DEBUG_DISPLAY | "true"
|
| Key | Value |
| WP_HOME | "https://o-plaisirs.traite-air.com"
|
| WP_SITEURL | "https://o-plaisirs.traite-air.com/wp"
|
| DB_HOST | "localhost"
|
| DB_NAME | "traiteair_wp_oplaisirs"
|
| DB_USER | "traiteair_wp_oplaisirs"
|
| DB_PASSWORD | "****************"
|
| ACORN_ENABLE_EXPIRIMENTAL_ROUTER | "True"
|
| WP_DEBUG | "true"
|
| WP_DEBUG_LOG | "true"
|
| WP_DEBUG_DISPLAY | "true"
|