summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDaryl Koopersmith <koop@git.wordpress.org>2012-11-25 21:45:30 +0000
committerDaryl Koopersmith <koop@git.wordpress.org>2012-11-25 21:45:30 +0000
commit383e24fcfece6e11471f3b4baf67b2785773c64d (patch)
treed8b74480d001a62b1deaef70dcf8e1c008650bec
parent8a75568cd4a8b86e074d22aa2d6822c09e7c2ac6 (diff)
downloadwordpress-383e24fcfece6e11471f3b4baf67b2785773c64d.tar.gz
wordpress-383e24fcfece6e11471f3b4baf67b2785773c64d.zip
Add print_media_templates action to allow custom templates to be added. props ocean90. fixes #22565, see #21390.
git-svn-id: https://develop.svn.wordpress.org/trunk@22832 602fd350-edb4-49c9-b593-d223f7449a82
-rw-r--r--wp-includes/media.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/wp-includes/media.php b/wp-includes/media.php
index 3b509e5062..b91fab5d0c 100644
--- a/wp-includes/media.php
+++ b/wp-includes/media.php
@@ -1887,4 +1887,6 @@ function wp_print_media_templates( $attachment ) {
</style>
</script>
<?php
+
+ do_action( 'print_media_templates' );
}