| @@ -94,11 +94,10 @@ | ||
| 94 | 94 | |
| 95 | 95 | /** |
| 96 | 96 | * Filter: 'wpseo_include_rss_footer' - Allow the RSS footer to be dynamically shown/hidden. |
| 97 | 97 | * |
| 98 | - * @api boolean $show_embed Indicates if the RSS footer should be shown or not. | |
| 99 | - * | |
| 100 | - * @param string $context The context of the RSS content - 'full' or 'excerpt'. | |
| 98 | + * @param bool $show_embed Indicates if the RSS footer should be shown or not. | |
| 99 | + * @param string $context The context of the RSS content - 'full' or 'excerpt'. | |
| 101 | 100 | */ |
| 102 | 101 | if ( ! \apply_filters( 'wpseo_include_rss_footer', true, $context ) ) { |
| 103 | 102 | return false; |
| 104 | 103 | } |
| @@ -181,15 +180,15 @@ | ||
| 181 | 180 | */ |
| 182 | 181 | protected function get_link_template() { |
| 183 | 182 | /** |
| 184 | 183 | * Filter: 'nofollow_rss_links' - Allow the developer to determine whether or not to follow the links in |
| 185 | - * the bits Yoast SEO adds to the RSS feed, defaults to true. | |
| 184 | + * the bits Yoast SEO adds to the RSS feed, defaults to false. | |
| 186 | 185 | * |
| 187 | - * @api bool $unsigned Whether or not to follow the links in RSS feed, defaults to true. | |
| 186 | + * @since 1.4.20 | |
| 188 | 187 | * |
| 189 | - * @since 1.4.20 | |
| 188 | + * @param bool $unsigned Whether or not to follow the links in RSS feed, defaults to true. | |
| 190 | 189 | */ |
| 191 | - if ( \apply_filters( 'nofollow_rss_links', true ) ) { | |
| 190 | + if ( \apply_filters( 'nofollow_rss_links', false ) ) { | |
| 192 | 191 | return '<a rel="nofollow" href="%1$s">%2$s</a>'; |
| 193 | 192 | } |
| 194 | 193 | |
| 195 | 194 | return '<a href="%1$s">%2$s</a>'; |