array',
'readonly' => true,
'context' => array( 'view', 'edit', 'embed' ),
),
'post_types' => array(
'description' => __( 'An array of post types that the pattern is restricted to be used with.' ),
'type' => 'array',
'readonly' => true,
'context' => array( 'view', 'edit', 'embed' ),
),
'template_types' => array(
'description' => __( 'An array of template types where the pattern fits.' ),
'type' => 'array',
'readonly' => true,
'context' => array( 'view', 'edit', 'embed' ),
),
'source' => array(
'description' => __( 'Where the pattern comes from e.g. core' ),
'type' => 'string',
'readonly' => true,
'context' => array( 'view', 'edit', 'embed' ),
'enum' => array(
'core',
'plugin',
'theme',
'pattern-directory/core',
'pattern-directory/theme',
'pattern-directory/featured',
),
),
),
);
$this->schema = $schema;
return $this->add_additional_fields_schema( $this->schema );
}
}
Fatal error: require(): Failed opening required '/var/www/html/dportilho.com.br/web/wp-includes/fonts/class-wp-font-collection.php' (include_path='.:/usr/share/pear') in /var/www/html/dportilho.com.br/web/wp-settings.php on line 396
Fatal error: Uncaught Error: Call to a member function set() on null in /var/www/html/dportilho.com.br/web/wp-includes/l10n.php:856
Stack trace:
#0 /var/www/html/dportilho.com.br/web/wp-includes/l10n.php(959): load_textdomain('default', '/var/www/html/d...', 'pt_BR')
#1 /var/www/html/dportilho.com.br/web/wp-includes/class-wp-fatal-error-handler.php(49): load_default_textdomain()
#2 [internal function]: WP_Fatal_Error_Handler->handle()
#3 {main}
thrown in /var/www/html/dportilho.com.br/web/wp-includes/l10n.php on line 856