#49677 closed enhancement (invalid)
"admin-preview-callback" in "custom-header" probably used to work
| Reported by: | RSalnikov | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Customize | Version: | 5.4 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | ui, administration, template |
Description
Trying to do any thing with "admin_header_image" i found out, that this callback doesn't work at all. I found, it works when we currently placing at one of several steps.
1) Open created page in Appearance -> Header https://github.com/WordPress/WordPress/blob/7004afe4f4bac1fd17a142051832bdf6be8e6fcf/wp-admin/includes/class-custom-image-header.php#L73
2) There is should be some steps but they are absent in the page https://github.com/WordPress/WordPress/blob/7004afe4f4bac1fd17a142051832bdf6be8e6fcf/wp-admin/includes/class-custom-image-header.php#L1031
Change History (6)
#2
in reply to: ↑ 1
@
6 years ago
Replying to joyously:
What was it that "doesn't work anymore"? Did it ever work? What are you referring to?
Perhaps your question should be on the support forums instead.
I thought it used to work. My bad if this callback is working correctly. Would be nice if we have more examples how to use this callback, because right now i stuck and don't know where i can digging in to solve my issue...
#3
@
6 years ago
- Summary "admin_header_image" in "custom-header" doesn't work anymore → "admin_header_image" in "custom-header" probably used to work
#4
@
6 years ago
- Summary "admin_header_image" in "custom-header" probably used to work → "admin-preview-callback" in "custom-header" probably used to work
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
What was it that "doesn't work anymore"? Did it ever work? What are you referring to?
Perhaps your question should be on the support forums instead.