Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added support for WP personal data exporter & eraser #1355 #1356

Merged
merged 15 commits into from
Oct 21, 2023

Conversation

hansmorb
Copy link
Contributor

@hansmorb hansmorb commented Sep 21, 2023

https://developer.wordpress.org/plugins/privacy/adding-the-personal-data-exporter-to-your-plugin/
closes #1355

So sieht das dann im WP eigenen Export aus:
image

Auch ganz schön zu sehen, dass wenn der Artikel gelöscht wird das Feld für den Posttitel einfach leer bleibt.

@hansmorb hansmorb added enhancement New feature or request ready PRs that are ready to be merged & only need quick testing / review php Pull requests that update Php code labels Sep 21, 2023
@codecov
Copy link

codecov bot commented Sep 21, 2023

Codecov Report

Merging #1356 (060e6f9) into master (d2afd3a) will increase coverage by 0.49%.
The diff coverage is 80.22%.

@@             Coverage Diff              @@
##             master    #1356      +/-   ##
============================================
+ Coverage     35.87%   36.36%   +0.49%     
- Complexity     2115     2134      +19     
============================================
  Files            83       83              
  Lines          8592     8734     +142     
============================================
+ Hits           3082     3176      +94     
- Misses         5510     5558      +48     
Files Coverage Δ
src/Model/CustomPost.php 74.00% <ø> (ø)
src/Repository/Booking.php 98.43% <100.00%> (+0.46%) ⬆️
src/Repository/Timeframe.php 90.38% <100.00%> (ø)
src/View/Booking.php 62.50% <33.33%> (-0.64%) ⬇️
src/Model/Booking.php 72.68% <37.50%> (-1.43%) ⬇️
src/Plugin.php 27.57% <0.00%> (-0.96%) ⬇️
src/Wordpress/CustomPostType/Booking.php 30.25% <87.15%> (+11.95%) ⬆️

... and 1 file with indirect coverage changes

@hansmorb hansmorb changed the title added support for WP personal data exporter #1355 added support for WP personal data exporter & eraser #1355 Sep 23, 2023
* @param int $perPage The number of bookings per page. A lower number will result in faster queries.
* @param array $customArgs Valid WP_Query args array.
*
* @return array
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hier fehlt noch Model/Booking type annotation

@@ -84,6 +84,7 @@ public static function getBookableForCurrentUser(
* Why? We have different types of timeframes and in some cases we need multiple of them.
* In this case we need this function.
* Other functions use this one as base function for more specialized searches.
* This function is not based on the WP_Query class, probably because of performance reasons.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Vielleicht eher ein TODO Investigate 😆 würde mich aber auch mal interessieren.

@hansmorb hansmorb merged commit b88995f into master Oct 21, 2023
10 checks passed
@hansmorb hansmorb deleted the enhancement/issue-1355 branch October 22, 2023 21:47
@datengraben datengraben added this to the 2.8.5 milestone Nov 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request php Pull requests that update Php code ready PRs that are ready to be merged & only need quick testing / review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for wp_privacy_personal_data_exporters
2 participants