From f36563c2156a7e859d6c875c083a3918f7733aa3 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Thu, 15 Jan 2009 00:08:20 +0000 Subject: [PATCH] Add action hook in admin footer so plugins can output scripts there on specific pages only, props GamerZ, fixes #8859 git-svn-id: https://develop.svn.wordpress.org/trunk@10362 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/admin-footer.php | 3 ++- wp-admin/includes/template.php | 1 - wp-includes/class.wp-scripts.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/admin-footer.php b/wp-admin/admin-footer.php index dc3cb88a5d..a9eedcb879 100644 --- a/wp-admin/admin-footer.php +++ b/wp-admin/admin-footer.php @@ -25,11 +25,12 @@ echo '' . __('Thank you for creating with + - diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 0319a947df..9c553a8ceb 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -3381,7 +3381,6 @@ function screen_icon($name = '') { else $name = str_replace(array('.php', '-new', '-add'), '', $hook_suffix); } - unset($hook_suffix); ?>

in_footer) ) { foreach( $this->in_footer as $key => $handle ) { if ( !in_array($handle, $this->done, true) && isset($this->registered[$handle]) ) { - $this->do_item($handle, false, $this->doecho); + $this->do_item($handle); $this->done[] = $handle; unset( $this->in_footer[$key] ); }