[wp-trac] [WordPress Trac] #34561: Abstract some embed template code into functions
WordPress Trac
noreply at wordpress.org
Tue Nov 3 00:12:12 UTC 2015
#34561: Abstract some embed template code into functions
-------------------------+----------------------------
Reporter: johnbillion | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Embeds | Version: trunk
Severity: normal | Keywords: needs-patch
Focuses: |
-------------------------+----------------------------
I think this should be a pre-cursor to #34278.
If an embed template is to be introduced into the template hierarchy, some
of the sections in `wp-includes/embed-template.php` should be abstracted
into functions to avoid the need for themes to copy and paste large blocks
of code.
The following sections should be abstracted into template functions:
* Header
* Featured image logic
* Share dialog
* Footer
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34561>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list