Support » Plugin: P3 (Plugin Performance Profiler) » Broken in 4.3.1

  • The issue is that on tools.php the JavaScript pie chart values seem to be printed localized, meaning for example 0.3462353 will be output as 0,3462353 (note the comma). Which of course isn’t understood by the interpreter.

    Can be temporarily fixed by editing wp-content/plugins/p3-profiler/templates/view-scan.php.

    On line 172, replace

    data: <?php echo $v; ?>

    with

    data: <?php echo str_replace(',', '.', $v); ?>

    This is no real fix, just a workaround, as I haven’t found the time to dig deeper to find where those values are actually falsely put.

    https://wordpress.org/plugins/p3-profiler/

  • The topic ‘Broken in 4.3.1’ is closed to new replies.