This commit is contained in:
Prospress Inc
2016-09-08 09:19:32 +02:00
committed by I
parent 084aa2976e
commit 3c13d0a95f
26 changed files with 776 additions and 483 deletions

View File

@@ -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 );