Merge pull request #9252 from shivapoudel/unused-global
Removed unused global variable
This commit is contained in:
commit
e5575361f2
|
@ -1608,7 +1608,7 @@ class WC_Admin_Post_Types {
|
||||||
* Filters for post types
|
* Filters for post types
|
||||||
*/
|
*/
|
||||||
public function restrict_manage_posts() {
|
public function restrict_manage_posts() {
|
||||||
global $typenow, $wp_query;
|
global $typenow;
|
||||||
|
|
||||||
if ( in_array( $typenow, wc_get_order_types( 'order-meta-boxes' ) ) ) {
|
if ( in_array( $typenow, wc_get_order_types( 'order-meta-boxes' ) ) ) {
|
||||||
$this->shop_order_filters();
|
$this->shop_order_filters();
|
||||||
|
|
Loading…
Reference in New Issue