Merge pull request #8052 from Ninos/small-fixes
Remove unnecessary global variable
This commit is contained in:
commit
9dfc858825
|
@ -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' );
|
||||
|
||||
|
|
Loading…
Reference in New Issue