[wp-trac] [WordPress Trac] #56180: get_header_image(): may consider adding filter in 'get_header_image()'

WordPress Trac noreply at wordpress.org
Tue Jul 12 08:36:46 UTC 2022


#56180: get_header_image(): may consider adding filter in 'get_header_image()'
-------------------------------------------------+-------------------------
 Reporter:  hztyfoon                             |       Owner:  audrasjb
     Type:  feature request                      |      Status:  reviewing
 Priority:  normal                               |   Milestone:  6.1
Component:  Themes                               |     Version:  2.1
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests has-        |     Focuses:
  testing-info needs-testing                     |  administration
-------------------------------------------------+-------------------------

Comment (by hztyfoon):

 Ok, I will close the PR soon in favor of `56180.1.diff` by @costdev as it
 already includes unit tests.

 Just a minor change suggestion: Wouldn't the hook_name `get_header_image`
 make more sense than `header_image` ?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56180#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list