Title: Breaks quick edit in Posts table
Last modified: November 2, 2018

---

# Breaks quick edit in Posts table

 *  [Roy Orbitson](https://wordpress.org/support/users/lev0/)
 * (@lev0)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/breaks-quick-edit-in-posts-table/)
 * It adds script to the `/wp-admin/edit.php` page then assumes that an object named`
   woocommerce_admin` exists, and it doesn’t, so it breaks normal script execution.

Viewing 1 replies (of 1 total)

 *  Thread Starter [Roy Orbitson](https://wordpress.org/support/users/lev0/)
 * (@lev0)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/breaks-quick-edit-in-posts-table/#post-10839895)
 * worked around this by inserting the line `if (window.woocommerce_admin)` after
   line 1 (`jQuery(function () {`) in **assets/js/wc_purchase_price_quick_edit.js**.
    -  This reply was modified 7 years, 7 months ago by [Roy Orbitson](https://wordpress.org/support/users/lev0/).

Viewing 1 replies (of 1 total)

The topic ‘Breaks quick edit in Posts table’ is closed to new replies.

 * ![](https://ps.w.org/products-purchase-price-for-woocommerce/assets/icon-128x128.
   png?rev=1306222)
 * [Products Purchase Price for WooCommerce](https://wordpress.org/plugins/products-purchase-price-for-woocommerce/)
 * [Support Threads](https://wordpress.org/support/plugin/products-purchase-price-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/products-purchase-price-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/products-purchase-price-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/products-purchase-price-for-woocommerce/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [Roy Orbitson](https://wordpress.org/support/users/lev0/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/breaks-quick-edit-in-posts-table/#post-10839895)
 * Status: not resolved