[wp-trac] [WordPress Trac] #45136: wp-personal-data-export cron error if folder not exists - create folder

WordPress Trac noreply at wordpress.org
Sat Mar 2 02:51:11 UTC 2019


#45136: wp-personal-data-export cron error if folder not exists - create folder
-------------------------------------+-----------------------------
 Reporter:  DuckDagobert             |       Owner:  desrosj
     Type:  defect (bug)             |      Status:  reviewing
 Priority:  normal                   |   Milestone:  Future Release
Component:  Privacy                  |     Version:  4.9.6
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:
-------------------------------------+-----------------------------
Changes (by garrett-eclipse):

 * keywords:  has-patch => has-patch needs-refresh
 * version:   => 4.9.6


Comment:

 Thanks for the patch @arena as well as the report @DuckDagobert

 @arena would you mind refreshing the patch with two minor things;
 1. Remove the initial empty line introduced after the function declaration
 and the first line of code.
 2. Generate the patch from the root directory, currently running `grunt
 patch:45136` results in error as the patch was diff'd from the same
 directory as the file and not the root of the repository.
 {{{
 Running "patch:45136" (patch) task
 (Stripping trailing CRs from patch.)
 can't find file to patch at input line 5
 Perhaps you used the wrong -p or --strip option?
 The text leading up to this was:
 --------------------------
 |Index: functions.php
 |===================================================================
 |--- functions.php      (revision 44186)
 |+++ functions.php      (working copy)
 --------------------------
 }}}
 Quoting - 'ensure that you are in the root directory created by your SVN
 checkout'
 Reference - https://make.wordpress.org/core/handbook/tutorials/working-
 with-patches/#creating-a-patch

 Thanks

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


More information about the wp-trac mailing list