• Resolved dureynooo

    (@dureynooo)


    Can someone help me with this? This is only happening in the product category and it’s not queued properly.

    Here is the function with the error.

    function wp_logout_url($redirect = ”) {
    $args = array( ‘action’ => ‘logout’ );
    if ( !empty($redirect) ) {
    //This is the Line 292 $args[‘redirect_to’] = urlencode( $redirect );
    }

    $logout_url = add_query_arg($args, site_url(‘wp-login.php’, ‘login’));
    $logout_url = wp_nonce_url( $logout_url, ‘log-out’ );

    /**
    * Filters the logout URL.
    *
    * @since 2.8.0
    *
    * @param string $logout_url The HTML-encoded logout URL.
    * @param string $redirect Path to redirect to on logout.
    */
    return apply_filters( ‘logout_url’, $logout_url, $redirect );
    }

    • This topic was modified 7 years, 5 months ago by dureynooo.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Product Category Error’ is closed to new replies.