Support » Plugin: Yoast SEO » Changing of the number of posts per XML sitemap one fix

  • #1 Some of us have big sites build on WordPress and because our content is so important we don’t cache the sitemap.

    I saw that you have implemented

    “Allow changing of the number of posts per XML sitemap, to prevent memory issues on certain installs.”
    This feature would be very good but now it is not working as expected.

    #2 in wpseo-functions.php @ line 171
    change

    '%%excerpt%%' => ( !empty( $r->post_excerpt ) ) ? strip_tags( $r->post_excerpt ) : utf8_encode( substr( strip_shortcodes( strip_tags( utf8_decode( $r->post_content ) ) ), 0, 155 ) ),

    into

    '%%excerpt%%' => ( !empty( $r->post_excerpt ) ) ? strip_tags( $r->post_excerpt ) : ( substr( strip_shortcodes( strip_tags( ( $r->post_content ) ) ), 0, 155 ) ),

    So characters like ș, ț, ă are not replaced by ?

    http://wordpress.org/extend/plugins/wordpress-seo/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Changing of the number of posts per XML sitemap one fix’ is closed to new replies.