Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #28102, comment 3


Ignore:
Timestamp:
05/03/2014 12:41:47 AM (11 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28102, comment 3

    initial v1  
    3232[attachment:28102.patch] fixes this by using a more unique name, `$_wp_plugin_file`, to restore the previous value.
    3333
    34 We could probably just replace all instances or `$plugin` in `activate_plugin()` with `$_wp_plugin_file`, but `$plugin` seems more readable.
     34We could probably just replace all instances of `$plugin` in `activate_plugin()` with `$_wp_plugin_file`, but `$plugin` seems more readable.