Commit Graph

137 Commits

Author SHA1 Message Date
Mike Jolley b4cfef95a2 Stop calling notice file 2019-03-13 10:40:38 +00:00
Mike Jolley 6f4eeef2fe Move deprecated notices to bottom of class and add deprecated tag 2019-03-13 10:37:30 +00:00
Mike Jolley 638812cdd3
Merge pull request #22904 from woocommerce/update/20577
Updates - Docs and ActionScheduler implementation
2019-03-12 13:21:48 +00:00
Timmy Crawford 0ebefa53fd Remove Blocks Plugin Notif 2019-03-08 11:09:15 -08:00
Mike Jolley b903086251 Fix callbacks and remove logging 2019-02-28 11:52:56 +00:00
Mike Jolley d990b5192f Switch to action scheduler 2019-02-28 11:11:08 +00:00
Mike Jolley a89caf0b89 Add wrapper for is_plugin_active 2019-02-27 15:25:27 +00:00
Mike Jolley 34dbf96847
Merge pull request #22410 from woocommerce/remove/simplify-commerce
Remove simplify commerce gateway from core
2019-02-04 11:23:23 +00:00
Refael Iliaguyev 8f0f22c11b Fix ssl check in case shop page does not exists. 2019-01-23 16:08:13 +02:00
Mike Jolley 9d381d456b Remove simplify commerce gateway 2019-01-10 12:01:27 +00:00
Gerhard f2230da7d2 Use get_bloginfo( 'version' ) instead of wp_version global 2018-11-15 15:27:58 +02:00
Gerhard 341c0a8277 Add wp 5.0 checks to wootenberg notice checks. 2018-11-15 15:26:19 +02:00
Ron Rennick 427d7df7fb Introduce WC_Admin_Notices::is_ssl(), add SSL check to dashboard SSL notice 2018-10-29 11:10:09 -03:00
claudiulodro 1890ef788d Persist wootenberg notice dismissal 2018-06-18 10:54:01 -07:00
claudiulodro 79551e9843 Wootenberg JITM 2018-06-13 11:36:36 -07:00
Mike Jolley fc8e7be3ab Only show notices on specific screens 2018-04-18 14:08:31 +01:00
Claudio Sanches 5dda3496fc Display message once per user 2018-04-17 18:26:08 -03:00
Claudio Sanches b270bd2c5b Fixed PHPCS violations 2018-04-17 17:44:11 -03:00
Claudio Sanches 8350f88f57 Introduced message about secure connection 2018-04-17 17:39:18 -03:00
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
Mike Jolley e39b6950a8 Notice when regeneration is happening 2018-02-13 12:02:24 +00:00
Caleb Burks c21cc2e8fe Replace “Cheatin’ uh?” with friendlier messages 2018-02-07 17:01:12 -05:00
Mike Jolley db73de335a Add notice for moved settings 2018-01-24 17:18:28 +00:00
claudiulodro a3d0d71cdf Deprecate theme notice 2018-01-10 09:52:52 -08:00
claudiulodro d87497962b Revert "Remove unsupported theme notice"
This reverts commit aad3792817.
2018-01-10 09:45:16 -08:00
claudiulodro aad3792817 Remove unsupported theme notice 2018-01-09 13:51:12 -08:00
Mike Jolley 6701917e5a Remove need for wc_get_core_supported_themes 2017-11-07 12:17:03 +00:00
Umangvaghela 10fe92cfc1 Fix-minor-changes 2017-10-16 16:33:12 +05:30
claudiulodro 0444cdef3c Initial notice implementation 2017-07-11 11:59:39 -07:00
Refael Iliaguyev 40ef76c12b Add rtl support for activation.css 2017-07-06 09:03:15 +03:00
Rasmus Bengtsson 6a7fc8650f Remove unused local variables 2017-05-15 12:06:52 +02:00
Aristeides Stathopoulos 734f284fa4 WordPress.PHP.YodaConditions.NotYoda 2016-09-08 01:32:24 +03:00
Aristeides Stathopoulos d4e3faf014 PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket 2016-09-02 04:51:31 +03:00
Aristeides Stathopoulos 82f3cc221e WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeOpenParenthesis 2016-08-27 07:23:02 +03:00
Mike Jolley b3dbd93df5 Updating if do_update_woocommerce is set. 2016-06-13 18:15:07 +01:00
Mike Jolley 34f2bd683e Prevent update notice appearing twice
@claudiosmweb
2016-06-13 12:44:19 +01:00
Shiva Poudel 00cc3711ac Minor tweaks and JSHint ignore for update notice script 2016-06-06 23:05:10 +05:45
Mike Jolley d4d6f3181c Best practice tweaks 2016-06-06 17:24:31 +01:00
Mike Jolley fa0422a7f0 Fix activation error due to countries class 2016-06-03 12:28:27 +01:00
Mike Jolley b3844257a0 Use wc_get_shipping_method_count helper 2016-05-25 12:05:33 +01:00
Mike Jolley dce5c312e5 Hide simplify notice outside of US 2016-05-16 11:30:20 +01:00
Mike Jolley bba4bab8e1 Save notices during shutdown 2016-05-11 14:22:06 +01:00
Mike Jolley a8bd4bc6e1 Updating/updated notices 2016-05-11 12:43:35 +01:00
Mike Jolley 8e0e9a0cc2 Deprecate Simplify in favour of feature plugin 2016-04-19 13:14:13 +01:00
Mike Jolley 3c97c93569 fix spacing 2016-04-01 17:33:00 +01:00
Mike Jolley c0ec85cd84 Implement new gateway screen in wizard and auto-install plugin-base gateways when chosen. 2016-04-01 17:30:04 +01:00
Mike Jolley bfadb22c7c Added notice when no methods exist 2016-03-31 18:54:33 +01:00
Mike Jolley e22d324be4 Add notice for legacy shipping zones after update 2016-03-15 15:58:03 +00: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 c53fe24c20 Removed our own language packs manager 2015-10-06 10:27:17 -03:00
Claudio Sanches a28c1c1e33 Fixed language update for en_US, closes #8568 2015-07-14 12:18:51 -03:00
Claudio Sanches d2686f3d2e Don't show language update message for en_US #8568 2015-07-14 12:04:14 -03:00
Mike Jolley 18c6a940f1 Merge branch 'onboarding'
Conflicts:
	assets/css/admin.css
	assets/css/select2.css
	assets/css/woocommerce-layout.css
	assets/css/woocommerce.css
	assets/js/admin/order-backbone-modal.min.js
	includes/admin/class-wc-admin-help.php
	includes/admin/class-wc-admin.php
	includes/admin/views/html-admin-page-status-report.php
	includes/admin/views/html-notice-install.php
	includes/admin/views/html-notice-template-check.php
	includes/admin/views/html-notice-theme-support.php
	includes/admin/views/html-notice-tracking.php
	includes/class-wc-install.php
	includes/class-wc-language-pack-upgrader.php

includes/shipping/international-delivery/class-wc-shipping-international
-delivery.php
2015-07-04 23:11:12 +01:00
Claudio Sanches 51c8bbf87c wrong nonce verification 2015-06-01 13:33:51 +01:00
Claudio Sanches 48094b9bf2 Added nonces and check capability when hide admin notices 2015-06-01 13:19:26 +01:00
Claudio Sanches be0f93f112 [2.3] Fixed theme check notice for core supported themes, closes #8208 2015-05-22 13:52:18 -03:00
Mike Jolley fedf3db92f Add filter to disable notices
Closes #8027
2015-04-29 12:21:48 +01:00
Mike Jolley 218fafe61c Only show notices to users who can manage_woocommerce
#8027
2015-04-29 12:08:15 +01:00
Mike Jolley c4df91eafb Remove frontend colors notice 2015-04-29 11:56:38 +01:00
Mike Jolley 4b92f642b3 Trigger wizard on install 2015-04-29 10:47:57 +01:00
Nicola Mustone 85fd634861 fix scrutinizer issues 2015-04-01 15:33:56 +02:00
Mike Jolley 16e14914d8 Enqueue tracking js when needed only 2015-02-12 11:35:12 +00:00
Mike Jolley d0daa1ecee Tweak reset_admin_notices to add, not remove, notices
Fixes #7254
2015-02-02 14:40:11 +00:00
Claudio Sanches 560d7d24ee Fixed the tracking opt-out 2015-01-23 15:20:09 -02:00
Mike Jolley e52611bbc3 Merge branch 'master' of https://github.com/woothemes/woocommerce
Conflicts:
	includes/class-wc-tracker.php
2015-01-23 16:38:44 +00:00
Mike Jolley 5ffaf97397 Only load tracking during cron and move notices to notices class 2015-01-23 16:36:52 +00:00
splashingpixels 6c61bf8c4c fixed theme-support notice closes #7196 2015-01-23 08:15:31 -08:00
Mike Jolley 2d8f021cc7 Optimise the admin notices class.
@claudiosmweb
2015-01-20 15:23:34 +00:00
Claudio Sanches b174d7c179 Stopped error when users use the woocommerce_enqueue_styles filter in the wrong way #7104 2015-01-14 12:32:34 -02:00
Claudio Sanches ebf5763fd6 Added message about WooCommerce Colors plugin, closes #7099 2015-01-14 10:17:03 -02: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
Mike Jolley b3782fa1a5 Removing Mijireh from core 2.3 2014-11-18 16:37:43 +00:00
shivapoudel 4091fe00ad Absolute path and Indentation fix for includes/admin/{roots-files}.php :) 2014-09-21 01:37:30 +05:45
shivapoudel 730563f1c1 If other notices are closed this translation won't have stylesheet so 2014-08-29 04:03:26 +05:45
Mike Jolley 1c3b4fdc5c Deprecate Mijireh - .org repo requested
Closes #6027
2014-08-15 11:50:53 +01:00
claudiosmweb 2b1a99eca6 introduces the wc_get_core_supported_themes() function 2014-06-27 16:42:23 -03:00
claudiosmweb 97fb619e23 fixed undefined variable $status, closes #5673 2014-06-13 12:18:00 -03:00
claudiosmweb 1c128d8ebd added a notice to display messages about available translation upgrades 2014-06-04 13:01:38 -03:00
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
Mike Jolley 26d0e711cd Need to actually check $outdated. Derp. @coenjacobs 2014-02-11 15:13:51 +00:00
Mike Jolley aff704ae6e New notice aimed at identifying out of date template files in a theme. Also improves the status page.
@coenjacobs
2014-02-11 13:33:56 +00:00
James Koster c22ebcc7ae twentyfourteen compat. closes #4272 2013-12-09 09:55:11 +00:00
Mike Jolley 51ba9c393f WC globals 2013-11-25 14:01:38 +00:00
Mike Jolley e143d344e5 Constants 2013-10-24 19:36:22 +01:00
Mike Jolley cd50b328a2 Install and update functions 2013-07-25 16:29:25 +01:00
Mike Jolley 8a6ff89bf1 Moved admin directory and moved some functions to classes (ongoing refactor) 2013-07-24 17:01:36 +01:00