WordPress.org

Ready to get started?Download WordPress

Forums

Bug in P3 (Plugin Performance Profiler) (2 posts)

  1. Frank
    Member
    Posted 2 years ago #

    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/

  2. Frank
    Member
    Posted 2 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic