[wp-trac] [WordPress Trac] #46679: Themes: Add a shim for wp_body_open()
WordPress Trac
noreply at wordpress.org
Wed Apr 3 21:18:09 UTC 2019
#46679: Themes: Add a shim for wp_body_open()
-------------------------------------+------------------------------
Reporter: pento | Owner: adamsilverstein
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 5.2
Component: Bundled Theme | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch needs-refresh | Focuses:
-------------------------------------+------------------------------
Comment (by ramiy):
@pento Thanks for the feedback. I've updated the patch.
In **2010-2014** I used the `functions.php` file, In **2015-2019** I used
the `inc/template-tags.php` file.
Also, I replaced `if () { ... }` with `if () : ... endif;`, to match the
current code convention in theme files.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46679#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list