Opened 2 months ago
Closed 2 months ago
#62993 closed defect (bug) (reported-upstream)
The 'Read more' hyperlink text in the 'Latest Posts' block renders differently on the site
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | minor | Version: | |
Component: | Editor | Keywords: | |
Focuses: | Cc: |
Description
Bug Report
Description
In the editor, the excerpt displays a 'Read More' hyperlink text, while on the site, it shows a 'Continue Reading' hyperlink text.
Environment
- WordPress: 6.8-alpha-59840
- PHP: 7.4.29
- Server: Apache
- Database: mysqli (Server: 10.1.48-MariaDB-0ubuntu0.18.04.1 / Client: mysqlnd 7.4.29)
- Browser: Chrome 133.0.0.0
- OS: Windows 10/11
- Theme: Twenty Twenty-One 2.4
- MU Plugins:
- 000-qs-loader.php
- Plugins:
- Test Reports 1.2.0
Steps to Reproduce
- Apply the 'Twenty Twenty-One' theme.
- Create lengthy posts.
- Add the 'Latest Posts' block to any page.
- Check discrepancies on the editor and site.
Expected Results
- The hyperlink text should be same on editor and on site.
Actual Results
- Hyperlink Text (Editor): Read more
- Hyperlink Text (Site): Continue reading
Supplemental Artifacts
Attachments (5)
Change History (7)
#1
@
2 months ago
Hello @shraddhagore
Thank you so much for posting this issue.
I have worked on it and added my patch. Also, I have attached its screenshots for reference.
Patch: https://core.trac.wordpress.org/attachment/ticket/62993/62993.patch
Environment
WordPress: 6.7.2 running
Theme: Twenty Twenty-one, 2.4
Browser: Google Chrome, Version 133.0.6943.98 (Official Build) (arm64)
Device: MacBook Air M1
OS: macOS 15.3.1 (24D70)
Gutenberg plugin: Version Version 20.3.0
Screenshots
Editor: https://core.trac.wordpress.org/attachment/ticket/62993/latest-post-block-editor.png
Front-end: https://core.trac.wordpress.org/attachment/ticket/62993/latest-post-block-front-end.png
Thanks,
#2
@
2 months ago
- Component changed from Themes to Editor
- Milestone Awaiting Review deleted
- Resolution set to reported-upstream
- Status changed from new to closed
- Summary changed from Twenty Twenty-One Theme: The 'Read more' hyperlink text in the 'Latest Posts' block renders differently on the site to The 'Read more' hyperlink text in the 'Latest Posts' block renders differently on the site
- Version trunk deleted
The mismatch can happen with any theme that purposely replaces the "Read more" link text. This would need to be fixed in the editor, and you could continue discussion on the Gutenberg issue:
https://github.com/WordPress/gutenberg/issues/28969
(also reported earlier in GB20510, but that was closed)
I have checked above mentioned issue and I have resolved it and added patch. Also, I have attached screenshot after resolved this issue.