mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Rename duplicately defined internal functions (add_js, display_header) for documentation purposes. props bpetty, fixes #21564.
git-svn-id: https://develop.svn.wordpress.org/trunk@21856 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -16,7 +16,7 @@ if ( !current_user_can('export') )
|
||||
require_once('./includes/export.php');
|
||||
$title = __('Export');
|
||||
|
||||
function add_js() {
|
||||
function export_add_js() {
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
@@ -36,7 +36,7 @@ function add_js() {
|
||||
</script>
|
||||
<?php
|
||||
}
|
||||
add_action( 'admin_head', 'add_js' );
|
||||
add_action( 'admin_head', 'export_add_js' );
|
||||
|
||||
get_current_screen()->add_help_tab( array(
|
||||
'id' => 'overview',
|
||||
|
||||
Reference in New Issue
Block a user