Opened 13 months ago
Closed 13 months ago
#20737 closed enhancement (fixed)
Improve appearance of "choose from library" link for headers and backgrounds
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.4 |
| Component: | UI | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: |
Description
As seen <a href="http://wordpress.com/wp-admin/images/screenshots/flex-header-media-library.png">here</a>, the link we added to choose headers and backgrounds from the media library looks bad. This puts "or choose from image library" inline so it all flows better.
Attachments (7)
Change History (20)
comment:1
SergeyBiryukov
— 13 months ago
- Component changed from General to UI
- Keywords has-patch added
- Milestone changed from Awaiting Review to 3.4
comment:2
SergeyBiryukov
— 13 months ago
SergeyBiryukov
— 13 months ago
comment:4
SergeyBiryukov
— 13 months ago
Perhaps we should also escape $image_library_url (done in 20737.3.diff).
In media_buttons(), get_upload_iframe_src() is escaped:
http://core.trac.wordpress.org/browser/tags/3.3.2/wp-admin/includes/media.php#L376
comment:5
jane
— 13 months ago
I can't see what the new patch makes it look like (not on a computer with svn etc right now), but one concern I'd have is that if it's inline the width would be an issue on smaller screens/devices. It's pretty late in the game to change layout stuff with no testing since we're hopefully doing rc1 today.
SergeyBiryukov
— 13 months ago
comment:6
SergeyBiryukov
— 13 months ago
Here's what it looks like with the patch: 20737.after.png.
comment:7
jane
— 13 months ago
"or" on its own line is how we have it in the uploader. Inline is how we do it for internal links. Thinking leave for now, standardize all the "or"s in 3.5 instead.
comment:8
jane
— 13 months ago
- Milestone changed from 3.4 to Future Release
- Type changed from defect (bug) to enhancement
comment:9
nacin
— 13 months ago
- Milestone changed from Future Release to 3.4
It is on its own line in the uploader only because it is a larger font and a better visual. Here, it is simply super ugly. This was reported by sabreuse at the request of ryan and me.
More importantly, though, this string is improperly internationalized. (The uploader isn't much better.) We should make a change here regardless.
SergeyBiryukov
— 13 months ago
comment:10
SergeyBiryukov
— 13 months ago
20737.4.2.diff is an attempt to use a consistent formatting in both custom-background.php and custom-header.php while keeping the same appearance as on a-tale-of-two-sources.png.
comment:11
ryan
— 13 months ago
In [20884]:
comment:12
nacin
— 13 months ago
In [20885]:
comment:13
ryan
— 13 months ago
- Resolution set to fixed
- Status changed from new to closed
There's an odd space in the <a> tag in the first part of the patch: < a id="...">.