Yoast/wordpress-seo — pull request #1839 by vlandfair (2014-12-19 06:20:31+00:00)
Title: Fix for issue #1838

Changed `if ( $post_id === null ) {` to `if ( $post_id === null || $post_id != get_the_ID() ) {`
Resolves issue #1838