Commit Graph

634 Commits

Author SHA1 Message Date
vedanshujain e89ee25f36 Better option names to properly describe their intention.
Additionally, allow an option in `verify_base_tables` to call `create_table` method. This will be useful if someone wants to fix the their database.
2020-05-26 23:26:45 +05:30
vedanshujain fafa44bde0 Modified notice to also handle when REST API does not have verify tool. 2020-05-22 18:32:03 +05:30
vedanshujain 3acc03c804 Add `verify_base_db` method to check if all base tables are present.
Optionally, also adds a notice in case all db tables are not present. Returns list of tables.

Note that we only check missing tables and don't care about exact table structure because many time tables are modified by merchants to better suit their needs (indexes, collations etc).
2020-05-22 18:30:11 +05:30
Claudio Sanches 281459914b
Fixed space in URL 2020-05-12 15:16:36 -03:00
Claudio Sanches 8d6e13952a
New docs URL 2020-05-12 15:16:11 -03:00
Claudio Sanches 7ee559004b Change notice class to error 2020-05-07 16:05:45 -03:00
Claudio Sanches 16027eb33e Updated the notice 2020-05-06 21:50:01 -03:00
Claudio Sanches 1208f79476 Included view 2020-05-05 14:04:42 -03:00
Claudio Sanches d8b8601601 Updated uploads directory check and saved results on transients 2020-05-05 14:03:12 -03:00
Claudio Sanches 040944fda6 Updated notice 2020-05-04 22:20:03 -03:00
Claudio Sanches 0eae470c0f Added notice to check if uploads directoy is public 2020-04-17 18:21:29 -03:00
Vedanshu Jain 5adb16e287
Merge pull request #25904 from woocommerce/fix/25073
Change string for untested WC extensions to avoid confusion
2020-04-06 23:18:42 +05:30
Claudio Sanches 83609d4844 Improved escaping 2020-04-02 14:25:09 -03:00
Claudio Sanches f02780e764 Update theme update available message 2020-04-02 14:22:50 -03:00
vedanshujain 3ef491631f Better messaging to inform that remote files will not be affected 2020-03-16 16:52:35 +05:30
Rodrigo Primo b9165c66a8 Refactor code that lists plugins to avoid duplication
This commit creates a new method called
WC_Admin_Status::output_plugins_info() that is used to display the
plugins that are installed on the site in the system status report page.
It is used to display both the active and inactive plugins sections and
it was created to remove code duplication.

I don't think that adding this code as a method to WC_Admin_Status is
an ideal solution but it is the best that I could think and it is better
than duplicating code. Suggestions of other places are welcome.
2020-03-12 10:47:54 -03:00
vedanshujain 7dad11dfc2 Also used add_query_args for better compatibility 2020-03-12 16:30:08 +05:30
vedanshujain 75c3583ff5 Use admin_url instead of using absolute url to support subfolder installs 2020-03-11 21:30:35 +05:30
Peter Fabian 2eca326825 Improve translatability of version string. 2020-03-09 13:07:32 +01:00
Peter Fabian a9e262cb38 Make inactive plugin more visually distinctive. 2020-03-05 19:19:20 +01:00
Peter Fabian 381386bdaf Rename $path to prevent clashing with global variable. 2020-03-05 19:11:56 +01:00
Peter Fabian 0bd518cf52 Update system status info about WC Admin.
The check now also tests whether wc admin is active to prevent notice about undefined constant when running on WP 5.2 and older, or with inactive WC Admin.
2020-03-05 17:50:55 +01:00
Ron Rennick 4e43b27aed update status report to correctly show active plugin 2020-02-25 14:51:22 -04:00
vedanshujain b29219969c Addressed code review comments 2020-02-07 17:54:54 +05:30
vedanshujain dc060fe700 Add notice when "redirect only" download method is selected.
This download is insecure as it reveals the original file location. We will try to nudge user to use any of the other download method instead.
2020-02-07 17:54:54 +05:30
Peter Fabian 5c23d013d7 Added info about packages to System Status Report. 2020-02-05 21:54:05 +01:00
Christopher Allford 57734ca8ce Merge branch 'master' into refactor/add-jetpack-constants 2020-02-04 14:36:35 -08:00
Claudio Sanches 3fa9c79d94 Remove old notice file 2020-02-04 13:17:36 -03:00
Christopher Allford 6ad091a9b7 Changed all of the constant accesses into corresponding Automattic\Jetpack\Constants usages 2020-01-28 21:21:29 -08:00
Claudio Sanches eedf82da38 Fixed coding standards 2020-01-15 20:40:55 -03:00
Christopher Allford 42269f965c Added clarification that the MaxMind license key is not strictly necessary 2020-01-14 14:09:51 -08:00
Rodrigo Primo 241c6cd590 Make context for admin notice documentation more clear 2020-01-14 17:07:12 -03:00
Claudio Sanches 1c874264d8 Removed MaxMind from System Status page 2020-01-13 21:48:23 -03:00
Christopher Allford f5d07c954c Adjusted the MaxMind license key notice to be clearer 2020-01-10 13:07:26 -08:00
Claudio Sanches c3abe8ac65 Added missing license key notice and triggers 2020-01-10 15:07:05 -03:00
Christopher Allford 44aed47f4d Added empty categories to the product exporter admin view 2019-11-27 12:08:56 -08:00
Claudio Sanches 0624894462 Introduced hooks before and after settings form 2019-11-13 13:20:18 -03:00
vedanshujain ec490409ea Refactor to use constant so that we have easy way to reset admin notice version 2019-10-15 16:07:02 +05:30
Claudio Sanches 78452a3f0f Fixed post type count only when avaliable in REST API 2019-10-02 15:03:46 -03:00
Vedanshu Jain 7bb1a0babd
Merge pull request #24536 from nikhil-webkul/patch-3
Add back post type count to system status report
2019-10-02 14:47:48 +05:30
Rodrigo Primo 1b699621be
Merge pull request #24639 from itowhid06/master
use `esc_html__` instead of  `esc_html`
2019-09-23 12:32:23 -03:00
Towhidul Islam 780584230a use `esc_html__` instead of `esc_html` 2019-09-15 21:27:49 +06:00
itzmekhokan 5a54c87c55 Fixed issue #24588 2019-09-07 12:23:33 +05:30
Claudio Sanches 0ea56e0bab Fixed coding standards 2019-08-30 14:33:59 -03:00
Claudio Sanches 49af62ba8b Allow some HTML markup on addons banner 2019-08-30 14:29:08 -03:00
Nikhil Chaudhary 47e3f9bd3b
Update html-admin-page-status-report.php
Added the missing post type count section.
2019-08-30 11:46:04 +05:30
Yash Kapoor 18208163d6
Update html-admin-page-addons.php
Fixed escaping function for attribute value.
2019-08-28 19:26:36 +05:30
Mohit Verma 71db4b4068
Update html-admin-page-addons.php
Added alt tag translation.
2019-08-22 17:01:08 +05:30
Daniel Bitzer b59e633b15 Fix output escaping for menu titles
Menu title contains HTML
2019-08-05 13:51:45 +02:00
Gerhard Potgieter aa706fd68f
Merge pull request #24075 from woocommerce/add/in-app-purchase-params
Add in-app-purchase params to extensions screen & suggestions
2019-07-15 09:18:51 +02:00