Opened 11 years ago
Last modified 7 days ago
#32017 new defect (bug)
Fix class name typo from 'hndle' to 'handle'
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Awaiting Review | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Administration | Keywords: | has-patch has-screenshots |
| Focuses: | Cc: |
Description
The typo was introduced in [8682] changeset.
Attachments (5)
Change History (14)
#2
@
10 years ago
- Component changed from General to Administration
- Keywords has-patch needs-refresh added
What ocean90 says :)
#3
@
10 years ago
- Keywords needs-refresh removed
@johnlauber and I took a pass at updating this patch to include backwards compatibility at #WCUS
#5
@
8 years ago
@palmiak You'd need to refresh 32017.2.diff, not 32017.diff because of the comment before:
We can't change it without leaving the old class for backwards compatibility.
#6
@
8 years ago
Ok - so not find & replace but find & add :) I'll try to do it during the weekend or on monday
#7
@
6 years ago
- Keywords needs-testing added; needs-refresh removed
Hey all, sorry for this being so delayed :/
The patch was corrupted for me, so made my own off of trunk (16 Jan 2020). A quick glance on the dashboard page source makes this look like it works, but needs actual checking.
This ticket was mentioned in PR #9180 on WordPress/wordpress-develop by @sainathpoojary.
7 months ago
#8
Trac ticket: #32017
#9
@
7 days ago
- Keywords has-screenshots added; needs-testing removed
Test Report
Description
This report validates whether the indicated patch works as expected.
Patch tested: https://github.com/WordPress/wordpress-develop/pull/9180
Environment
- WordPress: 7.0-alpha-61215-src
- PHP: 8.2.29
- Server: nginx/1.29.4
- Database: mysqli (Server: 8.4.7 / Client: mysqlnd 8.2.29)
- Browser: Chrome 143.0.0.0
- OS: macOS
- Theme: Twenty Twenty-One 2.7
- MU Plugins: None activated
- Plugins:
- Classic Editor 1.6.7
- Test Reports 1.2.1
Steps to Reproduce
- Install Classic Editor plugin
- Edit any post
- Inspect any postbox header using Chrome Dev Tools to see the classlist of H2 element
Actual Results
- ✅ Issue resolved with patch.
- .handle class is added to the div.postbox-header > h2 tag and .hndl class is kept for backwards compatibility.
- Metabox toggle works as expected.
Additional Notes
- As the test steps weren't clearly provided, I tested only by toggling metaboxes by clicking their headers.
Supplemental Artifacts
| Before | After |
|---|---|
|
|


Replaced strings 'hndle' to 'handle'