Skip to content

Commit

Permalink
Flush our force rewrite buffer earlier in wp_footer. Props @gabrielpe…
Browse files Browse the repository at this point in the history
  • Loading branch information
Joost de Valk committed Mar 15, 2014
1 parent 178d45d commit dfecce2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/class-frontend.php
Expand Up @@ -103,7 +103,7 @@ function __construct() {

if ( $this->options['forcerewritetitle'] === true ) {
add_action( 'get_header', array( $this, 'force_rewrite_output_buffer' ) );
add_action( 'wp_footer', array( $this, 'flush_cache' ) );
add_action( 'wp_footer', array( $this, 'flush_cache' ), -1 );
}

if ( $this->options['title_test'] > 0 ) {
Expand Down
1 change: 1 addition & 0 deletions readme.txt
Expand Up @@ -116,6 +116,7 @@ You'll find the [FAQ on Yoast.com](https://yoast.com/wordpress/plugins/seo/faq/)
* Fixed OpenGraph/GooglePlus/Twitter tags not showing in a select few themes, [issue #750](https://github.com/Yoast/wordpress-seo/issues/750) as reported by [Jovian](https://github.com/Jovian) and [wwdboer](https://github.com/wwdboer) - props [Jrf](http://profiles.wordpress.org/jrf).
* Fixed duplicate feedback messages on WPSEO -> Social pages as reported by [steverep](https://github.com/steverep) in [issue #743](https://github.com/Yoast/wordpress-seo/issues/743) - props [Jrf](http://profiles.wordpress.org/jrf).
* Prevent infinite loop triggered by `sitemap_close()`, fixes [#600](https://github.com/Yoast/wordpress-seo/issues/) as reported and fixed by [pbogdan](https://github.com/pbogdan).
* Flush our force rewrite buffer earlier in `wp_footer` so it can be used by other plugins in `wp_footer`. Props [Gabriel Pérez Salazar](http://www.guero.net/).

= 1.5.2.2 =

Expand Down

0 comments on commit dfecce2

Please sign in to comment.