From 4bdaff52cb719597b33631405ed1ba2cbd0300f8 Mon Sep 17 00:00:00 2001 From: Ninos Ego Date: Mon, 27 Apr 2015 18:41:15 +0200 Subject: [PATCH] Remove unnecessary global variable `$post` is not needed there. --- includes/shortcodes/class-wc-shortcode-my-account.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/includes/shortcodes/class-wc-shortcode-my-account.php b/includes/shortcodes/class-wc-shortcode-my-account.php index 6ea134ff228..53ae3afc890 100644 --- a/includes/shortcodes/class-wc-shortcode-my-account.php +++ b/includes/shortcodes/class-wc-shortcode-my-account.php @@ -185,9 +185,6 @@ class WC_Shortcode_My_Account { * Lost password page */ public static function lost_password() { - - global $post; - // arguments to pass to template $args = array( 'form' => 'lost_password' );