-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Site Settings: Remove Disabled Input for WordPress Version #32457
Site Settings: Remove Disabled Input for WordPress Version #32457
Conversation
/> | ||
<FormLabel | ||
className="site-settings__wordpress-version" | ||
htmlFor="wpversion" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this be changed to a different component? ie, not FormLabel
– there is no input with ID wpversion
for this to label anymore (and if somehow there is, in some other component on the page, it shouldn't attach to this label)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Updated the PR to just use a <strong>
tag, would that be okay?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better now! :-) There's also FormFieldset
component which isn't semantically correct now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I updated it to wrap with Fragment. :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, thank you! :) |
Changes proposed in this Pull Request
Testing instructions
On a Jetpack connected site, visit
/settings/general
and check the WordPress version.Current:
Proposed:
cc @simison, @drw158
See #31207 and #26982 for some context on this