woocommerce/includes/admin/views
Gerhard Potgieter 698625ce1d WP & PHP Upgrade Notices (#23975)
This commit introduces a banner that notifies and prompts users to upgrade their WordPress and/or PHP if they are outdated and not part of the minimum required versions going into WooCommerce 3.7.

* Add backward compatible function wp_check_php_version for sites running WP version smaller than 5.1

* Refactor some messaging, move widget to top of WC dashboard widgets, add buttons linking out to WP pages with instructions.

* Add missing variables for adding nag class

* Add styling to dashboard widget

* Rework css to use exclamation instead

* Clean up widget, make sure no widget is registered when dismissed. Add banner that links to widget and make it dismissable.

* Update constant to reflect minimum requirements.

* Don't show banner. Fix undefined variable.

* Remove dashboard widget

* Update banner link to docs site

* Add link to docs page where instructions live for updating

* Change button text

* Add UTM params to docs link

* Moved the msg logic from template to php file.

* Bail out early when PHP and WP versions are ok.

* Added missing translation functiog

* Extracted notice function from reset_admin_notices.

To follow suit with other similar functions in the file.

* Synchronize fetching of WP version.

* Removed unused functions.

* Corrected indent.

* Reduce number of variables and fixed coding standards

* Updated wording of the notice.
2019-06-26 14:09:20 -03:00
..
html-admin-page-addons.php Use phpcbf to fix coding standard violations in includes/admin 2018-03-05 16:21:35 -03:00
html-admin-page-product-export.php Allow for multiple category selections when exporting. 2018-08-07 16:58:39 +02:00
html-admin-page-reports.php Use phpcbf to fix coding standard violations in includes/admin 2018-03-05 16:21:35 -03:00
html-admin-page-status-logs-db.php Use phpcbf to fix coding standard violations in includes/admin 2018-03-05 16:21:35 -03:00
html-admin-page-status-logs.php Better way of doing it 2018-10-11 13:31:34 -07:00
html-admin-page-status-report.php Merge pull request #23919 from woocommerce/fix/codex-memory-limit-link 2019-06-24 12:12:11 -03:00
html-admin-page-status-tools.php Fix status page padding 2017-08-30 15:39:54 +01:00
html-admin-page-status.php Use phpcbf to fix coding standard violations in includes/admin 2018-03-05 16:21:35 -03:00
html-admin-settings.php Hook mapping/bw compat 2018-04-16 14:27:03 +01:00
html-bulk-edit-product.php Add increase and decrease stock qty option to bulk product edit. 2019-01-16 11:22:11 +02:00
html-email-template-preview.php Add anchor tag example to email template preview 2018-05-25 14:41:20 -04:00
html-notice-custom.php Fixed mixed tabs and spaces 2016-07-11 16:56:35 +02:00
html-notice-install.php Fix strings case (#12069) 2016-10-12 11:16:30 +01:00
html-notice-legacy-shipping.php Fix dismiss button in two WC admin notices 2019-04-25 14:19:35 -03:00
html-notice-no-shipping-methods.php Fix dismiss button in two WC admin notices 2019-04-25 14:19:35 -03:00
html-notice-regenerating-lookup-table.php Remove red styling 2019-04-23 12:10:07 +01:00
html-notice-regenerating-thumbnails.php Cancel button text 2018-02-13 19:21:52 +00:00
html-notice-secure-connection.php grammar fix... 2018-04-18 09:11:32 -04:00
html-notice-template-check.php Update outdated templates notice 2018-07-09 15:10:49 +02:00
html-notice-update.php update text 2019-03-06 12:00:54 +00:00
html-notice-updated.php Update notice wording 2019-02-28 11:16:09 +00:00
html-notice-updating.php Remove red styling 2019-04-23 12:10:07 +01:00
html-notice-wc-admin.php Add wc-admin notice. 2019-05-17 13:53:37 -07:00
html-notice-wp-php-minimum-requirements.php WP & PHP Upgrade Notices (#23975) 2019-06-26 14:09:20 -03:00
html-quick-edit-product.php Update quick edit logic to handle external products 2018-05-08 16:58:51 +01:00
html-report-by-date.php Disable autocomplete from date inputs 2018-07-02 15:55:26 +01:00