- Timestamp:
- 02/20/2024 07:09:43 AM (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/fonts/class-wp-font-collection.php
r57539 r57657 220 220 'font_family_settings' => array( 221 221 'name' => 'sanitize_text_field', 222 'slug' => 'sanitize_title', 223 'fontFamily' => 'sanitize_text_field', 222 'slug' => static function ( $value ) { 223 return _wp_to_kebab_case( sanitize_title( $value ) ); 224 }, 225 'fontFamily' => 'WP_Font_Utils::sanitize_font_family', 224 226 'preview' => 'sanitize_url', 225 227 'fontFace' => array(
Note: See TracChangeset
for help on using the changeset viewer.