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 filep3-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’, ‘https://localhost/wp-plugins’ );``define( ‘WPMU_PLUGIN_DIR’, ‘/var/www/wpmu-plugins’ );
define( ‘WPMU_PLUGIN_URL’, ‘https://localhost/wpmu-plugins’ );`I change this to
<?php // Start profiling require_once( WP_PLUGIN_DIR . '/p3-profiler/start-profile.php' ); ?>
and works fine.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Bug in P3 (Plugin Performance Profiler)’ is closed to new replies.