Commit Graph

56 Commits

Author SHA1 Message Date
NekoJonez cf40e5d498
Update class-wc-privacy.php
Deleted an unneeded double space in a string on line 89.
2021-08-12 15:26:45 +02:00
Peter Fabian 068cd6cd4a Delay the registration of data exporters and erasers.
This is because i18n is not initialized yet and incorrect translations could be loaded.
2020-10-23 19:02:10 +02:00
Romario 67a178f4f7 Replace 'DIRECTORY_SEPARATOR' with '/' 2020-08-26 15:50:34 -05:00
Romario 073c63c9c4 Replace dirname with __DIR__ and add DIRECTORY_SEPARATOR
Previously 'dirname(  __FILE__ )' was used to import files, however, the directory separator was missing.

This commit replaces 'dirname(  __FILE__ )' that was introduced in 5370d02484 with __DIR__  and added DIRECTORY_SEPARATOR
2020-08-21 15:16:26 -05:00
Romario 5370d02484 Change relative include paths to absolute include paths
Relative include paths in PHP can break whenever the server is running opcache.  As such, WordPress.com deploy system refuses to include WooCommerce because of that issue.

This commit changes the relative include paths to absolute include paths.

Relates to #27269
2020-08-20 15:32:04 -05:00
Garrett Hyder 3dd6489c69 Update Suggested Privacy Policy text to utilize css class instead of as it was deprecated. Also wrap the contents in the div to style the section to match WordPress. This follows from WPCoreTrac#49282 and although back-compat is being introduced in WP5.4 as of WPChangeset#47112 this change will better support users of WP5.1-5.4 2020-02-04 13:24:55 -08:00
Claudio Sanches e109258583 Check if wp_delete_user() exists before use 2020-01-24 18:49:21 -03:00
Rodrigo Primo 7337ab60c2 Fix PEAR.Functions.FunctionCallSignature violations
This commit fixes all violations of the PEAR.Functions.FunctionCallSignature sniff automatically using phpcbf.
2019-12-20 15:25:23 -03:00
Mike Jolley eef1eb44d8 WooCommerce prefix only 2018-06-14 15:47:15 +01:00
Allen Snook 745b6bff29 Expand eraser and exporter friendly names for scope clarity 2018-05-24 12:56:32 -07:00
Mike Jolley 9c2edf4983 Moves around some includes so they are included before the autoloader needs to find them 2018-05-22 12:57:48 +01:00
Mike Jolley c409a30765 erasers; target shoP_order only and allow filters 2018-05-18 12:29:56 +01:00
pierrebuet 3850f4f13a Diverse typos 2018-05-04 16:57:01 +02:00
Claudiu Lodromanean fdb8cdb482
Merge pull request #19945 from woocommerce/update/gdpr-messages
Updates to GDPR wording
2018-05-03 08:00:05 -07:00
Mike Jolley 3a67c497d0 Update policy text 2018-05-03 13:19:50 +01:00
Boro Sitnikovski d3f3073f13 Merge branch 'master' into tweak/gdpr-customer-tokens 2018-05-03 12:02:12 +02:00
Boro Sitnikovski 194dba40e2 Make sure devs pass their own unique ID and use localisation for constructor 2018-05-03 10:47:30 +02:00
Boro Sitnikovski 1cfa6c6e4e Per discussion with Mike, use id when adding exporters/erasers 2018-05-03 10:36:11 +02:00
Boro Sitnikovski d8d2f03a50 Introduce GDPR export/erase for customer tokens 2018-05-03 09:46:07 +02:00
Mike Jolley 113a27fba9 Privacy page content 2018-05-01 14:36:47 +01:00
Mike Jolley f59acf1350 Merge branch 'master' into update/erasure-requests 2018-05-01 13:46:53 +01:00
Mike Jolley c765ce644d Inactive account handling 2018-04-30 15:38:45 +01:00
Claudio Sanches b7f1d20148 Fixed coding standards 2018-04-27 15:43:27 -03:00
Allen Snook 65311c41c7 Reduce priority value for WooCommerce personal data exports 2018-04-26 10:50:37 -07:00
Mike Jolley b1dfc31d4e Remove tx id 2018-04-26 13:15:14 +01:00
Mike Jolley 091d5326f2 Update abstract class and privacy code 2018-04-26 11:29:51 +01:00
Boro Sitnikovski 92cd1ec0d8 Abstract out privacy class so that extensions can easily re-use it 2018-04-25 02:13:59 +01:00
Mike Jolley c8005a8c00 Wording updates 2018-04-24 16:47:55 +01:00
Eric Daams 956dc6b9b9 Fixes spelling mistake in privacy policy content snippet. 2018-04-23 09:50:08 +09:30
Mike Jolley f71ffb5f5e Added erasure code and moved into separate classes. 2018-04-20 16:47:58 +01:00
Gregory Karpinsky 8d2b32b622
Update class-wc-privacy.php
Spelling
2018-04-20 07:57:53 -04:00
claudiulodro c15cb09700 Resolve merge conflicts 2018-04-18 09:46:15 -07:00
Mike Jolley 33f4fd7b93 Moved to privacy class and updated dummy content. 2018-04-18 17:10:41 +01:00
Mike Jolley 29961b540a Fix up query 2018-04-18 12:04:53 +01:00
Mike Jolley 248ad8f860 Add anonymized meta to order 2018-04-18 11:35:42 +01:00
Mike Jolley 30ba25d535 Remove defaults 2018-04-18 11:24:07 +01:00
Mike Jolley 9dfb91835e Merge branch 'master' into update/gdpr-order-cleanup 2018-04-18 11:21:43 +01:00
Mike Jolley bce3c7e94c Disable anon for now 2018-04-17 15:33:40 +01:00
Mike Jolley 314d949d2c Background process to cleanup 2018-04-17 15:21:03 +01:00
Mike Jolley 6598f6dc61 Basic privacy class from #19330 2018-04-17 12:25:03 +01:00
Mike Jolley 93d20d9c93 Data removal handling 2018-04-13 18:03:02 +01:00
Mike Jolley eb6d230d38 Export downloads and logs 2018-04-13 17:00:26 +01:00
Mike Jolley 965712a1d7 Data removal for accounts/guests 2018-04-13 15:35:03 +01:00
Mike Jolley 6cb72c2e03 Add extra data to export 2018-04-13 11:49:03 +01:00
Mike Jolley 704ee893cf Update for new patch in core 2018-04-12 17:32:02 +01:00
Mike Jolley 7a568e2f68 Personal data removal experiment 2018-03-16 13:53:18 +00:00
Mike Jolley 94bfd3b336 Update formatting and tests 2018-03-15 10:54:32 +00:00
Mike Jolley 27f07807a5 Clean up 2018-03-14 15:23:39 +00:00
Mike Jolley e0ab13bd3c Tests and test pass 2018-03-14 15:14:45 +00:00
Mike Jolley fec36ff4b2 Test runner 2018-03-14 14:29:03 +00:00