Title: midwestE's Replies | WordPress.org

---

# midwestE

  [  ](https://wordpress.org/support/users/edouble74/)

 *   [Profile](https://wordpress.org/support/users/edouble74/)
 *   [Topics Started](https://wordpress.org/support/users/edouble74/topics/)
 *   [Replies Created](https://wordpress.org/support/users/edouble74/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/edouble74/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/edouble74/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/edouble74/engagements/)
 *   [Favorites](https://wordpress.org/support/users/edouble74/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 26 total)

1 [2](https://wordpress.org/support/users/edouble74/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/edouble74/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] Blank Disallow on Multisite Installations](https://wordpress.org/support/topic/blank-disallow-on-multisite-installations/)
 *  Thread Starter [midwestE](https://wordpress.org/support/users/edouble74/)
 * (@edouble74)
 * [6 months, 3 weeks ago](https://wordpress.org/support/topic/blank-disallow-on-multisite-installations/#post-18732325)
 * Exactly, Yoast is incorrectly adding that empty block, overriding previous disallows
   that SHOULD be limiting what should be crawled.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Shipment Tracking for WooCommerce] ast_open_inline_tracking_form_fun permission hook](https://wordpress.org/support/topic/ast_open_inline_tracking_form_fun-permission-hook/)
 *  Thread Starter [midwestE](https://wordpress.org/support/users/edouble74/)
 * (@edouble74)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/ast_open_inline_tracking_form_fun-permission-hook/#post-18011682)
 * [@gaurav1092](https://wordpress.org/support/users/gaurav1092/) very much appreciate
   that!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Shipment Tracking for WooCommerce] ast_open_inline_tracking_form_fun permission hook](https://wordpress.org/support/topic/ast_open_inline_tracking_form_fun-permission-hook/)
 *  Thread Starter [midwestE](https://wordpress.org/support/users/edouble74/)
 * (@edouble74)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/ast_open_inline_tracking_form_fun-permission-hook/#post-17994813)
 * Any progress here, just one small line of code 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Shipment Tracking for WooCommerce] ast_open_inline_tracking_form_fun permission hook](https://wordpress.org/support/topic/ast_open_inline_tracking_form_fun-permission-hook/)
 *  Thread Starter [midwestE](https://wordpress.org/support/users/edouble74/)
 * (@edouble74)
 * [1 year, 12 months ago](https://wordpress.org/support/topic/ast_open_inline_tracking_form_fun-permission-hook/#post-17837243)
 * Still hoping to get this hook added
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Speed Optimizer - The All-In-One Performance-Boosting Plugin] Broken memcache dropin returns false for any value that evaluates empty($val)](https://wordpress.org/support/topic/broken-memcache-dropin-returns-false-for-any-value-that-evaluates-emptyval-2/)
 *  Thread Starter [midwestE](https://wordpress.org/support/users/edouble74/)
 * (@edouble74)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/broken-memcache-dropin-returns-false-for-any-value-that-evaluates-emptyval-2/#post-17738634)
 * Specifically we have a plugin that uses the cache to store an array of the results
   of a process. When it is retrieved, since it is an empty array, the wp-object-
   cache.php get method incorrectly returns false. Because the subsequent function
   is strongly typed, the subsequent functions expecting an array will fatal error.
 * function strong_type_function(array $array) {
   // do work}function another_function():
   array {$should_be_array = wp_cache_get(‘my_array_items’);$result = strong_type_function(
   $should_be_array);return $result;}
 * // will fatal error
   wp_cache_set(‘my_array_items’, []);another_function();
 * The above would fatal error because the get method returns false instead of the
   stored empty array. I’m sure you can imagine there are many other scenarios where
   returning a boolean when storing other types can be very problematic.
 * Why would the cache not return exactly what was stored in all cases?
    -  This reply was modified 2 years, 1 month ago by [midwestE](https://wordpress.org/support/users/edouble74/).
    -  This reply was modified 2 years, 1 month ago by [midwestE](https://wordpress.org/support/users/edouble74/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Shipment Tracking for WooCommerce] ast_open_inline_tracking_form_fun permission hook](https://wordpress.org/support/topic/ast_open_inline_tracking_form_fun-permission-hook/)
 *  Thread Starter [midwestE](https://wordpress.org/support/users/edouble74/)
 * (@edouble74)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/ast_open_inline_tracking_form_fun-permission-hook/#post-17711516)
 * Any follow up here? Maybe I’m missing something but it’s a pretty straightforward.
   Thank you!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Shipment Tracking for WooCommerce] ast_open_inline_tracking_form_fun permission hook](https://wordpress.org/support/topic/ast_open_inline_tracking_form_fun-permission-hook/)
 *  Thread Starter [midwestE](https://wordpress.org/support/users/edouble74/)
 * (@edouble74)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/ast_open_inline_tracking_form_fun-permission-hook/#post-17333929)
 *     ```wp-block-code
       public function ast_open_inline_tracking_form_fun() {
   
       $permission = apply_filters('ast_open_inline_tracking_form_permission', 'manage_woocommerce');
       if ( ! current_user_can( $permission ) ) {
         exit( 'You are not allowed' );
       }
       ```
   
 * This is all that is needed
 * Would allow us to use
 *     ```wp-block-code
       add_filter('ast_open_inline_tracking_form_permission', function ($permission) {
           return 'edit_shop_orders';
       });
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Shipment Tracking for WooCommerce] ast_open_inline_tracking_form_fun permission hook](https://wordpress.org/support/topic/ast_open_inline_tracking_form_fun-permission-hook/)
 *  Thread Starter [midwestE](https://wordpress.org/support/users/edouble74/)
 * (@edouble74)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/ast_open_inline_tracking_form_fun-permission-hook/#post-17289944)
 * Just a bump here, I got the most recent version and don’t see any filter available
   on line 492
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Shipment Tracking for WooCommerce] ast_open_inline_tracking_form_fun permission hook](https://wordpress.org/support/topic/ast_open_inline_tracking_form_fun-permission-hook/)
 *  Thread Starter [midwestE](https://wordpress.org/support/users/edouble74/)
 * (@edouble74)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/ast_open_inline_tracking_form_fun-permission-hook/#post-17252261)
 * I know a release has not been made yet, but do you have a name for the filter
   yet, so i can implement it in advance? Currently, I have the source edited and
   I hate to do that
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Shipment Tracking for WooCommerce] ast_open_inline_tracking_form_fun permission hook](https://wordpress.org/support/topic/ast_open_inline_tracking_form_fun-permission-hook/)
 *  Thread Starter [midwestE](https://wordpress.org/support/users/edouble74/)
 * (@edouble74)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/ast_open_inline_tracking_form_fun-permission-hook/#post-17140900)
 * Very much appreciate it, thank you so much for understanding our needs
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Speed Optimizer - The All-In-One Performance-Boosting Plugin] Fatal error after deleting Woo attribute term](https://wordpress.org/support/topic/sg-cache-should-be-cleared-on-deleted_term_taxonomy/)
 *  Thread Starter [midwestE](https://wordpress.org/support/users/edouble74/)
 * (@edouble74)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/sg-cache-should-be-cleared-on-deleted_term_taxonomy/#post-16409235)
 * Just to be clear, you need to delete the top level (global) product attribute
   term before removing it from the product. Not the attribute from the product.
 * I believe you misunderstood where the term needs to be removed because you mention“
   This should allow the smart purge feature to clear the cache for this particular
   product and refresh the product data.”
 * That’s the issue, the product is not edited. The attribute term that the product
   already has is deleted without the product being edited.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Speed Optimizer - The All-In-One Performance-Boosting Plugin] Incorrect “purge_everything” for Cloudflare](https://wordpress.org/support/topic/incorrect-purge_everything-for-cloudflare/)
 *  Thread Starter [midwestE](https://wordpress.org/support/users/edouble74/)
 * (@edouble74)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/incorrect-purge_everything-for-cloudflare/#post-15637130)
 * Thank you. To be clear, this is a bug, not a feature
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Speed Optimizer - The All-In-One Performance-Boosting Plugin] add_headers with woocommerce customers turns off cache](https://wordpress.org/support/topic/add_headers-with-woocommerce-customers-turns-off-cache/)
 *  Thread Starter [midwestE](https://wordpress.org/support/users/edouble74/)
 * (@edouble74)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/add_headers-with-woocommerce-customers-turns-off-cache/#post-15636922)
 * I don’t think it will be quite that easy. Ideally they would add a filter that
   will allow developers to determine when to engage the cache and when not to.
 * Otherwise, I think the current user role would need to be checked to see if they
   belong to the customer role.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Speed Optimizer - The All-In-One Performance-Boosting Plugin] Incorrect “purge_everything” for Cloudflare](https://wordpress.org/support/topic/incorrect-purge_everything-for-cloudflare/)
 *  Thread Starter [midwestE](https://wordpress.org/support/users/edouble74/)
 * (@edouble74)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/incorrect-purge_everything-for-cloudflare/#post-15611617)
 * Following up here again. Problem still persists in most recent version of this
   plugin.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TrackShip for WooCommerce] Order page js error](https://wordpress.org/support/topic/order-page-js-error/)
 *  Thread Starter [midwestE](https://wordpress.org/support/users/edouble74/)
 * (@edouble74)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/order-page-js-error/#post-15548601)
 * Also line ~868
 *     ```
       jQuery(document).click(function (event) {
           var $trigger = jQuery(".woocommerce-layout__activity-panel");
           if ($trigger !== event.target && !$trigger.has(event.target).length) {
               jQuery('#activity-panel-tab-help').removeClass('is-active');
               jQuery('.woocommerce-layout__activity-panel-wrapper').removeClass('is-open is-switching');
           }
       });
       ```
   

Viewing 15 replies - 1 through 15 (of 26 total)

1 [2](https://wordpress.org/support/users/edouble74/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/edouble74/replies/page/2/?output_format=md)