Make WordPress Core


Ignore:
Timestamp:
02/10/2014 10:59:40 PM (11 years ago)
Author:
nacin
Message:

Detect and handle symlinking of plugins in plugin_basename().

props rmccue, MikeSchinkel, jdgrimes.
see #16953.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/plugins.php

    r26518 r27158  
    144144            // Go back to "sandbox" scope so we get the same errors as before
    145145            function plugin_sandbox_scrape( $plugin ) {
     146                wp_register_plugin_realpath( WP_PLUGIN_DIR . '/' . $plugin );
    146147                include( WP_PLUGIN_DIR . '/' . $plugin );
    147148            }
Note: See TracChangeset for help on using the changeset viewer.