Opened 12 years ago
Closed 8 years ago
#22857 closed enhancement (fixed)
'Header Image' state isn't removed from images previously used as header image
Reported by: | johnbillion | Owned by: | johnbillion |
---|---|---|---|
Milestone: | 4.7 | Priority: | normal |
Severity: | normal | Version: | 3.4.2 |
Component: | Customize | Keywords: | has-patch needs-testing |
Focuses: | ui, administration | Cc: |
Description (last modified by )
Steps to reproduce:
- Set your site's header image from Appearance -> Header by uploading an image or choosing one from your media library.
- Repeat step 1.
- Visit the Media Library and note that your previous header image still says 'Header Image' next to it.
Not a 3.5 regression as it happens in 3.4.2 too.
Attachments (5)
Change History (26)
#3
@
11 years ago
As used by get_uploaded_header_images()
and on the Appearance -> Header page, the intention of the Header Image label indicates that the current theme had used it as a header image at one time. It's used to provide a list of previous images to select quickly.
What about a separate indicator via _media_states()
that shows the "Current Header Image" status?
#5
@
11 years ago
- Keywords needs-patch added
- Type changed from defect (bug) to enhancement
deltafactory is right.
I like the idea of "Current Header Image", let's try this.
#6
@
11 years ago
- Keywords has-patch added; needs-patch removed
Looks like I had worked on this back then.. Patch provided.
#7
@
11 years ago
- Focuses ui administration added
As provided, the patch leaves the "Header Image" and adds "Current Header Image" which is redundant. Is there value to adding to the status, or replacing it?
#10
@
8 years ago
I think this solution works if as simply adds a new state that makes sense. I can see this being really useful information to a user. Great idea.
#12
@
8 years ago
@johnbillion Since you milestoned this, what are you thinking? Is the current patch ready to go in or does it need some changes?
This ticket was mentioned in Slack in #core-customize by celloexpressions. View the logs.
8 years ago
This ticket was mentioned in Slack in #core-customize by celloexpressions. View the logs.
8 years ago
#15
@
8 years ago
The patch fixed the problem for me, except under one scenario. If you perform the steps above to have multiple header images on the site, and then select "randomize uploaded headers", no images receive "Current Header Image". Only one of the uploaded headers says "Header Image", at random. All of the images should say "Header Image". Incoming screenshot.
@
8 years ago
Improve the patch to fix the problem, and the scenario I described earlier. There was also a stray echo in the first patch that I removed.
Affects background images too.