Commit Graph

26683 Commits

Author SHA1 Message Date
Mike Jolley dd59a9c51c
Merge pull request #18093 from woocommerce/fix/unsupported-php-syntax
Replace PHP >= 5.4 syntax with PHP 5.2 alternative
2017-12-11 14:09:13 +00:00
Mike Jolley 43f8e1b056 Remove fragment when appending geolocation hash
Fixes #18083
2017-12-11 13:31:54 +00:00
Rodrigo Primo fc43bde6f8 Replace PHP >= 5.4 syntax with PHP 5.2 alternative
Commit 8f37ea33ed added the following line that works only on PHP >= 5.4 as function array dereferencing is not present in PHP version 5.3 or earlier. This commit fixes it by replacing that line with a alternative that is compatible with PHP >= 5.2.

6ecc3bc442/includes/admin/list-tables/class-wc-admin-list-table-orders.php (L189)
2017-12-11 11:20:42 -02:00
Mike Jolley a65db31443 Update text.
Closes #18078
2017-12-11 13:19:19 +00:00
Mike Jolley f4927ea837 Give control over loop button attributes
Closes #18079
2017-12-11 13:09:21 +00:00
Mike Jolley e7f51c9c48 Merge branch 'pr/18085' 2017-12-11 12:37:44 +00:00
Mike Jolley bd944cb664 Using $args makes it clearer what's in the variable. 2017-12-11 12:36:47 +00:00
Boro Sitnikovski 9d76af7607 Add deprecation notice for old hooks 2017-12-11 09:29:08 +01:00
Gerhard Potgieter 58dcaf287a
Merge pull request #18091 from parmarhardip/fix/spelling
Changed.
2017-12-11 10:11:35 +02:00
hardipparmar db14a2595f Changed. 2017-12-11 12:15:44 +05:30
Caleb Burks 274e5c3aa2 Hide manage stock buttons if inventory is disabled 2017-12-09 23:02:40 -06:00
Caleb Burks bb3a500564 Woops - ignore xD 2017-12-09 22:48:49 -06:00
Caleb Burks 94ffd6ff29 Remove duplicate code 2017-12-09 22:47:23 -06:00
Caleb Burks 457e60d253 Allow for multiple stock updates at once 2017-12-09 22:22:41 -06:00
Caleb Burks 92ee7da0aa Pass $args to woocommerce_loop_add_to_cart_link 2017-12-09 20:54:40 -06:00
Caleb Burks c7a583e5c1 Add CSV import option to use previous mapping 2017-12-09 02:58:07 -06:00
Caleb Burks 9db92e7152 Remove html that was being escaped 2017-12-09 01:13:27 -06:00
Caleb Burks 4f187a0840 Ajaxify the order note addition 2017-12-09 00:32:35 -06:00
Caleb Burks 2237c35912 Set $added_by_user to true
These stock updates are done manually
2017-12-08 22:33:09 -06:00
Caleb Burks e88ef38a76 Standardize stock update messages
Essentially just use get_formatted_name(), that way the product name appears along with either the sku or ID
2017-12-08 22:29:01 -06:00
Mike Jolley 426897ac2d
Merge pull request #18075 from woocommerce/update/extension-screen-styles
Update extension screen styles
2017-12-08 17:28:39 +00:00
Mike Jolley cb97f0fc80 Performance tweak; close connection before running queue. 2017-12-08 16:57:53 +00:00
Mike Jolley 39b947e1ee Prefix per site 2017-12-08 16:53:51 +00:00
Mike Jolley bbc9180951 Restore variable name 2017-12-08 16:47:52 +00:00
Mike Jolley 05eb303a6f Revert "Background processing; multisite should process current blog queue only"
This reverts commit c950dcc6e3.
2017-12-08 16:46:25 +00:00
Claudio Sanches eaa440df5f
Merge pull request #18071 from woocommerce/update/18045
Attributes; remove 'text' display option
2017-12-08 14:36:36 -02:00
Mike Jolley 1f109ba62e Merge branch 'pr/18072' 2017-12-08 16:32:58 +00:00
Mike Jolley 890ee4f1b9 This test cannot pass with refactor 2017-12-08 16:30:56 +00:00
Mike Jolley b4bfe6303f Keep public method around 2017-12-08 16:24:04 +00:00
Claudiu Lodromanean 99e948551f
Merge pull request #18076 from woocommerce/fix/18069
Shipping calculator and taxes
2017-12-08 08:17:45 -08:00
Mike Jolley 5b0df590c0
Merge pull request #18065 from woocommerce/improve/18064
Add default row/column control for themes
2017-12-08 16:14:19 +00:00
Mike Jolley 8e02bec1e9 Set max width 2017-12-08 16:10:52 +00:00
claudiulodro fef9d612c7 Better function name 2017-12-08 07:38:40 -08:00
claudiulodro b2cac1dcab Better description 2017-12-08 07:36:33 -08:00
claudiulodro e37391affb Set/remove defaults on theme activation 2017-12-08 07:33:42 -08:00
claudiulodro 600b1bd82c Revert "Add defaults control for themes"
This reverts commit 29090e4676.
2017-12-08 07:23:46 -08:00
Mike Jolley 1fbcff023d Include city field by default 2017-12-08 14:11:51 +00:00
Mike Jolley 912c3e2ef8 Process form fields if set 2017-12-08 14:11:41 +00:00
Mike Jolley c43f7eb014 Featured page styling 2017-12-08 13:32:45 +00:00
Mike Jolley d0db71c6c2 Flex grid for extension list 2017-12-08 13:23:08 +00:00
Rami Yushuvaev 29019b7713
a11y: add `role=alert` to woocommerce message div
Help assistive technology and to mark the message as important message. When this role is added to an element, the browser will send out an accessible alert event to assistive technology products which can then notify the user about it.
2017-12-08 15:22:07 +02:00
Mike Jolley 5c474adf44
Merge pull request #18073 from woocommerce/fix/18068
API: Use KSES for purchase_note like admin
2017-12-08 12:50:57 +00:00
Mike Jolley 2cadd82cb3 Min 2017-12-08 12:04:10 +00:00
Mike Jolley b6bc0d09a1 Fix select box styling in firefox
Closes #18070
2017-12-08 12:04:04 +00:00
Mike Jolley 1bf47c2a81 API: Use KSES for purchase_note like admin 2017-12-08 11:47:27 +00:00
Mike Jolley d5486be6c8 test 2017-12-08 11:35:26 +00:00
Mike Jolley 1944bf7191 Remove text type setting 2017-12-08 11:24:21 +00:00
James Allan 82c282e83a Clone the child objects rather than instantiating new objects.
When cloning the cart, the current fees and session objects should
remain the same but have new pointers.
2017-12-08 21:15:45 +10:00
James Allan 83de162adb Only remove fees which belong to the cart which is being emptied/reset
If there are multiple instances of WC_Cart and therefore multiple
instances of WC_Cart_Fees, if 1 cart is emptied and
woocommerce_cart_emptied is triggered, all instances of WC_Cart_Fees
will trigger remove_all_fees, removing all the fees from all the carts.
2017-12-08 21:15:08 +10:00
Gerhard Potgieter 0c5a0b06cc
Merge pull request #17926 from woocommerce/add/search-functionality-extensions-page
Adds search functionality to extensions page
2017-12-08 10:48:38 +02:00