Ticket #5911 (closed defect (bug): fixed)
Media Library updates
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.5 |
| Component: | Administration | Version: | 2.5 |
| Severity: | normal | Keywords: | media has-patch |
| Cc: |
Description
Target: bring the Media Library page into line with the Happy Cog mockup.
Patches: coming in bursts.
Attachments
Change History
-
attachment
5911-5.diff
added
get filename from function instead of guid. fixes h-scroll caused by bad guid.
-
attachment
5911-6.diff
added
incremental changes to bring behavior up to latest wireframes
comment:10
ryan — 4 years ago
comment:11
ryan — 4 years ago
-
attachment
5911-13.diff
added
error improvements, localization, and icon improvements -- please do not commit before new icons arrive in wp-includes/images/crystal
comment:12
ryan — 4 years ago
-
attachment
5911-15.diff
added
Revive and filter "Add media:" text beside upload buttons
comment:13
matt — 4 years ago
-
attachment
5911-16.diff
added
Improve upload_max_filesize error. Improve error display for long messages. New uploads now added to bottom, not top. Fix align class. Remove redundant header text.
comment:14
ryan — 4 years ago
-
attachment
5911-17.diff
added
Fix insert, gallery, sizing, type queries, errors, thumbs, type fallback.
comment:15
ryan — 4 years ago
-
attachment
5911-18.diff
added
fix missing thumbnail radio button for inserting into post
comment:16
ryan — 4 years ago
comment:17
westi — 4 years ago
- Severity changed from major to blocker
Making a release blocker - we should close this when we are happy with the media library.
comment:18
westi — 4 years ago
comment:19
matt — 4 years ago
-
attachment
5911-21.diff
added
fix invisible delete links (now with media-upload iframe body id)
comment:20
matt — 4 years ago
comment:21
matt — 4 years ago
comment:22
matt — 4 years ago
comment:23
matt — 4 years ago
comment:24
ryan — 4 years ago
comment:25
ryan — 4 years ago
comment:26
iammattthomas — 4 years ago
I just noticed this, but patch 5911-14.diff in [7151] squishes the media icons (60px tall) into a max-height of 40px.
If it's necessary for image thumbnails, a class should be applied to thumbnails that gives them the max-height. Or, a class could be applied to file icons that gives them a height of 60px.
comment:27
westi — 4 years ago
Now we have a funky media library that works a dream do we still need to keep wp-admin/includes/upload.php as it's not referenced by any WordPress code.
If so I guess we should make it as deprecated so we can remove it later.
comment:28
KirkM — 4 years ago
I'm hoping this is the correct place for this. In my testing I've found a problem with the current Media Library. It seems to have been around for the last few revisions. I've compared two different test sites below that exhibit the same problem.
In the "Manage/MediaLibrary", when selecting any link in the "Media" column brings up the selected image's edit page as usual. At that point "Settings", "Plugins" and "Users" disappears from the top right of page and the following warning is displayed at the bottom of the page:
Warning*: Cannot modify header information - headers already sent by (output started at /home/longmead/public_html/just-thinkin/wp-admin/admin-header.php:26) in */home/longmead/public_html/just-thinkin/wp-includes/pluggable.php* on line *688
All plugins are deactivated during this test.
On my other test site currently running on r2998 the same thing occurs with the exception of slight change in the warning (different line #):
*Warning*: Cannot modify header information - headers already sent by (output started at /home/longmead/public_html/just-thinkin/wp25-test/wp-admin/admin-header.php:26) in */home/longmead/public_html/just-thinkin/wp25-test/wp-includes/pluggable.php* on line *687
Again, no plugins activated.
I'm to light yet on the ins and outs of the Wordpress code to troubleshoot this myself.
comment:29
follow-up:
↓ 30
KirkM — 4 years ago
Correction to my last comment. In the first example, that site is running r7331.
comment:30
in reply to:
↑ 29
KirkM — 4 years ago
-
attachment
5911-29.diff
added
last patch on this ticket: remove obviously unreachable code
comment:31
ryan — 4 years ago
- Status changed from new to closed
- Resolution set to fixed
comment:32
bomberstudios — 4 years ago
- Priority changed from high to normal
- Status changed from closed to reopened
- Resolution fixed deleted
- Severity changed from blocker to normal
- Type changed from enhancement to defect
As of r7355, upload.php is still linked from some pages in the admin area (i.e: Manage » Media Library)
I'm reopening the ticket in the hopes that either this file comes back or the link in edit.php is updated to whatever replaces upload.php
comment:33
westi — 4 years ago
comment:34
westi — 4 years ago
iammattthomas — 4 years ago
-
attachment
default-media-icon-size.png
added
Showing bad effects of min-height: 40px; on the thumbnail/icon
comment:36
iammattthomas — 4 years ago
- Status changed from closed to reopened
- Resolution fixed deleted
It may have been overlooked, but I mentioned previously that the min-height of 40px needs to be adjusted as it's unnaturally squashing the media library icons. See screenshot.
-
attachment
5911-rel.diff
added
add rel attrs to attachment links inserted from uploader
comment:37
ryan — 4 years ago
comment:38
technosailor — 4 years ago
For a brief few hours on Saturday, I was pleased to see a tags field added to the attachment editing page. It's gone now and I keep hoping it will come back. Can we get that back? Please?
comment:39
DD32 — 4 years ago
A comment on a blog post of mine:
also if I go to manage => media library then below “appears with” => it says: “no title” I click on no title, assuming I could edit its title, and get this error: You attempted to edit a post that doesn’t exist. Perhaps it was deleted? the url changes to: http://pacura.ru/wordpress/wp-admin/post.php?action=edit&post=-1206700048 it seems the media library tries to edit a post?
I can reproduce it on the latest Trunk too.
Create a new draft, attach an image, make sure it saves, Head over to the Manage Media library, the post link on the Image "Appears with" directs to the Draft post ID, not the real post id.
comment:40
ryan — 4 years ago
- Status changed from reopened to closed
- Resolution set to fixed
- Milestone changed from 2.6 to 2.5
