Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://develop.svn.wordpress.org/trunk"
},
"gutenberg": {
"sha": "c035c1a649ef68f5c1646694cf440df1d7ae6e62",
"sha": "1b0dc90c700746b108e080263a4dc67707b750a1",
"ghcrRepo": "WordPress/gutenberg/gutenberg-wp-develop-build"
},
"engines": {
Expand Down
26 changes: 13 additions & 13 deletions src/wp-includes/assets/script-loader-packages.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
'wp-url',
'wp-warning'
),
'version' => '33ef6bf47ba6425b6067'
'version' => '6ce9138caeea03453057'
),
'block-library.js' => array(
'dependencies' => array(
Expand Down Expand Up @@ -151,7 +151,7 @@
'import' => 'dynamic'
)
),
'version' => '52c8ff0df7e038f93116'
'version' => '593533eeaede8306410f'
),
'block-serialization-default-parser.js' => array(
'dependencies' => array(
Expand Down Expand Up @@ -226,7 +226,7 @@
'wp-theme',
'wp-warning'
),
'version' => 'cec341439c1d110d6bcb'
'version' => '351418b2c952645cfd19'
),
'compose.js' => array(
'dependencies' => array(
Expand Down Expand Up @@ -282,7 +282,7 @@
'wp-url',
'wp-warning'
),
'version' => 'd2b82f6369d5503e99bb'
'version' => '089f1cc441f999d491af'
),
'customize-widgets.js' => array(
'dependencies' => array(
Expand Down Expand Up @@ -318,7 +318,7 @@
'import' => 'static'
)
),
'version' => '9c1c6c17e54fcd3dc546'
'version' => 'd3494925e0851ad5e180'
),
'data.js' => array(
'dependencies' => array(
Expand Down Expand Up @@ -457,7 +457,7 @@
'import' => 'static'
)
),
'version' => '7bb3220192e4066fbff3'
'version' => 'be48d05b0d107b34fa86'
),
'edit-widgets.js' => array(
'dependencies' => array(
Expand Down Expand Up @@ -499,7 +499,7 @@
'import' => 'static'
)
),
'version' => '40eaace1a70c69302c9c'
'version' => 'f665033a8ea6672cb756'
),
'editor.js' => array(
'dependencies' => array(
Expand Down Expand Up @@ -549,7 +549,7 @@
'import' => 'static'
)
),
'version' => '4edb636b73d7c9cbfbfb'
'version' => '3427e50f718f7602341b'
),
'element.js' => array(
'dependencies' => array(
Expand Down Expand Up @@ -591,7 +591,7 @@
'import' => 'dynamic'
)
),
'version' => 'a42172f82fe130da1d3e'
'version' => 'aa22a72719facd7f11f1'
),
'hooks.js' => array(
'dependencies' => array(
Expand Down Expand Up @@ -670,7 +670,7 @@
'wp-url',
'wp-warning'
),
'version' => 'fea3f56efc43721e5f8e'
'version' => '808f767656bfbd5a0781'
),
'notices.js' => array(
'dependencies' => array(
Expand All @@ -689,7 +689,7 @@
'wp-theme',
'wp-warning'
),
'version' => '5625f63d0c16e55cc8d1'
'version' => 'c4f2f330a4bec78fda71'
),
'nux.js' => array(
'dependencies' => array(
Expand Down Expand Up @@ -895,7 +895,7 @@
'dependencies' => array(

),
'version' => '3c0d9743cc6cd9591281'
'version' => '3533885da07b0c3f7107'
),
'viewport.js' => array(
'dependencies' => array(
Expand Down Expand Up @@ -932,7 +932,7 @@
'wp-theme',
'wp-warning'
),
'version' => 'b6e3a408f3eb2a70ff74'
'version' => 'e37bfbc510430cbe6596'
),
'wordcount.js' => array(
'dependencies' => array(
Expand Down
20 changes: 10 additions & 10 deletions src/wp-includes/assets/script-modules-packages.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
'import' => 'static'
)
),
'version' => '266101a88e5b01402a65'
'version' => '8b0f7a343850c82c7285'
),
'block-library/navigation/view.js' => array(
'dependencies' => array(
Expand Down Expand Up @@ -186,7 +186,7 @@
'import' => 'static'
)
),
'version' => '04ffd899cc5a916d423b'
'version' => '66721f834e0354c60439'
),
'connectors/index.js' => array(
'dependencies' => array(
Expand Down Expand Up @@ -294,7 +294,7 @@
'import' => 'static'
)
),
'version' => '8142ba79ee314b710d49'
'version' => 'a18070ac45d386810812'
),
'core-fields/page.js' => array(
'dependencies' => array(
Expand Down Expand Up @@ -348,7 +348,7 @@
'import' => 'static'
)
),
'version' => '4cd207094499f2aadd5e'
'version' => '9a5e94c52cfc7769eb34'
),
'core-fields/root_site.js' => array(
'dependencies' => array(
Expand Down Expand Up @@ -378,7 +378,7 @@
'import' => 'static'
)
),
'version' => 'af18ca9f1b26fff9332e'
'version' => 'c370718a4a4c6a472b00'
),
'core-fields/wp_template.js' => array(
'dependencies' => array(
Expand All @@ -402,7 +402,7 @@
'import' => 'static'
)
),
'version' => 'bf8df7ca6881ab8dd611'
'version' => 'ccae0569036d0091beaf'
),
'core-fields/wp_template_part.js' => array(
'dependencies' => array(
Expand All @@ -426,7 +426,7 @@
'import' => 'static'
)
),
'version' => 'a34d992fd0259b5747ba'
'version' => '33d6fd6d02d1097c3b37'
),
'dashboard-init/index.js' => array(
'dependencies' => array(
Expand Down Expand Up @@ -465,7 +465,7 @@
'dependencies' => array(

),
'version' => '3456f38555c5c7dd7097'
'version' => 'c030c90d503985d55ec2'
),
'interactivity-router/full-page.js' => array(
'dependencies' => array(
Expand Down Expand Up @@ -493,7 +493,7 @@
'import' => 'static'
)
),
'version' => '5bc3c8d4423e84ed0f71'
'version' => '3e7d4036443ac65e34a4'
),
'latex-to-mathml/index.js' => array(
'dependencies' => array(
Expand Down Expand Up @@ -613,6 +613,6 @@
'import' => 'dynamic'
)
),
'version' => '66528f7c29fe6ef9b7fc'
'version' => '5c1018436ffde73ed4a7'
)
);
612 changes: 226 additions & 386 deletions src/wp-includes/build/routes/font-list/content.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('react', 'react-dom', 'react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-editor', 'wp-element', 'wp-i18n', 'wp-keycodes', 'wp-primitives', 'wp-private-apis', 'wp-style-engine', 'wp-theme', 'wp-warning'), 'module_dependencies' => array(array('id' => '@wordpress/a11y', 'import' => 'static'), array('id' => '@wordpress/route', 'import' => 'static')), 'version' => '2ba2604b47924e91f627');
<?php return array('dependencies' => array('react', 'react-dom', 'react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-editor', 'wp-element', 'wp-i18n', 'wp-keycodes', 'wp-primitives', 'wp-private-apis', 'wp-style-engine', 'wp-theme', 'wp-warning'), 'module_dependencies' => array(array('id' => '@wordpress/a11y', 'import' => 'static'), array('id' => '@wordpress/route', 'import' => 'static')), 'version' => '5aa04863455f4d63be71');
10 changes: 5 additions & 5 deletions src/wp-includes/build/routes/font-list/content.min.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@
*/

return array(
'type' => 'integer',
'label' => __( 'Author' ),
'filterBy' => array(
'type' => 'integer',
'label' => __( 'Author' ),
'placeholder' => __( '(no author)' ),
'filterBy' => array(
'operators' => array( 'isAny', 'isNone' ),
),
'readOnly' => true,
'readOnly' => true,
);
10 changes: 6 additions & 4 deletions src/wp-includes/build/scripts/core-fields/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
* - `password`, for every post type but the design ones.
* - `ping_status`, for the post types supporting `trackbacks`.
* - `post-content-info`, for the post types supporting `editor`.
* - `publish_date`, for every post type but the design ones.
* - `scheduled_date`, for every post type but the design ones.
* - `slug`, for the viewable post types but the design ones.
* - `status`, for every post type but the design ones.
Expand Down Expand Up @@ -74,6 +75,7 @@ function wp_register_core_post_type_supports_fields() {
'password' => true,
'ping_status' => post_type_supports( $post_type, 'trackbacks' ),
'post-content-info' => post_type_supports( $post_type, 'editor' ),
'publish_date' => true,
'scheduled_date' => true,
'slug' => is_post_type_viewable( $post_type ),
'status' => true,
Expand Down Expand Up @@ -110,15 +112,15 @@ function wp_register_core_field_collections() {
wp_register_entity_field_collection( __DIR__ . '/page' );

// wp_template: unregister unwanted default fields, and register its own.
wp_unregister_entity_fields( 'postType', 'wp_template', array( 'author', 'date', 'excerpt', 'password', 'post-content-info', 'scheduled_date', 'slug', 'status', 'template', 'title' ) );
wp_unregister_entity_fields( 'postType', 'wp_template', array( 'author', 'date', 'excerpt', 'password', 'post-content-info', 'publish_date', 'scheduled_date', 'slug', 'status', 'template', 'title' ) );
wp_register_entity_field_collection( __DIR__ . '/wp_template' );

// wp_template_part: unregister unwanted default fields, and register its own.
wp_unregister_entity_fields( 'postType', 'wp_template_part', array( 'author', 'date', 'excerpt', 'password', 'post-content-info', 'scheduled_date', 'slug', 'status', 'template', 'title' ) );
wp_unregister_entity_fields( 'postType', 'wp_template_part', array( 'author', 'date', 'excerpt', 'password', 'post-content-info', 'publish_date', 'scheduled_date', 'slug', 'status', 'template', 'title' ) );
wp_register_entity_field_collection( __DIR__ . '/wp_template_part' );

// wp_block: unregister unwanted default fields, and register its own.
wp_unregister_entity_fields( 'postType', 'wp_block', array( 'date', 'excerpt', 'password', 'scheduled_date', 'slug', 'status', 'template', 'title' ) );
wp_unregister_entity_fields( 'postType', 'wp_block', array( 'date', 'excerpt', 'password', 'publish_date', 'scheduled_date', 'slug', 'status', 'template', 'title' ) );
wp_register_entity_field_collection( __DIR__ . '/wp_block' );
// Patterns are sorted client-side, where the author's ID isn't a useful
// order, like the template authors.
Expand All @@ -141,7 +143,7 @@ function wp_register_core_field_collections() {
wp_register_entity_field_collection( __DIR__ . '/attachment' );

// wp_navigation: unregister unwanted default fields.
wp_unregister_entity_fields( 'postType', 'wp_navigation', array( 'date', 'password', 'post-content-info', 'scheduled_date', 'slug', 'status', 'template' ) );
wp_unregister_entity_fields( 'postType', 'wp_navigation', array( 'date', 'password', 'post-content-info', 'publish_date', 'scheduled_date', 'slug', 'status', 'template' ) );

// Register fields for root/site (entity/kind).
wp_register_entity_field_collection( __DIR__ . '/root_site' );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@
*/

return array(
'type' => 'integer',
'label' => __( 'Author' ),
'filterBy' => array(
'type' => 'integer',
'label' => __( 'Author' ),
'placeholder' => __( '(no author)' ),
'filterBy' => array(
'operators' => array( 'isAny', 'isNone' ),
),
);
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
return array(
'type' => 'text',
'label' => __( 'Excerpt' ),
'placeholder' => __( 'Add an excerpt' ),
'placeholder' => __( '(no excerpt)' ),
'Edit' => array(
'control' => 'textarea',
'rows' => 4,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php
/**
* The publish date of a post, as a form summarizes it, for every post type
* but the design ones. It reads the date of the post, so its JavaScript parts
* (`getValue` and `render`) are in `field.tsx`, next to this file.
*
* It is only meant as the summary of the `date` field in a form panel, so
* lists can't show, sort, or filter by it: they keep the `date` field, whose
* value is never "Immediately".
*
* @package WordPress
*/

return array(
'type' => 'datetime',
'label' => __( 'Publish date' ),
'readOnly' => true,
'enableHiding' => false,
'enableSorting' => false,
'filterBy' => false,
);
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,15 @@
/**
* The date a scheduled post will be published, for every post type but the
* design ones. It edits the date of the post, so its JavaScript parts
* (`getValue`, `setValue`, and `isVisible`) are in `field.tsx`, next to this
* file.
* (`getValue`, `setValue`, `isVisible`, and `Edit`) are in `field.tsx`, next
* to this file.
*
* @package WordPress
*/

return array(
'type' => 'datetime',
'label' => __( 'Scheduled Date' ),
'Edit' => array(
'control' => 'datetime',
'compact' => true,
),
'enableHiding' => false,
'enableSorting' => false,
'filterBy' => false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
'id' => 'excerpt',
'type' => 'text',
'label' => __( 'Description' ),
'placeholder' => __( 'Add a description' ),
'placeholder' => __( '(no description)' ),
'Edit' => array(
'control' => 'textarea',
'rows' => 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
return array(
'type' => 'text',
'label' => __( 'Description' ),
'placeholder' => __( 'Add a description' ),
'placeholder' => __( '(no description)' ),
'Edit' => array(
'control' => 'textarea',
'rows' => 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class Tests_Entity_Fields_WpRegisterCoreFieldCollections extends WP_Entity_Field
*
* @var string[]
*/
const EVERY_POST_TYPE_FIELDS = array( 'date', 'last_edited_date', 'password', 'scheduled_date', 'status', 'template' );
const EVERY_POST_TYPE_FIELDS = array( 'date', 'last_edited_date', 'password', 'publish_date', 'scheduled_date', 'status', 'template' );

/**
* The script module of the default fields of the post types.
Expand Down
Loading