Changeset 57573
- Timestamp:
- 02/09/2024 04:15:08 AM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/theme.php
r57256 r57573 2613 2613 * @since 5.3.0 Formalized the existing and already documented `...$args` parameter 2614 2614 * by adding it to the function signature. 2615 * @since 5.4.0 The `disable-custom-gradients` feature limits to default gradients or gradients added 2616 * through `editor-gradient-presets` theme support. 2615 2617 * @since 5.5.0 The `core-block-patterns` feature was added and is enabled by default. 2616 2618 * @since 5.5.0 The `custom-logo` feature now also accepts 'unlink-homepage-logo'. 2617 2619 * @since 5.6.0 The `post-formats` feature warns if no array is passed as the second parameter. 2618 2620 * @since 5.8.0 The `widgets-block-editor` feature enables the Widgets block editor. 2621 * @since 5.8.0 The `block-templates` feature indicates whether a theme uses block-based templates. 2619 2622 * @since 6.0.0 The `html5` feature warns if no array is passed as the second parameter. 2623 * @since 6.1.0 The `block-template-parts` feature allows to edit any reusable template part from site editor. 2624 * @since 6.1.0 The `disable-layout-styles` feature disables the default layout styles. 2625 * @since 6.3.0 The `link-color` feature allows to enable the link color setting. 2626 * @since 6.3.0 The `border` feature allows themes without theme.json to add border styles to blocks. 2620 2627 * @since 6.5.0 The `appearance-tools` feature enables a few design tools for blocks, 2621 2628 * see `WP_Theme_JSON::APPEARANCE_TOOLS_OPT_INS` for a complete list. … … 2628 2635 * - 'appearance-tools' 2629 2636 * - 'automatic-feed-links' 2637 * - 'block-templates' 2638 * - 'block-template-parts' 2639 * - 'border' 2630 2640 * - 'core-block-patterns' 2631 2641 * - 'custom-background' … … 2639 2649 * - 'disable-custom-colors' 2640 2650 * - 'disable-custom-font-sizes' 2651 * - 'disable-custom-gradients' 2652 * - 'disable-layout-styles' 2641 2653 * - 'editor-color-palette' 2642 2654 * - 'editor-gradient-presets' … … 2645 2657 * - 'featured-content' 2646 2658 * - 'html5' 2659 * - 'link-color' 2647 2660 * - 'menus' 2648 2661 * - 'post-formats' … … 2651 2664 * - 'starter-content' 2652 2665 * - 'title-tag' 2653 * - 'wp-block-styles'2654 2666 * - 'widgets' 2655 2667 * - 'widgets-block-editor' 2668 * - 'wp-block-styles' 2656 2669 * @param mixed ...$args Optional extra arguments to pass along with certain features. 2657 2670 * @return void|false Void on success, false on failure.
Note: See TracChangeset
for help on using the changeset viewer.