Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #26904, comment 9


Ignore:
Timestamp:
11/21/2014 09:44:13 AM (11 years ago)
Author:
juliobox
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26904, comment 9

    initial v1  
    1010@TobiasBG : This argument is not valid, you can't refuse a hook because of a possible missuse from a user. Using this way of thinking, why do we have a hook on user_delete if someone can delete it directly from PHPMYADMIN? So, it's not relevant, sorry.
    1111
     12edit : i just thought this: why not just remove the first "return true"? So when uninstall files are included, this is not a blocking situation, then all hooks (added by register_uninstall) will also be triggered!
     13
    1214Thanks to add this simple hook quickly to restore the balance into the force ;)