Making WordPress.org

Opened 10 months ago

Closed 5 weeks ago

Last modified 3 weeks ago

#8143 closed defect (bug) (fixed)

WordPress Version not display on the site

Reported by: dilip2615 Owned by:
Priority: normal Milestone:
Component: General Keywords:
Cc:

Description

This feature dynamically fetches the latest WordPress version using the official WordPress Meta API and automatically updates the download button text to display the current version number. Instead of manually updating the version each time a new release is published, the system retrieves the latest release information in real-time and assigns it to the button label like , "Download WordPress (6.x.x)".
This ensures your website always shows the most accurate, up-to-date WordPress download information without any manual maintenance.

See this : ​https://prnt.sc/ZmBNcO4xtA9S

Attachments (1)

mismatch.mp4​ (3.7 MB ) - added by dilip2615 10 months ago.
this is a video for mismatche the version label.

Change History (9)

@dilip2615
10 months ago

this is a video for mismatche the version label.

#1 @dd32
10 months ago

  • Component Handbooks → General
  • Keywords needs-unit-tests removed
  • Resolution → fixed
  • Status assigned → closed

Previously: ​https://core.trac.wordpress.org/ticket/64279

I updated Gutenberg to 22.2, as it was working in my test environment.. but evidently still broken in production.. Either I tested wrong, or I tested the wrong version :S.

Fix is in Gutenberg 22.3: ​https://github.com/WordPress/gutenberg/pull/73477

Reverted to version 22.0.

#2 @Otto42
10 months ago

  • Keywords needs-patch has-screenshots removed
  • Priority high → normal

#3 @valani9099
5 weeks ago

  • Resolution fixed
  • Status closed → reopened

@dd32 This issue has returned on the production download page.

Although the original report referenced WordPress 6.x.x, the current stable release is WordPress 7.1. The primary download button should therefore display:

Download WordPress 7.1

Instead, it currently displays the unprocessed shortcode:

Download WordPress [latest_version]

Page: ​https://wordpress.org/download/

This appears to be a regression of the original issue. I have attached a current screenshot for reference.

See this : ​https://prnt.sc/BI683142BCJp

Last edited 5 weeks ago by valani9099 (previous) (diff)

This ticket was mentioned in ​Slack in #meta by valani9099. ​View the logs.


5 weeks ago

#5 @softglaze
5 weeks ago

Confirmed, Issue exists, the button text mismatch, I can offer a PR, let me know if this issue needs to be solved.

#6 @obenland
5 weeks ago

  • Resolution → fixed
  • Status reopened → closed

#7 @valani9099
5 weeks ago

@obenland Thank you for fixing and deploying this! I’ve verified that the button now correctly displays “Download WordPress 7.1” and the download works as expected.

Since I identified and reported this regression, could valani9099 please be included in the props, if applicable?

This ticket was mentioned in ​Slack in #meta by valani9099. ​View the logs.


3 weeks ago

Note: See TracTickets for help on using tickets.