[wp-trac] [WordPress Trac] #34561: Abstract some embed template code into functions

WordPress Trac noreply at wordpress.org
Wed Feb 24 18:52:52 UTC 2016


#34561: Abstract some embed template code into functions
--------------------------------------------+---------------------------
 Reporter:  johnbillion                     |       Owner:  DrewAPicture
     Type:  enhancement                     |      Status:  assigned
 Priority:  normal                          |   Milestone:  4.5
Component:  Embeds                          |     Version:  4.4
 Severity:  normal                          |  Resolution:
 Keywords:  has-patch needs-testing commit  |     Focuses:
--------------------------------------------+---------------------------

Comment (by DrewAPicture):

 Added [attachment:34561.10.diff] as an MVP as discussed with @ocean90 in
 the linked Slack discussion above.

 Uses `svn cp` to create the new templates including copying `embed-
 template.php` to `theme-compat/embed-template.php`. MVP is to move the
 image gymnastics code directly into the `embed-content.php` template.

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


More information about the wp-trac mailing list