Merge pull request #9252 from shivapoudel/unused-global

Removed unused global variable
This commit is contained in:
Mike Jolley 2015-10-01 18:50:03 +02:00
commit e5575361f2
1 changed files with 1 additions and 1 deletions

View File

@ -1608,7 +1608,7 @@ class WC_Admin_Post_Types {
* Filters for post types
*/
public function restrict_manage_posts() {
global $typenow, $wp_query;
global $typenow;
if ( in_array( $typenow, wc_get_order_types( 'order-meta-boxes' ) ) ) {
$this->shop_order_filters();