#48782 closed defect (bug) (fixed)
Fix link-manager styles
Reported by: | antonlukin | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 5.7 | Priority: | normal |
Severity: | minor | Version: | 5.3 |
Component: | Posts, Post Types | Keywords: | has-screenshots good-first-bug has-patch commit |
Focuses: | ui, css | Cc: |
Description
Link Manager lacks the required form styles. Need to add some padding to .inside
element.
Attachments (5)
Change History (23)
#1
@
5 years ago
Hi there, welcome to WordPress Trac! Thanks for the ticket.
For some context, Link Manager is deprecated in core since WordPress 3.5:
- #21307 hides it in the UI for newer installs and requires the Link Manager plugin to re-enable.
- #22994 removes it from import options.
- #42131 proposes to remove it completely, though closed as
maybelater
for now.
That said, I have no objections to fixing the padding if it doesn't require too much effort.
This ticket was mentioned in Slack in #core-css by ryelle. View the logs.
4 years ago
This ticket was mentioned in Slack in #core-css by kirstyburgoine. View the logs.
4 years ago
#4
@
4 years ago
- Keywords needs-patch good-first-bug added
- Milestone changed from Awaiting Review to Future Release
This ticket was mentioned in PR #753 on WordPress/wordpress-develop by grzim.
4 years ago
#5
- Keywords has-patch added; needs-patch removed
add margins to inputs as described in 48782.
add a border-bottom to headers to make all headers consistent.
In order to access Links, please download the plugin from https://wordpress.org/plugins/link-manager/ and upload it from your computer.
Trac ticket: https://core.trac.wordpress.org/ticket/48782
github-actions[bot] commented on PR #753:
4 years ago
#6
Hi @grzim! 👋
Thank you for your contribution to WordPress! 💖
It looks like this is your first pull request to wordpress-develop
. Here are a few things to be aware of that may help you out!
No one monitors this repository for new pull requests. Pull requests must be attached to a Trac ticket to be considered for inclusion in WordPress Core. To attach a pull request to a Trac ticket, please include the ticket's full URL in your pull request description.
Pull requests are never merged on GitHub. The WordPress codebase continues to be managed through the SVN repository that this GitHub repository mirrors. Please feel free to open pull requests to work on any contribution you are making.
More information about how GitHub pull requests can be used to contribute to WordPress can be found in this blog post.
Please include automated tests. Including tests in your pull request is one way to help your patch be considered faster. To learn about WordPress' test suites, visit the Automated Testing page in the handbook.
If you have not had a chance, please review the Contribute with Code page in the WordPress Core Handbook.
The Developer Hub also documents the various coding standards that are followed:
- PHP Coding Standards
- CSS Coding Standards
- HTML Coding Standards
- JavaScript Coding Standards
- Accessibility Coding Standards
- Inline Documentation Standards
Thank you,
The WordPress Project
#7
@
4 years ago
Problem solved in https://github.com/WordPress/wordpress-develop/pull/753
This ticket was mentioned in Slack in #meta by timothybjacobs. View the logs.
4 years ago
#9
@
4 years ago
I still have a few sites that use Link Manager and the PR LGTM, so I'd say this should be fixed...since the reason it currently looks the way it does is because of other WP admin CSS changes since Link Manager was depreciated. The changes in the PR are confined to the Links screen(s), so I don't think there is any downside.
#10
@
4 years ago
- Milestone changed from Future Release to 5.7
Thanks for the PR @grzim! The styles look good on the Add New Link page, but the .inside
top margin is still only 6 pixels on the Edit Link page instead of 12.
Here are a few suggestions:
- Include
.link-php #poststuff .inside
for the override (or else add a new class to the first div within the form element on both pages). - Move this style override after
#poststuff .inside
. - Only specify the top margin for the
.link-php
and.link-add-php
styles. - Simplify the existing shorthand for
#poststuff .inside
.
#poststuff .inside { margin: 6px 0 0; } .link-php #poststuff .inside, .link-add-php #poststuff .inside { margin-top: 12px; }
This ticket was mentioned in Slack in #core by sergey. View the logs.
4 years ago
draganescu commented on PR #753:
4 years ago
#13
Howdy @grzim is this comment something you're looked at in this PR?
#14
@
4 years ago
Refreshed patch in 48782.diff to see if this still can be committed for the 5.7 release
#15
@
4 years ago
- Keywords commit added
48782.diff
looks good to me (see screenshots above). Marking this for commit.
This ticket was mentioned in Slack in #core by audrasjb. View the logs.
4 years ago
4 years ago
#18
I think we can close this issue as https://core.trac.wordpress.org/ticket/48782 has been closed
Link-manager styles bug