- Timestamp:
- 06/19/2020 10:24:14 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/sitemaps/class-wp-sitemaps-stylesheet.php
r48081 r48098 17 17 class WP_Sitemaps_Stylesheet { 18 18 /** 19 * Renders the xsl stylesheet depending on whether its the sitemap index or not.19 * Renders the XSL stylesheet depending on whether it's the sitemap index or not. 20 20 * 21 21 * @param string $type Stylesheet type. Either 'sitemap' or 'index'. … … 38 38 39 39 /** 40 * Returns the escaped xslfor all sitemaps, except index.40 * Returns the escaped XSL for all sitemaps, except index. 41 41 * 42 42 * @since 5.5.0 … … 142 142 * @since 5.5.0 143 143 * 144 * @param string $xsl Full content for the xmlstylesheet.144 * @param string $xsl_content Full content for the XML stylesheet. 145 145 */ 146 146 return apply_filters( 'wp_sitemaps_stylesheet_content', $xsl_content ); … … 148 148 149 149 /** 150 * Returns the escaped xslfor the index sitemaps.150 * Returns the escaped XSL for the index sitemaps. 151 151 * 152 152 * @since 5.5.0 … … 236 236 * @since 5.5.0 237 237 * 238 * @param string $xsl Full content for the xmlstylesheet.238 * @param string $xsl_content Full content for the XML stylesheet. 239 239 */ 240 240 return apply_filters( 'wp_sitemaps_stylesheet_index_content', $xsl_content ); … … 278 278 279 279 /** 280 * Filters the cssonly for the sitemap stylesheet.280 * Filters the CSS only for the sitemap stylesheet. 281 281 * 282 282 * @since 5.5.0 283 283 * 284 * @param string $css CSS to be applied to default xslfile.284 * @param string $css CSS to be applied to default XSL file. 285 285 */ 286 286 return apply_filters( 'wp_sitemaps_stylesheet_css', $css );
Note: See TracChangeset
for help on using the changeset viewer.