[wp-hackers] Never Permanently Delete

Shawn Parker shawn at crowdfavorite.com
Tue Oct 5 22:48:18 UTC 2010


Until you or someone else forgets, upgrades WP, and BAM! everything you've tried to protect is undone and you're off to your backups to restore the server state.

I haven't tested it, but have you tried: remove_action('wp_scheduled_delete', 'wp_scheduled_delete');

Shawn


On Oct 5, 2010, at 2:30 PM, Ryan Bilesky wrote:

> meh its a simple enough modification I don;t mind having to redo it when I
> update core.
> 
> On Tue, Oct 5, 2010 at 1:23 PM, Andrew Nacin <wp at andrewnacin.com> wrote:
> 
>> On Tue, Oct 5, 2010 at 3:41 PM, Ryan Bilesky <rbilesky at gmail.com> wrote:
>> 
>>> or I can just comment out 2 lines in admin.php to prevent the auto delete
>>> from scheduling.  I'm actually kinda surprised I haven't had to hack core
>>> yet with all the changes I am making to my wordpress install.
>> 
>> 
>> You should never hack core. Ever.
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>> 
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list