- Timestamp:
- 06/18/2020 02:43:31 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php
r48072 r48081 53 53 54 54 $text = sprintf( 55 /* translators: %s: number of URLs. */55 /* translators: %s: Number of URLs. */ 56 56 esc_xml( __( 'Number of URLs in this XML Sitemap: %s.' ) ), 57 57 '<xsl:value-of select="count( sitemap:urlset/sitemap:url )" />' … … 153 153 */ 154 154 public function get_sitemap_index_stylesheet() { 155 $css 156 $title 157 $description 158 $learn_more 155 $css = $this->get_stylesheet_css(); 156 $title = esc_xml( __( 'XML Sitemap' ) ); 157 $description = esc_xml( __( 'This XML Sitemap is generated by WordPress to make your content more visible for search engines.' ) ); 158 $learn_more = sprintf( 159 159 '<a href="%s">%s</a>', 160 160 esc_url( __( 'https://www.sitemaps.org/' ) ), … … 163 163 164 164 $text = sprintf( 165 /* translators: %s: number of URLs. */165 /* translators: %s: Number of URLs. */ 166 166 esc_xml( __( 'Number of URLs in this XML Sitemap: %s.' ) ), 167 167 '<xsl:value-of select="count( sitemap:sitemapindex/sitemap:sitemap )" />'
Note: See TracChangeset
for help on using the changeset viewer.