Skip to content

Conversation

@priethor
Copy link

@priethor priethor commented Nov 3, 2025

Trac ticket: https://core.trac.wordpress.org/ticket/64185


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

@github-actions
Copy link

github-actions bot commented Nov 3, 2025

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

Unlinked Accounts

The following contributors have not linked their GitHub and WordPress.org accounts: @deemkaaa09-lang.

Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases.

Core Committers: Use this line as a base for the props when committing in SVN:

Props priethor, mukesh27, jeffpaul, westonruter, desrosj, wildworks.

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@WordPress WordPress deleted a comment from github-actions bot Nov 3, 2025
Comment on lines +117 to +119
* @param string $dropdown_id ID of the dropdown field.
*
* @return string Returns the dropdown onChange redirection script.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* @param string $dropdown_id ID of the dropdown field.
*
* @return string Returns the dropdown onChange redirection script.
* @param string $dropdown_id ID of the dropdown field.
* @return string Returns the dropdown onChange redirection script.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the objective reason to remove the blank line? It passes the coding standard checks, and other PHPDocs in the same file have had the same blank line for years

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I concur with @priethor here, no need to remove that line as most (all?) cases here include the line spacing (and at least for me makes it easier to read those docs/comments).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not a blocker but as per WordPress Inline Documentation Standards for PHP, there should not be an extra line between @param and @return tags.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I concur with @priethor here, no need to remove that line as most (all?) cases here include the line spacing (and at least for me makes it easier to read those docs/comments).

@jeffpaul In that case we should update the PHPCS document.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be done in a follow-up PR for Gutenberg, along with the change mentioned below.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed that any such change should be done in Gutenberg, starting with updating the PHPCS rules to match the coding standards.

Comment on lines +155 to +158
return wp_get_inline_script_tag(
trim( str_replace( array( '<script>', '</script>' ), '', ob_get_clean() ) ) .
"\n//# sourceURL=" . rawurlencode( __FUNCTION__ )
);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we use wp_remove_surrounding_empty_script_tags here? cc. @westonruter

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, although it's not important. It can be done in a follow-up PR to Gutenberg.

@priethor
Copy link
Author

priethor commented Nov 3, 2025

@desrosj, I see you are debugging the Windows build failures like in this PR. Is it a blocker to merge patches with failing workflows?

@desrosj
Copy link
Member

desrosj commented Nov 3, 2025

@priethor I did create that PR to rule out a persisting cache as the reason for the failure. But I'm not actively investigating, mainly because I don't have a Windows machine.

This is similar to the other issue that happened earlier in the release. It's not a firm blocker, but anyone using Windows to contribute will potentially be unable to do so.

@deemkaaa09-lang

This comment was marked as spam.

@t-hamano
Copy link
Contributor

t-hamano commented Nov 4, 2025

I see you are #10399 like in this PR. Is it a blocker to merge patches with failing workflows?

This issue was recently fixed in the Gutenberg repository: WordPress/gutenberg#72960

Will this fix be immediately reflected in the CI for the wordpress-develop repo? Update: It seems that the Windows build issues have also been fixed in the CI for the wordpress-develop repo.

@github-actions
Copy link

github-actions bot commented Nov 4, 2025

Test using WordPress Playground

The changes in this pull request can previewed and tested using a WordPress Playground instance.

WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser.

Some things to be aware of

  • The Plugin and Theme Directories cannot be accessed within Playground.
  • All changes will be lost when closing a tab with a Playground instance.
  • All changes will be lost when refreshing the page.
  • A fresh instance is created each time the link below is clicked.
  • Every time this pull request is updated, a new ZIP file containing all changes is created. If changes are not reflected in the Playground instance,
    it's possible that the most recent build failed, or has not completed. Check the list of workflow runs to be sure.

For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation.

Test this pull request with WordPress Playground.

@priethor
Copy link
Author

priethor commented Nov 4, 2025

I've done one last update before the Beta3 freeze, and it should be ready to go once GH actions pass.

pento pushed a commit that referenced this pull request Nov 4, 2025
@github-actions
Copy link

github-actions bot commented Nov 4, 2025

A commit was made that fixes the Trac ticket referenced in the description of this pull request.

SVN changeset: 61125
GitHub commit: f3f8544

This PR will be closed, but please confirm the accuracy of this and reopen if there is more work to be done.

@github-actions github-actions bot closed this Nov 4, 2025
markjaquith pushed a commit to markjaquith/WordPress that referenced this pull request Nov 4, 2025
github-actions bot pushed a commit to platformsh/wordpress-performance that referenced this pull request Nov 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants