options = get_option( 'seopress_pro_option_name' ); if ( empty( $this->options ) ) { return; } $this->migrateRss(); } /** * Migrates the RSS settings. * * @since 4.1.4 * * @return void */ public function migrateRss() { if ( ! empty( $this->options['seopress_rss_before_html'] ) ) { aioseo()->options->rssContent->before = esc_html( aioseo()->importExport->seoPress->helpers->macrosToSmartTags( $this->options['seopress_rss_before_html'] ) ); } if ( ! empty( $this->options['seopress_rss_after_html'] ) ) { aioseo()->options->rssContent->after = esc_html( aioseo()->importExport->seoPress->helpers->macrosToSmartTags( $this->options['seopress_rss_after_html'] ) ); } } }