bryceadams/Captain-Slider — pull request #15 by krbvroc1 (2014-09-19 22:50:59+00:00)
Title: Captain Slider breaks other plugins that use custom post types

For example it breaks WooCommerce (at least 2.0.14)
Under Woocommerce one can filter the orders by custom status with a URL such as:

wp-admin/edit.php?post_type=shop_order&shop_order_status=processing

Captain Slider breaks this in two ways:
1) It adds a dropdown to any screen that uses edit.php (such as woocommerce orders)
2) On non-captain slider pages, it modifies the query url, stripping away additional parameters. In the above example, 'shop_order_status=processing' is stripped off which breaks filtering of orders.

Looking at the code, the developer copied the code in question from an online tutorial (yoast.com). However,
they did not heed the following warning:
```
https://yoast.com/custom-post-type-snippets/

// If you only want this to work for your specific post type,
// check for that $type here and then return.
// This function, if unmodified, will add the dropdown for each
// post type / taxonomy combination.
```