[wp-trac] [WordPress Trac] #46679: Themes: Add a shim for wp_body_open()

WordPress Trac noreply at wordpress.org
Tue Apr 23 13:03:21 UTC 2019


#46679: Themes: Add a shim for wp_body_open()
------------------------------+------------------------------
 Reporter:  pento             |       Owner:  adamsilverstein
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  5.2
Component:  Bundled Theme     |     Version:  trunk
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+------------------------------
Changes (by adamsilverstein):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"45256" 45256]:
 {{{
 #!CommitTicketReference repository="" revision="45256"
 Bundled Theme: add a `wp_body_open` shim for older WordPress versions.

 WordPress 5.2 adds the `wp_body_open()` function, and the default themes
 make use of it. This patch adds a shim for `wp_body_open` to bundled
 themes so this function will also work in older versions of WordPress.

 Props lgedeon, johnbillion, timph, ramiy, pento.
 Fixes #46679.
 }}}

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


More information about the wp-trac mailing list