Skip to content

Commit c423c72

Browse files
authored
Merge branch 'trunk' into fix/gutenberg-download-command
2 parents 3abcfa8 + b00c4ac commit c423c72

26 files changed

Lines changed: 214 additions & 60 deletions

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"url": "https://develop.svn.wordpress.org/trunk"
88
},
99
"gutenberg": {
10-
"sha": "9b8144036fa5faf75de43d4502ff9809fcf689ad",
10+
"sha": "8c78d87453509661a9f28f978ba2c242d515563b",
1111
"ghcrRepo": "WordPress/gutenberg/gutenberg-wp-develop-build"
1212
},
1313
"engines": {

src/wp-admin/admin.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,17 +395,22 @@
395395
*/
396396
if ( 'page' === $typenow ) {
397397
if ( 'post-new.php' === $pagenow ) {
398+
/** This action is documented in wp-admin/admin.php */
398399
do_action( 'load-page-new.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
399400
} elseif ( 'post.php' === $pagenow ) {
401+
/** This action is documented in wp-admin/admin.php */
400402
do_action( 'load-page.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
401403
}
402404
} elseif ( 'edit-tags.php' === $pagenow ) {
403405
if ( 'category' === $taxnow ) {
406+
/** This action is documented in wp-admin/admin.php */
404407
do_action( 'load-categories.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
405408
} elseif ( 'link_category' === $taxnow ) {
409+
/** This action is documented in wp-admin/admin.php */
406410
do_action( 'load-edit-link-categories.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
407411
}
408412
} elseif ( 'term.php' === $pagenow ) {
413+
/** This action is documented in wp-admin/admin.php */
409414
do_action( 'load-edit-tags.php' ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
410415
}
411416
}

src/wp-admin/css/install.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ fieldset {
7979
width: 84px;
8080
height: 84px;
8181
overflow: hidden;
82-
background-image: url(../images/w-logo-blue.png?ver=20131202);
83-
background-image: none, url(../images/wordpress-logo.svg?ver=20131107);
82+
background-image: url(../images/w-logo-gray.png?ver=20260303);
83+
background-image: none, url(../images/wordpress-logo-gray.svg?ver=20260303);
8484
background-size: 84px;
8585
background-position: center top;
8686
background-repeat: no-repeat;

src/wp-admin/css/login.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,8 @@ p {
283283
}
284284

285285
.login h1 a {
286-
background-image: url(../images/w-logo-blue.png?ver=20131202);
287-
background-image: none, url(../images/wordpress-logo.svg?ver=20131107);
286+
background-image: url(../images/w-logo-gray.png?ver=20260303);
287+
background-image: none, url(../images/wordpress-logo-gray.svg?ver=20260303);
288288
background-size: 84px;
289289
background-position: center top;
290290
background-repeat: no-repeat;
4.39 KB
Loading
Lines changed: 1 addition & 0 deletions
Loading

src/wp-admin/includes/schema.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1033,7 +1033,6 @@ function populate_network( $network_id = 1, $domain = '', $email = '', $site_nam
10331033
}
10341034

10351035
// Check for network collision.
1036-
$network_exists = false;
10371036
if ( is_multisite() ) {
10381037
if ( get_network( $network_id ) ) {
10391038
$errors->add( 'siteid_exists', __( 'The network already exists.' ) );

src/wp-content/themes/twentyseventeen/inc/template-tags.php

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -110,22 +110,23 @@ function twentyseventeen_entry_footer() {
110110

111111
if ( ! function_exists( 'twentyseventeen_edit_link' ) ) :
112112
/**
113-
* Returns an accessibility-friendly link to edit a post or page.
113+
* Displays an accessibility-friendly link to edit a post or page.
114114
*
115-
* This also gives a little context about what exactly we're editing
116-
* (post or page?) so that users understand a bit more where they are in terms
117-
* of the template hierarchy and their content. Helpful when/if the single-page
118-
* layout with multiple posts/pages shown gets confusing.
115+
* @since Twenty Seventeen 1.0
116+
* @since Twenty Seventeen 4.1 Added `$post_id` parameter.
117+
*
118+
* @param int $post_id Post ID. Default 0.
119119
*/
120-
function twentyseventeen_edit_link() {
120+
function twentyseventeen_edit_link( $post_id = 0 ) {
121121
edit_post_link(
122122
sprintf(
123123
/* translators: %s: Post title. Only visible to screen readers. */
124124
__( 'Edit<span class="screen-reader-text"> "%s"</span>', 'twentyseventeen' ),
125-
get_the_title()
125+
get_the_title( $post_id )
126126
),
127127
'<span class="edit-link">',
128-
'</span>'
128+
'</span>',
129+
$post_id
129130
);
130131
}
131132
endif;

src/wp-includes/block-editor.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,7 @@ function _wp_get_iframed_editor_assets() {
338338
* front-end assets for the content.
339339
*/
340340
add_filter( 'should_load_block_editor_scripts_and_styles', '__return_false' );
341+
/** This action is documented in wp-includes/script-loader.php */
341342
do_action( 'enqueue_block_assets' );
342343
remove_filter( 'should_load_block_editor_scripts_and_styles', '__return_false' );
343344

src/wp-includes/category-template.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1258,8 +1258,8 @@ function tag_description( $tag = 0 ) {
12581258
* @since 2.8.0
12591259
* @since 4.9.2 The `$taxonomy` parameter was deprecated.
12601260
*
1261-
* @param int $term Optional. Term ID. Defaults to the current term ID.
1262-
* @param null $deprecated Deprecated. Not used.
1261+
* @param int $term Optional. Term ID. Defaults to the current term ID.
1262+
* @param mixed $deprecated Not used.
12631263
* @return string Term description, if available.
12641264
*/
12651265
function term_description( $term = 0, $deprecated = null ) {

0 commit comments

Comments
 (0)