[wp-trac] [WordPress Trac] #43637: Add filters and ajax support for personal data erasure

WordPress Trac noreply at wordpress.org
Mon Apr 30 05:14:20 UTC 2018


#43637: Add filters and ajax support for personal data erasure
-----------------------------------------------+-----------------------
 Reporter:  allendav                           |       Owner:  allendav
     Type:  enhancement                        |      Status:  assigned
 Priority:  normal                             |   Milestone:  4.9.6
Component:  General                            |     Version:  trunk
 Severity:  normal                             |  Resolution:
 Keywords:  gdpr has-patch commit fixed-major  |     Focuses:
-----------------------------------------------+-----------------------

Comment (by SergeyBiryukov):

 Replying to [comment:15 desrosj]:
 > Change the `%d` placeholders for array indexes to `%s` (there was
 nothing ensuring arrays have numeric indexes only).

 `$eraser_index` is specifically cast to `int` though:
 {{{
 $eraser_index = (int) $_POST['eraser'];
 }}}
 Let's just add translator comments and leave the placeholders as is, I
 don't see a need for changing them.

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


More information about the wp-trac mailing list