The WordPress coreCoreCore is the set of software required to run WordPress. The Core Development Team builds WordPress. development team builds WordPress! Follow this site for general updates, status reports, and the occasional code debate. There’s lots of ways to contribute:
Found a bugbugA bug is an error or unexpected result. Performance improvements, code optimization, and are considered enhancements, not defects. After feature freeze, only bugs are dealt with, with regressions (adverse changes from the previous version) being the highest priority.?Create a ticket in our bug tracker.
This is a small proposal to amend the standards for multi-line comments. The current standards seem to require that multi-line comments have to be done like this:
/*
* This is a comment that is long enough to warrant being stretched over
* the span of multiple lines. You'll notice this follows basically
* the same format as the PHPDoc wrapping and comment block style.
*/
There is also a warning that they must not begin with /** as that is the DocBlockdocblock(phpdoc, xref, inline docs) syntax, and may result in parsing errors.
The proposal is to remove this requirement and to encourage multi-line comments to be done with slashes, same as single-line comments.
// This is a comment that is long enough to warrant being stretched over
// the span of multiple lines. You'll notice this follows basically
// the same format as the single-line comment style.
Reasons:
Reduce possibility of typos and eventual parsing errors. This is not just from typing, seems many modern IDEs can auto-complete or auto-correct /* to /** which may lead to more typos.
The de-facto JavaScriptJavaScriptJavaScript or JS is an object-oriented computer programming language commonly used to create interactive effects within web browsers. WordPress makes extensive use of JS for a better user experience. While PHP is executed on the server, JS executes within a user’s browser. https://www.javascript.com/. coding standard Prettier, and the PHPPHPThe web scripting language in which WordPress is primarily architected. WordPress requires PHP 5.6.20 or higher’s PSR-12 do not enforce specific comment styles.
In addition to encouraging typos, the current standard is visually very close to the DocBlock standard which may lead to a moment of confusion when reading the code (uh, is this an incomplete DocBlock that doesn’t have @since and @param?).
The weekly WordPress developers chat meeting was held in the coreCoreCore is the set of software required to run WordPress. The Core Development Team builds WordPress. channel of the Make WordPress SlackSlackSlack is a Collaborative Group Chat Platform https://slack.com/. The WordPress community has its own Slack Channel at https://make.wordpress.org/chat/. at 20:00 UTC.
Support will end for WordPress 3.7 – 4.0 on December 1, 2022. The last release party for these versions will be on November 30, 2022. More in the post.
The WordPress developer blogblog(versus network, site) is in public betaBetaA pre-release of software that is given out to a large group of users to trial under real conditions. Beta versions have gone through alpha testing in-house and are generally fairly close in look, feel and function to the final product; however, design changes often occur as part of the process.. Contributors needed. For more information please contact @bph or join the #core-dev-blog channel in the Make WordPress slack. Update post.
The call for nominations for 2023 Core Team Representatives is open until December 2, 2022. Self-nominations are welcomed.
DevHub is getting a new look. Feedback from developers needed, particularly on the way documentation has been split and the way blockBlockBlock is the abstract term used to describe units of markup that, composed together, form the content or layout of a webpage using the WordPress editor. The idea combines concepts of what in the past may have achieved with shortcodes, custom HTML, and embed discovery into a single consistent API and user experience. changed inside the articles in the code reference. Please comment in Figma or on this post from the documentation team.
I18Ni18nInternationalization, or the act of writing and preparing code to be fully translatable into other languages. Also see localization. Often written with a lowercase i so it is not confused with a lowercase L or the numeral 1. Often an acquired skill.
Permalinks
Help needed with onboarding new maintainers. If you’re a maintainer with tips you can share and/or are willing to let someone shadow you, please contact @marybaum
b) Tickets
@helen highlighted ticketticketCreated for both bug reports and feature development on the bug tracker.#57187 for people who had particular experience in containers.
“What’s new in GutenbergGutenbergThe Gutenberg project is the new Editor Interface for WordPress. The editor improves the process and experience of creating new content, making writing rich content much simpler. It uses ‘blocks’ to add richness rather than shortcodes, custom HTML etc. https://wordpress.org/gutenberg/…” posts (labeled with the #gutenberg-newtagtagA directory in Subversion. WordPress uses tags to store a single snapshot of a version (3.6, 3.6.1, etc.), the common convention of tags in version control systems. (Not to be confused with post tags.)) are posted following every Gutenberg release on a biweekly basis, discovering new features included in each release. As a reminder, here’s an overview of different ways to keep up with Gutenberg and the Full Site Editing project.
Add a Variation Picker to the Group BlockBlockBlock is the abstract term used to describe units of markup that, composed together, form the content or layout of a webpage using the WordPress editor. The idea combines concepts of what in the past may have achieved with shortcodes, custom HTML, and embed discovery into a single consistent API and user experience. Placeholder
When a new Group block gets inserted into the page it now presents the user with a variation picker to instantly choose which type of layout they want to use.
Add List-Based Editing to Navigation Block
Managing the order of menu items just got a lot easier by allowing you to modify the arrangement of the individual menu items in a list view right inside the block settings sidebarSidebarA sidebar in WordPress is referred to a widget-ready area used by WordPress themes to display information that is not a part of the main content. It is not always a vertical column on the side. It can be a horizontal rectangle below or above the content area, footer, header, or any where in the theme.. This works similarly to the list view but is isolated to just the current navigation you are editing. Clicking on the “Edit” button selects the menu item in the editor so you can edit it inline.
Hide Block Toolbar when Spacing Visualizer is Shown
The spacing visualizer has seen some improvements in the last few releases already. In 14.6 it now automatically hides the blocks toolbar as soon as you hover over the spacing setting allowing you to focus on the content whilst you adjust the spacing.
Transform Paragraph into Heading via Keyboard Shortcut
You can now easily transform paragraph blocks into headings using the new control + option + 1 – 6 keyboard shortcut.
Update the Design of the Focal Point Handle
In order to make it more clear that the focal point picker is selecting a broader region instead of a fine point the handle was updated to better fit the precision of the input.
Fluid typography: Adjust font size min and max rules
The minimum and maximum value calculations for fluid font sizes have been adjusted to prevent inconsistencies in certain viewports, such as having a bigger maximum than the custom size setting. You can check the github issue for the full set of rules.
Define a Minimum Height
The new “Minimum Height” dimension control is now available for the Group and Post Content block. For example, it can be used to make sure the site footer always stays at the bottom of the viewport.
Generate New Color Pallets Automatically
Coming up with the perfect color palette is hard. Sometimes you just want to explore some new quick ideas. This new “Randomize colors” feature is a subtle algorithm that can generate alternative color palettes on the fly.
Navigation: Add a new ManageMenusButton component. (45782)
Navigation: Reposition the navigation selector. (45555)
Navigation Link: Add the URLURLA specific web address of a website or web page on the Internet, such as a website’s URL www.wordpress.org field to the Navigation Link inspector controls. (45751)
Author: Make the Author selector display all users instead of just 10. (45640)
Columns: Add transform to unwrap the contents. (45666)
Read More: Add aria-label and screen reader text. (45490)
Group: Use a variation picker in the placeholder. (43496)
Components
Use new theming accent color in all components. (45289)
CheckboxControl: Replace margin overrides with new opt-in prop. (45434)
FocalPointPicker: Update the design of the focal point handle. (45053)
FontSizePicker: Update hint text to match the design. (44966)
CheckboxControl: Move icons out of labels. (45535)
Block Editor
Converts paragraphs to headings with keyboard shortcuts. (44681)
PluginPluginA plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party
Pattern Directory APIAPIAn API or Application Programming Interface is a software intermediary that allows programs to interact with each other and share data in limited, clearly defined ways.: Add support for pagination parameters. (45293)
Template Part Block: Update block isActive method. (45672)
Navigation: Fix overflowing menu name in the navigation selector dropdown. (45647)
AccessibilityAccessibilityAccessibility (commonly shortened to a11y) refers to the design of products, devices, services, or environments for people with disabilities. The concept of accessible design ensures both “direct access” (i.e. unassisted) and “indirect access” meaning compatibility with a person’s assistive technology (for example, computer screen readers). (https://en.wikipedia.org/wiki/Accessibility)
Fix focus return when closing the Post publish panel. (45623)
Fix navigate regions backwards for macOS Firefox and Safari. (45019)
Fix the Save buttons labeling and tooltip. (43952)
FormTokenField: Fix duplicate input in IME composition. (45607)
Making size prop work for icon components using dash icon strings. (45593)
ToolsPanel: Prevent calling deselect when panel remounts. (45673)
Color Picker: Prevent all number fields to become 0 when one of them is an empty string. (45649)
ToggleGroupControl: Only show the enclosing border when isBlock. (45492)
Autocomplete: Check key events more strictly in IME composition. (45626)
CSS & Styling
Inherit font from theme on overlay close button. (45635)
Navigation: Fix font inheritance when using text menu button. (45514)
Remove hover style to button on dark block tools UIUIUser interface. (45653)
Remove width from block mover button focus style. (45665)
Site editor hover/select: Fix double border. (45589)
Remove duplicate output of existing classnames in layout classnames. (45499)
Post Editor
BlockManagerCategory: Fix styles for indeterminate. (45564)
Fix: Updated names from List View to Document Overview. (45524)
Strip HTMLHTMLHyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. from Post Title when pasting multiline title containing HTML. (35825)
Site Editor
Decode entities in template title and description. (45716)
Link to homeUrl from site editor view menu. (45475)
Block Editor
Fix Link UI popover positioning when inspector control input is focused. (45661)
Paste: Fix list only paste from Google documentation. (45498)
Make Manage Reusable blocks match similar links. (45641)(45689)
List View: Disable branchbranchA directory in Subversion. WordPress uses branches to store the latest development code for each major release (3.9, 4.0, etc.). Branches are then updated with code for any minor releases of that branch. Sometimes, a major version of WordPress and its minor versions are collectively referred to as a "branch", such as "the 4.0 branch". expansion when block editing is locked. (45541)
Spacing visualizer: Fix display of unexpected visualizer for certain mouse actions. (45739)
Experiments
A list view duplicate for use in navigation list view experiment. (45544)
Introduce experiment for inspector based navigation editing. (45515)
Change Title: How to use JavaScriptJavaScriptJavaScript or JS is an object-oriented computer programming language commonly used to create interactive effects within web browsers. WordPress makes extensive use of JS for a better user experience. While PHP is executed on the server, JS executes within a user’s browser. https://www.javascript.com/. with Gutenberg. (45323)
Docs: Update the readme for the integration test fixtures. (45581)
Summarize “Available commands” section and refer them it to scripts documentation. (45636)
Extract the manage menus button to a shared component to reduce duplicate code. (45769)
BackportbackportA port is when code from one branch (or trunk) is merged into another branch or trunk. Some changes in WordPress point releases are the result of backporting code from trunk to the release branch. pseudo selector comments from coreCoreCore is the set of software required to run WordPress. The Core Development Team builds WordPress.. (45619)
unstableSubscribeStore: Support store descriptors. (45481)
Components
BaseField: Remove unnecessary .firstChild from tests. (45687)
AvatarAvatarAn avatar is an image or illustration that specifically refers to a character that represents an online user. It’s usually a square box that appears next to the user’s name.: Escape the ‘get_author_posts_url()’. (45427)
Fix typos in Paragraph block end-to-end tests. (45611)
FontSizePicker: Fix a buggy unit testunit testCode written to test a small piece of code or functionality within a larger application. Everything from themes to WordPress core have a series of unit tests. Also see regression.. (45529)
Ignore warnings for window.wp in Playwright. (45598)
Navigation Toggle unit test: Unmount synchronously to cancel popover positioning. (45726)
ReactReactReact is a JavaScript library that makes it easy to reason about, construct, and maintain stateless and stateful user interfaces. https://reactjs.org/. Native unit tests: Migrate getByA11yLabel usages. (45454)
Unit Tests: Rewrite ReactDOM.render usages to RTL. (45453)
E2E: Add site and widgetWidgetA WordPress Widget is a small block that performs a specific function. You can add these widgets in sidebars also known as widget-ready areas on your web page. WordPress widgets were originally created to provide a simple and easy-to-use way of giving design and structure control of the WordPress theme to the user. editor supports for ensureSidebarOpened. (45480)
Build Tooling
Include TS and JSX files to testing-library lint. (45533)
The following benchmark compares performance for a particularly sizeable post (~36,000 words, ~1,000 blocks) over the last releases. Such a large post isn’t representative of the average editing experience but is adequate for spotting variations in performance.
Post Editor
Version
Loading Time
KeyPress Event (typing)
Gutenberg 14.6
10.27s
49.63 ms
Gutenberg 14.5
12.08s
70.53ms
WordPress 6.1
4.1s
31.3 ms
Site Editor
Version
Loading Time
KeyPress Event (typing)
Gutenberg 14.6
9.58s
48.65ms
Gutenberg 14.5
9.35s
77.82ms
WordPress 6.1
3.84s
22.79ms
First Time Contributors
The following PRs were merged by first time contributors:
@edanzer: Template Part Block: Update block isActive method. (45672)
@andraganescu noticing that the meeting was the lowest engagement and participation ever recorded, confirming quite a long and steady trend of this meeting loosing its purpose, raised that we should make the meeting twice a month and also reshape its usefulness.
This is also a requirement because GutenbergGutenbergThe Gutenberg project is the new Editor Interface for WordPress. The editor improves the process and experience of creating new content, making writing rich content much simpler. It uses ‘blocks’ to add richness rather than shortcodes, custom HTML etc. https://wordpress.org/gutenberg/ appears to be managed by the community much better than a couple of years a go:
there are consistently updated tracking issues
there are repeated and well done outreach programs
most of the editor issues end up as GitHubGitHubGitHub is a website that offers online implementation of git repositories that can easily be shared, copied and modified by other developers. Public repositories are free to host, private repositories require a paid subscription. GitHub introduced the concept of the ‘pull request’ where code changes done in branches by contributors can be reviewed and discussed before being merged be the repository owner. https://github.com/ issues
Therefore having a meeting just to have it seems pointless.
Note: Anyone reading this summary outside of the meeting, please drop a comment in the post summary, if you can/want to help with something.
Welcome back to a new issue of Week in CoreCoreCore is the set of software required to run WordPress. The Core Development Team builds WordPress.. Let’s take a look at what changed on TracTracAn open source project by Edgewall Software that serves as a bug tracker and project management tool for WordPress. between November 14 and November 21, 2022.
21 commits
29 contributors
76 tickets created
50 tickets reopened
4 tickets closed
TicketticketCreated for both bug reports and feature development on the bug tracker. numbers are based on the Trac timeline for the period above. The following is a summary of commits, organized by component and/or focus.
Code changes
Administration
Add missing escaping for a few strings used as HTMLHTMLHyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. attributes – #57093
Build/Test Tools
Add additional details why MacOS jobs are separate – #56793
Improve how Composer dependencies are installed – #53841
Various minor GitHubGitHubGitHub is a website that offers online implementation of git repositories that can easily be shared, copied and modified by other developers. Public repositories are free to host, private repositories require a paid subscription. GitHub introduced the concept of the ‘pull request’ where code changes done in branches by contributors can be reviewed and discussed before being merged be the repository owner. https://github.com/ Action improvements – #56793
Bundled Themes
Twenty Seventeen: Improve letter-spacing reset for non-latin alphabets – #56994
Coding Standards
Fix WPCSWPCSThe collection of PHP_CodeSniffer rules (sniffs) used to format and validate PHP code developed for WordPress according to the WordPress Coding Standards.
May also be an acronym referring to the Accessibility, PHP, JavaScript, CSS, HTML, etc. coding standards as published in the WordPress Coding Standards Handbook. issues in wp-admin/install-helper.php – #43761
Docs
Correct type for the $post parameter of the {$adjacent}_post_linkfilterFilterFilters are one of the two types of Hooks https://codex.wordpress.org/Plugin_API/Hooks. They provide a way for functions to modify data of other functions. They are the counterpart to Actions. Unlike Actions, filters are meant to work in an isolated manner, and should never have side effects such as affecting global variables and output. – #57047
Documentation for postTypes pattern property
Fix typo and improve DocBlockdocblock(phpdoc, xref, inline docs) formatting in wp-admin/install-helper.php – #56792
Fix typo in the WP_Theme_JSON::PRESETS_METADATA constant description – #56792
Minor DocBlock edits for get_adjacent_post() and related functions – #56792
Split the “main part” comment in wp-login.php into two lines – #56843
Typo correction in get_registered_nav_menus() docblock – #57101, #56792
Update wp_count_posts and wp_count_attachments filter descriptions – #56792
Update various DocBlocks and inline comments per the documentation standards – #56792
Help/About
Fix inconsistency in auto-updates help tabs – #56921
Site Editor
Show correct theme per template or template part – #55437
Text Changes
Improve the wording of the email sent to confirm site deletion – #56921
Upgrade/Install
Delete the comments-query-loop folder in wp-includes/blocks – #57080
Remove bundled theme files from $_old_files – #56936
Users
Add missing escaping on the Add New User screen – #57133
(Update November 23, 2022 – post added to section 3)
1. Welcome
Expect a brief check-in, since the United States is observing Thanksgiving week, and WordPress 6.2 will likely not kick off the pre-betaBetaA pre-release of software that is given out to a large group of users to trial under real conditions. Beta versions have gone through alpha testing in-house and are generally fairly close in look, feel and function to the final product; however, design changes often occur as part of the process. period before some 2023 planning.
As announced earlier this year, the security team will be dropping support for WordPress versions 3.7 – 4.0 as of December 1, 2022.
The final releases for these versions of WordPress will take place on November 30, 2022 (the last day of support). The release party is scheduled to begin at Wednesday, November 30th, 2022 at 00:00 UTC.
These release will update the notices in the WordPress adminadmin(and super admin) to inform users their version of WordPress is no longer receiving security updates.
The design for these notices can be found on the original post announcing the dropping of support; the patches are included on ticketticketCreated for both bug reports and feature development on the bug tracker.#56786.
For the purpose of clarity: new versions of WordPress 4.1 and later will not be released on the 30th.
You must be logged in to post a comment.