wp core update 6.6

This commit is contained in:
Tony Volpe
2024-07-17 03:05:30 +00:00
parent 8f93917880
commit 4950d23a30
912 changed files with 103325 additions and 124480 deletions

View File

@@ -256,7 +256,7 @@ class WP_Font_Face {
*
* @since 6.4.0
*
* @param array $font_faces The font-faces to generate @font-face CSS styles.
* @param array[] $font_faces The font-faces to generate @font-face CSS styles.
* @return string The `@font-face` CSS styles.
*/
private function get_css( $font_faces ) {

View File

@@ -221,8 +221,8 @@ class WP_Font_Utils {
*
* @since 6.5.0
*
* @param mixed $value The value to sanitize.
* @param mixed $sanitizer The sanitizer function to apply.
* @param mixed $value The value to sanitize.
* @param callable $sanitizer The sanitizer function to apply.
* @return mixed The sanitized value.
*/
private static function apply_sanitizer( $value, $sanitizer ) {
@@ -244,7 +244,7 @@ class WP_Font_Utils {
*
* @access private
*
* @return array A collection of mime types keyed by file extension.
* @return string[] A collection of mime types keyed by file extension.
*/
public static function get_allowed_font_mime_types() {
$php_7_ttf_mime_type = PHP_VERSION_ID >= 70300 ? 'application/font-sfnt' : 'application/x-font-ttf';