[wp-trac] [WordPress Trac] #43438: Add filters and Ajax support for personal data export

WordPress Trac noreply at wordpress.org
Sat Jun 2 11:22:04 UTC 2018


#43438: Add filters and Ajax support for personal data export
-----------------------------------------------+-----------------------
 Reporter:  azaozz                             |       Owner:  desrosj
     Type:  enhancement                        |      Status:  assigned
 Priority:  low                                |   Milestone:  4.9.7
Component:  Privacy                            |     Version:  4.9.6
 Severity:  normal                             |  Resolution:
 Keywords:  gdpr has-unit-tests needs-refresh  |     Focuses:
-----------------------------------------------+-----------------------

Comment (by birgire):

 @desrosj thanks, the ajax tests have a reputation of being slow (they are
 e.g. run seperately), so it was a very reserved patch regarding the number
 of tests.

 I haven't look into it where that slowness might come from, if it's
 related to the usage of {{{WP_Ajax_UnitTestCase}}}, {{{_handleAjax()}}} or
 elsewhere.

 I can try to add more tests and see if it affects the run time.

 Then there's
 [https://core.trac.wordpress.org/attachment/ticket/44233/43546.wpPrivacyGeneratePersonalDataExportFile.php
 this kind of approach ] that uses {{{WP_UnitTestCase}}} with selected bits
 from the {{{WP_Ajax_UnitTestCase}}} class setup. Wonder if this approach
 is faster.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/43438#comment:66>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list