• Resolved WPO+

    (@ivanpr)


    The sitemap’s XML has the following comment in the body:

    <!– Request ID: f4dc9d7cff97f3de128ef0b82d3a9814; Queries for sitemap: 8; Total queries: 21; Seconds: $end_time; Memory for sitemap: 0MB; Total memory: 10MB –>

    The $end_time is output as text.

    Is there a way to hide/disable this information?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Auctollo

    (@auctollo)

    @ivanpr, typically, these issues are generated by a caching or debugging plugin. Our plugin doesn’t generate diagnostic comments.

    Thread Starter WPO+

    (@ivanpr)

    What?


    Have a look at the sitemap-core.php, line: 2178

    $this->add_element( new GoogleSitemapGeneratorDebugEntry( ‘Request ID: ‘ . md5( microtime() ) . ‘; Queries for sitemap: ‘ . ( $GLOBALS[‘wpdb’]->num_queries – $start_queries ) . ‘; Total queries: ‘ . $GLOBALS[‘wpdb’]->num_queries . ‘; Seconds: $end_time; Memory for sitemap: ‘ . ( ( memory_get_peak_usage( true ) – $start_memory ) / 1024 / 1024 ) . ‘MB; Total memory: ‘ . ( memory_get_peak_usage( true ) / 1024 / 1024 ) . ‘MB’ ) );

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

The topic ‘Seconds: $end_time;’ is closed to new replies.