Make WordPress Core

Opened 7 weeks ago

Last modified 5 weeks ago

#61317 new defect (bug)

Customizer load wrong page for customizing the "Page".

Reported by: okvee's profile okvee Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.6
Component: Customize Keywords:
Focuses: Cc:

Description

Tested with WordPress 6.6-alpha-58225
All plugins are disabled/deactivated.
Themes that have this problem: all classic themes that support customizer such as Twenty Twenty, Twenty Twenty-One.

Step to reproduce:

  1. Create new page with unicode language for example หน้าภาษาไทย. Enter any content language.
  2. Publish and view the page.
  3. Click on customize.
  4. The customizer load home page instead of selected page (หน้าภาษาไทย). Some WordPress installation, they are showing 404 error page.

This is working correctly on version 6.5.3 but not with 6.6x

Change History (1)

#1 @yahaly
5 weeks ago

Reproduction Report

This report validates that the issue can be reproduced.

Environment

  • Server: Apache/2.4.58 (Win64)
  • PHP: 8.2.12 (Supports 64bit values)
  • WordPress: 6.6-beta2-58392-src
  • Browser: Chrome 99.0.4844.84
  • OS: Windows 10 Pro
  • Theme: Twenty Twenty, Twenty Twenty-One
  • Plugins: None activated

Actual Results

  • ✅ Error condition occurs (reproduced).

Additional Notes

  • Any additional details worth mention.

Steps to Reproduce

  1. Choose Twenty Twenty theme.
  2. Create new page with unicode language for example หน้าภาษาไทย. Enter content หน้าภาษาไทย.
  3. Publish and view the page.
  4. Click on customize.
  5. 🐞 Bug occurs. The customizer load home page instead of selected page (หน้าภาษาไทย).

Expected Results

When testing a patch to validate it works as expected:

  • ✅ Customizer opening on หน้าภาษาไทย page.

When reproducing a bug:

  • ❌ Customizer opening on main page.

Supplemental Artifacts

Twenty Twenty: Video(https://www.loom.com/share/76165b8c96d24034a2c3ac61462dcffe)?
Twenty Twenty-One: Video(https://www.loom.com/share/013b58d484dc46e7977117b20cff3920)?

Note: See TracTickets for help on using tickets.