s( $matches['non_cdata_followed_by_cdata'], ENT_XML1 ) . $matches['cdata']; }, $safeText ); $safeText = $safeText ? $safeText : ( $isZero ? $value : '' ); if ( ! $wrap ) { return print( $safeText ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped } printf( '', $safeText ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped } /** * Returns the URL for the sitemap stylesheet. * * This is needed for compatibility with multilingual plugins such as WPML. * * @since 4.0.0 * * @return string The URL to the sitemap stylesheet. */ private function xslUrl() { return esc_url( apply_filters( 'aioseo_sitemap_xsl_url', aioseo()->helpers->localizedUrl( '/sitemap.xsl' ) ) ); } }