mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +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:
@@ -52,7 +52,7 @@ get_current_screen()->set_help_sidebar(
|
||||
* @package WordPress
|
||||
* @subpackage Permalink_Settings_Screen
|
||||
*/
|
||||
function add_js() {
|
||||
function options_permalink_add_js() {
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
@@ -70,7 +70,7 @@ jQuery(document).ready(function() {
|
||||
</script>
|
||||
<?php
|
||||
}
|
||||
add_filter('admin_head', 'add_js');
|
||||
add_filter('admin_head', 'options_permalink_add_js');
|
||||
|
||||
include('./admin-header.php');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user