Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • mayhemer

    (@mayhemer)

    Thank you!!!

    Thread Starter mayhemer

    (@mayhemer)

    I’ve patched define.php as:

    function w3_can_print_comment(&$buffer) {
    + print_r(debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS));
    + die(‘—‘);
    return apply_filters(‘w3tc_can_print_comment’, w3_is_xml($buffer) && !defined(‘DOING_AJAX’));
    }

    And here is content with backtrace:

    Array
    (
    [0] => Array
    (
    [file] => <path>\wp-content\plugins\w3-total-cache\lib\W3\PgCache.php
    [line] => 301
    [function] => w3_can_print_comment
    )

    [1] => Array
    (
    [file] => <path>\wp-content\plugins\w3-total-cache\lib\W3\PgCache.php
    [line] => 202
    [function] => process_cached_page
    [class] => W3_PgCache
    [type] => ->
    )

    [2] => Array
    (
    [file] => <path>\wp-content\advanced-cache.php
    [line] => 35
    [function] => process
    [class] => W3_PgCache
    [type] => ->
    )

    [3] => Array
    (
    [file] => <path>\wp-settings.php
    [line] => 58
    [args] => Array
    (
    [0] => <path>\wp-content\advanced-cache.php
    )

    [function] => include
    )

    [4] => Array
    (
    [file] => <path>\wp-config.php
    [line] => 106
    [args] => Array
    (
    [0] => <path>\wp-settings.php
    )

    [function] => require_once
    )

    [5] => Array
    (
    [file] => <path>\wp-load.php
    [line] => 29
    [args] => Array
    (
    [0] => <path>\wp-config.php
    )

    [function] => require_once
    )

    [6] => Array
    (
    [file] => <path>\wp-blog-header.php
    [line] => 12
    [args] => Array
    (
    [0] => <path>\wp-load.php
    )

    [function] => require_once
    )

    [7] => Array
    (
    [file] => <path>\index.php
    [line] => 17
    [args] => Array
    (
    [0] => <path>\wp-blog-header.php
    )

    [function] => require
    )

    )

    W/o DEBUG_BACKTRACE_IGNORE_ARGS I can see the content is generated as expected, the whole page content is carried in one of args.

    I’d like to escalate this too. I’m just opening a multilingual site using WPML and love to use Yoast SEO plugin to check my pages and posts. However, this completely doesn’t work for words with accent and diacritic. It’s quit a shame. I believe that would be simple to fix and make the plugin useful for much broader audience of world wide bloggers. Thanks for your work on this plugin!

Viewing 3 replies - 1 through 3 (of 3 total)