Title: MalachiConstant's Replies | WordPress.org

---

# MalachiConstant

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

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

 Search replies:

## Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Square] WooCommerce Square: Your base country is GB, but Square can’t accept transaction](https://wordpress.org/support/topic/woocommerce-square-your-base-country-is-gb-but-square-cant-accept-transaction/)
 *  [MalachiConstant](https://wordpress.org/support/users/malachiconstant/)
 * (@malachiconstant)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/woocommerce-square-your-base-country-is-gb-but-square-cant-accept-transaction/#post-11759203)
 * For anyone needing a quick fix for this while waiting for an update, I amended
   the \wp-content\plugins\woocommerce-square\includes\plugin.php file from line
   404 to read:
 *     ```
       	protected function add_base_location_admin_notice() {
   
       		$accepted_countries = [
       			'US',
       			'CA',
       			'UK',
       			'GB',
       			'AU',
       			'JP',
       		];
       ```
   
 * and my test transaction worked fine.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] [Plugin: Contact Form 7] File uploading to specfic folder](https://wordpress.org/support/topic/plugin-contact-form-7-file-uploading-to-specfic-folder/)
 *  [MalachiConstant](https://wordpress.org/support/users/malachiconstant/)
 * (@malachiconstant)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-file-uploading-to-specfic-folder/#post-2892647)
 * I just came to see if anyone had a solution to this same question.
 * After a bit of nosing around in the code, the solution is to edit the following
   file:
    `/wp-content/plugins/contact-form-7/includes/classes.php`
 * Search the file for **@unlink** (there’s only one instance of it) and comment
   out the loop:
 *     ```
       foreach ( (array) $this->uploaded_files as $name => $path ) {
           @unlink( $path );
       }
       ```
   
 * within the submit function. Job’s a good ‘un.
 * This solution is for version 3.1.2 running on WP 3.2.2

Viewing 2 replies - 1 through 2 (of 2 total)