Support » Plugins » Bug in P3 (Plugin Performance Profiler)

  • Hello,
    thanks for the usefull plugin; on test it now found a small bug, but very important.
    On the file p3-profiler.php, installed via Auto-install and activated for the network in Multisite; leve the file in mu-plugins-folder. If you define this folder via default WP const to another place, then dont works the plugin, has an hard coded path to the plugin.

    `define( ‘WP_PLUGIN_DIR’, ‘/var/www/wp-plugins’ ); // or with XAMPP C:/xampp/htdocs/plugins
    define( ‘WP_PLUGIN_URL’, ‘http://localhost/wp-plugins’ );`

    `define( ‘WPMU_PLUGIN_DIR’, ‘/var/www/wpmu-plugins’ );
    define( ‘WPMU_PLUGIN_URL’, ‘http://localhost/wpmu-plugins’ );`

    I change this to

    <?php // Start profiling
    require_once( WP_PLUGIN_DIR . '/p3-profiler/start-profile.php' ); ?>

    and works fine.

    http://wordpress.org/extend/plugins/p3-profiler/

Viewing 1 replies (of 1 total)
  • Also an Bug on JS:

    Uncaught TypeError: Cannot read property 'autoHighlight' of undefined
    http://localhost/wp-plugins/p3-profiler/js/jquery.flot.pie.min.js?ver=3.4-alpha-19896 line 5

Viewing 1 replies (of 1 total)
  • The topic ‘Bug in P3 (Plugin Performance Profiler)’ is closed to new replies.