Skip to content

WooCommerce My Account shortcode as ESI block doesn't show messages #900

@JoryHogeveen

Description

@JoryHogeveen

Related: #899

In the above issue I mention that I've fixed an issue with login using an ESI wrapper for the my account shortcode.
However, as an ESI block, this shortcode does not output any error messages anymore, for example when providing an incorrect password.

Reproducible on any page containing [esi woocommerce_my_account ttl=0].

Environment

  • Platform: WordPress WooCommerce Multisite
  • Webserver / cache: LiteSpeed (LSCache, ESI enabled)
  • CDN / proxy: Cloudflare (Dev Mode used during testing)
  • Security plugin: Wordfence (tests done with IP whitelisted)
  • PHP / WordPress / Plugin versions: WP 6.8.2, LS 7.5.0.1, Woo 10.1.2,

Converting this to a regular non-ESI shortcode will show the error messages again.

Issue also reported here: https://wordpress.org/support/topic/woocommerce-my-account-shortcode-as-esi-block-doesnt-show-messages/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions