Commit Graph

53 Commits

Author SHA1 Message Date
Rodrigo Primo 23b69eba53 Use phpcbf to fix coding standard violations in includes/admin
After using phpcbf to fix the coding standard violations, I did some manual adjustments to the changes, especially in poorly indented files.
2018-03-05 16:21:35 -03:00
Jonathan Belcher f4d6b6f68f Merge Commit 2017-12-07 12:10:00 -05:00
Jonathan Belcher 9695bc4183 Small code review changes 2017-12-07 11:47:33 -05:00
Jonathan Belcher bbaabb5b80 Remove unused function 2017-12-06 12:03:50 -05:00
Jonathan Belcher b5c1025621 Fixes from code review 2017-12-06 12:02:09 -05:00
Jonathan Belcher f05ed543fa Fix css and add search query header 2017-12-05 11:15:09 -05:00
Jonathan Belcher 66dbcdead6 Update for API changes 2017-12-05 10:06:58 -05:00
Jonathan Belcher 7296f69e54 Fix comments to follow standard 2017-11-29 13:03:22 -05:00
Jonathan Belcher 3d86535c6d Adds geo and install plugin control to extensions featured page 2017-11-29 12:41:08 -05:00
Jonathan Belcher 01ed1bea76 Remove testing code 2017-11-29 10:25:34 -05:00
Jonathan Belcher a549133a2e [WIP] Adds search functionality to extensions page 2017-11-27 16:11:55 -05:00
Mike Jolley 2beddc59a7 docblocks 2017-08-23 14:38:00 +01:00
Valerie K 66259ebff1 Update WooCommerce Services copy (#15598)
* Remove excess explanation from wizard shipping step

* Remove distracting link from shipping wizard page

* Update copy on extensions WCS banner

* Update copy on WCS extensions banner for Canada

* Fix extensions WCS banner when read from json

* Add Canada copy on wizard shipping step

* Use strict array comparison in WCS shipping tout

* Add service logos to WCS extension banner

* Use strict array comparison in WCS banner

* Remove related extensions when showing WCS banner

- when store is based in Canada remove Canada Post
extension from shipping page
- when store is based in US remove USPS
extension from shipping page

* Add image alt for logos on WCS banners

* Update WCS banner and wizard content
2017-06-14 11:24:45 +01:00
Valerie 70570f3745 Update WCS banner style 2017-06-05 11:30:42 -04:00
Valerie baf405fdcf Update WCS banner image 2017-06-05 11:28:37 -04:00
Valerie 8939dfc1a5 Update WCS banner text 2017-06-05 11:28:37 -04:00
Jeff Stieler c212725053 Use WC_Install class to install/activate WooCommerce services from the Extensions page. 2017-05-31 09:27:19 -06:00
Jeff Stieler d8e508842d Allow all aspects of the WCS banner block to be overwritten by JSON data. 2017-05-31 09:27:18 -06:00
Jeff Stieler 9b6b4928a6 Show WCS banner on extensions page for both USA and Canada. 2017-05-31 09:27:18 -06:00
Jeff Stieler 0293884660 PHP 5.2+ compatibility - don’t use array dereferencing. 2017-05-31 09:27:17 -06:00
Valerie 3b689b5da9 Enable WCS banner on featured extension page 2017-05-31 09:26:17 -06:00
Valerie 870e3ddea2 Add WCS banner addons block markup 2017-05-31 09:26:17 -06:00
Konstantin Kovshenin 556c2cf84c Helper: Add tabbed interface to WooCommerce > Extensions 2017-05-30 19:46:26 +03:00
Claudio Sanches d0fae22528 Fixed undefined property on admin addons 2016-11-08 18:31:39 -02:00
Jonathan Belcher f740497883 Update class-wc-admin-addons.php 2016-10-04 12:15:52 -04:00
Jonathan Belcher 1ef33a0452
Only display image if src is provided 2016-10-04 11:47:38 -04:00
Jonathan Belcher 1d066234d5
[feature] Add ons screen update 2016-09-26 15:45:10 -04:00
Mike Jolley 66c61eebc8 Define full path for includes
Closes #11087
2016-07-27 11:58:43 +01:00
Claudio Sanches c59a5c0c31 Say hello to woocommerce.com 2016-07-05 19:52:16 -03:00
Claudio Sanches 831ab7411d Merge jobs adjust-campaign-tags branch 2016-06-13 12:14:35 -03:00
Claudio Sanches e39274e753 HTTPS for everybody 2016-05-26 22:48:49 -03:00
Job c93b16bd05 Updated campaign tags
* Source: setupwizard, helptab, addons, notice (took the terms already
used in WC core and deleted all dashes)
* Medium: product
* Content: videos, docs, storefront, themecompatibility, wcthemes,
wcextensions, about, newsletter, tickets, apidocs (+ different content
for every reference in addons tab)
* Campaign: woocommerceplugin
2016-04-19 11:32:45 +02:00
Fredrik Forsmo b4bcf38a26 Improve docblock comments in WC_Admin_Addons class
* Added missing param tags
2016-01-05 16:24:48 +01:00
Mike Jolley c7e104115f unused code 2015-12-17 12:58:02 +00:00
Bryce Adams ff5caa85b7 Update URL used to get add-on sections
Related to https://github.com/Automattic/woothemes.com/pull/47
2015-12-15 12:20:02 +11:00
Mike Jolley 60a7d034b1 Sample addon data 2015-12-03 14:04:36 +00:00
Mike Jolley 10490d640c No notices 2015-12-03 13:42:58 +00:00
Mike Jolley 177892b9c3 Refactored the addons screens to use new json files 2015-12-03 13:38:13 +00:00
Claudio Sanches d941d5e325 Improved add_query_arg() use in WC_Admin_Addons::output_storefront_button() 2015-11-20 13:27:52 -02:00
Matty 5a0a8ef2f2 Adds Google campaign tags for tracking the various states of the 'Try Storefront' button. 2015-11-19 16:44:04 +02:00
Matty 94da31ef01 Adjusts the default 'Try Storefront' button to direct to the Storefront listing on WooThemes.com, even if Storefront and a child theme are in use. 2015-11-19 14:35:20 +02:00
Matty 4fc1023d0a Adjusts the 'try Storefront' button on the 'Addons' screen to be more contextual, depending on the current theme/child theme combination activated. 2015-11-19 14:27:34 +02:00
Claudio Sanches 5893875b0c Removed period for file headers 2015-11-03 11:53:50 -02:00
Claudio Sanches efa19f799d Fixed some coding standards for docblocks 2015-11-03 10:28:01 -02:00
Claudio Sanches 9eb3b6ddf9 Changed all requests with wp_remote_* to wp_safe_remote_* 2015-06-01 13:28:55 +01:00
Tamara Zuk af442599b1 Code Standards: Finish up admin includes
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`

@see http://make.wordpress.org/core/handbook/coding-standards/php/

@see part 1: #6157
2014-11-30 01:52:32 -05:00
claudiosmweb 74ba11c189 Removed some unused code 2014-11-19 21:36:47 -02:00
shivapoudel 4091fe00ad Absolute path and Indentation fix for includes/admin/{roots-files}.php :) 2014-09-21 01:37:30 +05:45
Mike Jolley ded4b7404d Admin changes for #5046
- Removed post type classes. Since they were always loaded, there was
no benefit having them split up. Combined meaning less hooked in
methods.
- Stopped loading some function files and sessions in the admin area.
They are not needed there.
- Made a few admin page classes static as they are stateless
2014-06-04 11:16:19 +01:00
Gerhard 7886ad84bd Expire transient after a week 2014-05-19 14:11:18 +02:00