WordPress.org

Make WordPress Core

Opened 4 months ago

Last modified 11 days ago

#48329 new feature request

Show Gutenberg version in Core

Reported by: mapk Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: General Keywords: needs-design-feedback has-screenshots
Focuses: Cc:

Description

There have been a few requests to see which Gutenberg version is included in Core. Here's an example of one: https://github.com/WordPress/gutenberg/issues/14708

It was closed due to cherry-picking updates to include in Core, but maybe we can still show the latest version of Gutenberg that was included with Core regardless?

Adding this in the wp-admin footer seems like a good place to do this. I'm uncertain if this should say "Gutenberg version" or just "Block Editor version" seeing as we don't use the word "Gutenberg" in Core. But at the same time this specifically refers to the Gutenberg plugin version that was merged into Core.

Gutenberg version

http://cldup.com/5iw3-fCB4k.png

Block Editor version

http://cldup.com/IfhLxpQQc7.png

Change History (7)

#1 follow-up: @jorbin
4 months ago

I'm not sure I like the idea of showing different components versions, especially as a long term goal has been that version numbers don't matter to the majority of people.

I do think this could be useful to add to the health check though. Essentially making it discoverable but not prominent. It could also help with debugging.

Last edited 4 months ago by jorbin (previous) (diff)

This ticket was mentioned in Slack in #design by mapk. View the logs.


4 months ago

This ticket was mentioned in Slack in #core-site-health by mapk. View the logs.


4 months ago

#4 @Clorith
4 months ago

I'm with @jorbin that adding various component versions will get messy, and confusing to users in the long run.

Fitting this into the Site Health component is absolutely something we could do, and it would fit nicely in the Info tab along with the WordPress core verison and such under the WordPress section there.

We'd need to introduce the block editor version somewhere (probably version.php) if it's not already bundled somewhere, I'm only familiar with the composer file having this reference right now.

#5 in reply to: ↑ 1 @SergeyBiryukov
4 months ago

Replying to jorbin:

I'm not sure I like the idea of showing different components versions, especially as a long term goal has been that version numbers don't matter to the majority of people.

Yep, this seems to go the the opposite direction of #35554 :)

Also related: #15101, #31046, #47848.

#6 @netweb
8 weeks ago

From a developer point of view, I've spent the past ~10 minutes trying to determine which release of Gutenberg shipped with 5.3, 5.3.1, and 5.3.2

As I write this I do not have that answer :(

Adding this to /src/wp-includes/version.php would be great:


/**
 * The WordPress Block Editor version string
 */
$wp_block_editor_version = x.y.z;

Just had a thought, look at the Gutenberg version in gutenberg.php of the wp/trunk branch on GitHub

That results in 7.1.0 and satisfies my needs for now, not easily discoverable for developers to say the least

#7 @ocean90
11 days ago

#49409 was marked as a duplicate.

Note: See TracTickets for help on using tickets.