php - Wordpress Automatic Backup Modification -
I am currently trying to change the script so that they can save the file on a more regular basis (approximately 6 hours In a bar)
At this time I can not get it to work, so any help would be greatly appreciated. I've added 'often' in the automatic-wordpress-backup & gt; Adding 'often' to the following code (line 36 9-373) along with 600 init function (line 51):
& lt; Select name = "s3b-schedule" & gt; & Lt ;? $ S as Php foreach (array ('disabled', 'often', 'hourly', 'daily', 'weekly', 'monthly') :? & Gt; & Lt; Option value = "& lt ;? php echo strtolower ($ s)? & Gt;" & Lt ;? Php if (strtolower ($ s) == get_option ('s3b-schedule') || ((get_option ('s3b-schedule') === incorrect || get_option ('s3b-schedule') == '') & Amp; $ s == 'Daily')) Echo 'Selected =' Selected ''? & Gt; & Gt; & Lt ;? Php echo $ s? & Gt; & Lt; / Option & gt; & Lt ;? Php endforeach; ? & Gt; & Lt; / Select & gt; For a long time with the whole code I am not sure whether I have to upload everything here or if you check the original package in the link given above, but if you need more Please tell me the information.
Thanks
I took a quick look.
To get started, try pastie.org and paste the source of the plugin. I think if you have to download the plug-in to see the source you will get fewer answers. I took a quick look and the changes you made seem appropriate.
See line 59 where the schedule is scheduled using backup. It is basically said, take the value passed from the administrator form and backup in this schedule. If this does not work, install Filder and when you save your changes, then check the post data sent from the plugin. You should see your new 'frequent' option. If it is being crossed but still not running, then see the hook s3-backup (the third ultimate). There should be something wrong. Good luck.
Comments
Post a Comment