mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 06:57:35 +01:00
Docs: Various docblock corrections and improvements.
See #51800 Built from https://develop.svn.wordpress.org/trunk@50395 git-svn-id: http://core.svn.wordpress.org/trunk@50006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8b7f965364
commit
391fc25eed
@ -27,6 +27,8 @@ final class WP_Site {
|
||||
/**
|
||||
* Site ID.
|
||||
*
|
||||
* Named "blog" vs. "site" for legacy reasons.
|
||||
*
|
||||
* A numeric string, for compatibility reasons.
|
||||
*
|
||||
* @since 4.5.0
|
||||
@ -64,7 +66,7 @@ final class WP_Site {
|
||||
public $site_id = '0';
|
||||
|
||||
/**
|
||||
* The date on which the site was created or registered.
|
||||
* The date and time on which the site was created or registered.
|
||||
*
|
||||
* @since 4.5.0
|
||||
* @var string Date in MySQL's datetime format.
|
||||
|
@ -331,8 +331,6 @@ class WP_Term_Query {
|
||||
* - 'ids'
|
||||
* - 'tt_ids'
|
||||
*
|
||||
* In all cases, a `WP_Error` object will be returned if an invalid taxonomy is used.
|
||||
*
|
||||
* @since 4.6.0
|
||||
*
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
|
@ -417,6 +417,24 @@ function wp_debug_mode() {
|
||||
* constants to not be checked and the default PHP values for errors
|
||||
* will be used unless you take care to update them yourself.
|
||||
*
|
||||
* To use this filter you must define a `$wp_filter` global before
|
||||
* WordPress loads, usually in `wp-config.php`.
|
||||
*
|
||||
* Example:
|
||||
*
|
||||
* $GLOBALS['wp_filter'] = array(
|
||||
* 'enable_wp_debug_mode_checks' => array(
|
||||
* 10 => array(
|
||||
* array(
|
||||
* 'accepted_args' => 0,
|
||||
* 'function' => function() {
|
||||
* return false;
|
||||
* },
|
||||
* ),
|
||||
* ),
|
||||
* ),
|
||||
* );
|
||||
*
|
||||
* @since 4.6.0
|
||||
*
|
||||
* @param bool $enable_debug_mode Whether to enable debug mode checks to occur. Default true.
|
||||
|
@ -2485,12 +2485,35 @@ function get_theme_starter_content() {
|
||||
*
|
||||
* @global array $_wp_theme_features
|
||||
*
|
||||
* @param string $feature The feature being added. Likely core values include 'post-formats', 'post-thumbnails',
|
||||
* 'custom-header', 'custom-background', 'custom-logo', 'menus', 'automatic-feed-links',
|
||||
* 'html5', 'title-tag', 'customize-selective-refresh-widgets', 'starter-content',
|
||||
* 'responsive-embeds', 'align-wide', 'dark-editor-style', 'disable-custom-colors',
|
||||
* 'disable-custom-font-sizes', 'editor-color-palette', 'editor-font-sizes',
|
||||
* 'editor-styles', 'wp-block-styles', and 'core-block-patterns'.
|
||||
* @param string $feature The feature being added. Likely core values include:
|
||||
* - 'admin-bar'
|
||||
* - 'align-wide'
|
||||
* - 'automatic-feed-links'
|
||||
* - 'core-block-patterns'
|
||||
* - 'custom-background'
|
||||
* - 'custom-header'
|
||||
* - 'custom-line-height'
|
||||
* - 'custom-logo'
|
||||
* - 'customize-selective-refresh-widgets'
|
||||
* - 'custom-spacing'
|
||||
* - 'custom-units'
|
||||
* - 'dark-editor-style'
|
||||
* - 'disable-custom-colors'
|
||||
* - 'disable-custom-font-sizes'
|
||||
* - 'editor-color-palette'
|
||||
* - 'editor-gradient-presets'
|
||||
* - 'editor-font-sizes'
|
||||
* - 'editor-styles'
|
||||
* - 'featured-content'
|
||||
* - 'html5'
|
||||
* - 'menus'
|
||||
* - 'post-formats'
|
||||
* - 'post-thumbnails'
|
||||
* - 'responsive-embeds'
|
||||
* - 'starter-content'
|
||||
* - 'title-tag'
|
||||
* - 'wp-block-styles'
|
||||
* - 'widgets'
|
||||
* @param mixed ...$args Optional extra arguments to pass along with certain features.
|
||||
* @return void|false Void on success, false on failure.
|
||||
*/
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.7-beta3-50394';
|
||||
$wp_version = '5.7-beta3-50395';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user