| name file |
size |
edit |
permission |
action |
| .htaccess | 1444 KB | October 31 2025 08:48:41 | 0644 |
|
| .htaccess.bk | 714 KB | December 05 2024 23:54:43 | 0644 |
|
| .private | - | December 05 2024 23:53:49 | 0755 |
|
| default.php | 16395 KB | December 05 2024 23:53:33 | 0644 |
|
| index.php | 405 KB | December 05 2024 23:53:40 | 0644 |
|
| license.txt | 19915 KB | October 03 2025 03:33:36 | 0644 |
|
| readme.html | 7409 KB | October 03 2025 03:33:36 | 0644 |
|
| wp-activate.php | 7387 KB | December 05 2024 23:53:39 | 0644 |
|
| wp-admin | - | December 05 2024 23:53:40 | 0755 |
|
| wp-blog-header.php | 351 KB | December 05 2024 23:53:40 | 0644 |
|
| wp-comments-post.php | 2323 KB | December 05 2024 23:53:40 | 0644 |
|
| wp-config-sample.php | 3336 KB | December 05 2024 23:53:40 | 0644 |
|
| wp-config.php | 3531 KB | December 05 2024 23:54:43 | 0644 |
|
| wp-content | - | October 31 2025 08:48:41 | 0755 |
|
| wp-cron.php | 5617 KB | December 05 2024 23:53:39 | 0644 |
|
| wp-includes | - | December 05 2024 23:53:40 | 0755 |
|
| wp-links-opml.php | 2502 KB | December 05 2024 23:53:40 | 0644 |
|
| wp-load.php | 3937 KB | December 05 2024 23:53:40 | 0644 |
|
| wp-login.php | 51367 KB | December 05 2024 23:53:39 | 0644 |
|
| wp-mail.php | 8543 KB | December 05 2024 23:53:40 | 0644 |
|
| wp-settings.php | 29032 KB | December 05 2024 23:53:40 | 0644 |
|
| wp-signup.php | 34385 KB | December 05 2024 23:53:39 | 0644 |
|
| wp-trackback.php | 5102 KB | December 05 2024 23:53:39 | 0644 |
|
| xmlrpc.php | 3246 KB | December 05 2024 23:53:39 | 0644 |
|
'',
'font-style' => 'normal',
'font-weight' => '400',
'font-display' => 'fallback',
);
/**
* Valid font-face property names.
*
* @since 6.4.0
*
* @var string[]
*/
private $valid_font_face_properties = array(
'ascent-override',
'descent-override',
'font-display',
'font-family',
'font-stretch',
'font-style',
'font-weight',
'font-variant',
'font-feature-settings',
'font-variation-settings',
'line-gap-override',
'size-adjust',
'src',
'unicode-range',
);
/**
* Valid font-display values.
*
* @since 6.4.0
*
* @var string[]
*/
private $valid_font_display = array( 'auto', 'block', 'fallback', 'swap', 'optional' );
/**
* Array of font-face style tag's attribute(s)
* where the key is the attribute name and the
* value is its value.
*
* @since 6.4.0
*
* @var string[]
*/
private $style_tag_attrs = array();
/**
* Creates and initializes an instance of WP_Font_Face.
*
* @since 6.4.0
*/
public function __construct() {
if (
function_exists( 'is_admin' ) && ! is_admin()
&&
function_exists( 'current_theme_supports' ) && ! current_theme_supports( 'html5', 'style' )
) {
$this->style_tag_attrs = array( 'type' => 'text/css' );
}
}
/**
* Generates and prints the `@font-face` styles for the given fonts.
*
* @since 6.4.0
*
* @param array[][] $fonts Optional. The font-families and their font variations.
* See {@see wp_print_font_faces()} for the supported fields.
* Default empty array.
*/
public function generate_and_print( array $fonts ) {
$fonts = $this->validate_fonts( $fonts );
// Bail out if there are no fonts are given to process.
if ( empty( $fonts ) ) {
return;
}
$css = $this->get_css( $fonts );
/*
* The font-face CSS is contained within and open a