mirror of
https://github.com/pronamic/woocommerce-subscriptions.git
synced 2025-10-14 21:32:55 +00:00
2.0.19
This commit is contained in:
@@ -62,7 +62,7 @@ class WCS_Query extends WC_Query {
|
||||
*/
|
||||
public function change_endpoint_title( $title ) {
|
||||
|
||||
if ( in_the_loop() ) {
|
||||
if ( in_the_loop() && is_account_page() ) {
|
||||
foreach ( $this->query_vars as $key => $query_var ) {
|
||||
if ( $this->is_query( $query_var ) ) {
|
||||
$title = $this->get_endpoint_title( $key );
|
||||
|
Reference in New Issue
Block a user