Ticket #2701: 2701g.diff
| File 2701g.diff, 24.5 KB (added by mdawaffe, 7 years ago) |
|---|
-
wp-includes/default-filters.php
86 86 add_action('wp_head', 'rsd_link'); 87 87 add_action('publish_future_post', 'wp_publish_post', 10, 1); 88 88 add_action('wp_head', 'noindex', 1); 89 add_action('wp_head', 'wp_print_scripts'); 89 90 if(!defined('DOING_CRON')) 90 91 add_action('init', 'wp_cron'); 91 92 add_action('do_feed_rdf', 'do_feed_rdf', 10, 1); -
wp-includes/js/dbx-key.js
1 2 //initialisation function3 addLoadEvent( function()4 {5 //create new docking boxes group6 var meta = new dbxGroup(7 'grabit', // container ID [/-_a-zA-Z0-9/]8 'vertical', // orientation ['vertical'|'horizontal']9 '10', // drag threshold ['n' pixels]10 'no', // restrict drag movement to container axis ['yes'|'no']11 '10', // animate re-ordering [frames per transition, or '0' for no effect]12 'yes', // include open/close toggle buttons ['yes'|'no']13 'closed', // default state ['open'|'closed']14 'open', // word for "open", as in "open this box"15 'close', // word for "close", as in "close this box"16 'click-down and drag to move this box', // sentence for "move this box" by mouse17 'click to %toggle% this box', // pattern-match sentence for "(open|close) this box" by mouse18 'use the arrow keys to move this box', // sentence for "move this box" by keyboard19 ', or press the enter key to %toggle% it', // pattern-match sentence-fragment for "(open|close) this box" by keyboard20 '%mytitle% [%dbxtitle%]' // pattern-match syntax for title-attribute conflicts21 );22 23 // Boxes are closed by default. Open the Category box if the cookie isn't already set.24 var catdiv = document.getElementById('categorydiv');25 if ( catdiv ) {26 var button = catdiv.getElementsByTagName('A')[0];27 if ( dbx.cookiestate == null && /dbx\-toggle\-closed/.test(button.className) )28 meta.toggleBoxState(button, true);29 }30 31 var advanced = new dbxGroup(32 'advancedstuff', // container ID [/-_a-zA-Z0-9/]33 'vertical', // orientation ['vertical'|'horizontal']34 '10', // drag threshold ['n' pixels]35 'yes', // restrict drag movement to container axis ['yes'|'no']36 '10', // animate re-ordering [frames per transition, or '0' for no effect]37 'yes', // include open/close toggle buttons ['yes'|'no']38 'closed', // default state ['open'|'closed']39 'open', // word for "open", as in "open this box"40 'close', // word for "close", as in "close this box"41 'click-down and drag to move this box', // sentence for "move this box" by mouse42 'click to %toggle% this box', // pattern-match sentence for "(open|close) this box" by mouse43 'use the arrow keys to move this box', // sentence for "move this box" by keyboard44 ', or press the enter key to %toggle% it', // pattern-match sentence-fragment for "(open|close) this box" by keyboard45 '%mytitle% [%dbxtitle%]' // pattern-match syntax for title-attribute conflicts46 );47 }); -
wp-includes/functions-post.php
1040 1040 } 1041 1041 1042 1042 /** 1043 * Places two script links in <head>: one to get tinyMCE (big), one to configure and start it (small)1044 */1045 function tinymce_include() {1046 $ver = '04162006';1047 $src1 = get_settings('siteurl') . "/wp-includes/js/tinymce/tiny_mce_gzip.php?ver=$ver";1048 $src2 = get_settings('siteurl') . "/wp-includes/js/tinymce/tiny_mce_config.php?ver=$ver";1049 1050 echo "<script type='text/javascript' src='$src1'></script>\n";1051 echo "<script type='text/javascript' src='$src2'></script>\n";1052 }1053 1054 /**1055 1043 * Places a textarea according to the current user's preferences, filled with $content. 1056 1044 * Also places a script block that enables tabbing between Title and Content. 1057 1045 * -
wp-includes/deprecated.php
452 452 return wp_dropdown_categories($query); 453 453 } 454 454 455 // Deprecated. Use wp_print_scripts() or WP_Scripts instead. 456 function tinymce_include() { 457 wp_print_script( 'wp_tiny_mce' ); 458 } 455 459 ?> -
wp-includes/script-loader.php
1 <?php 2 class WP_Scripts { 3 var $scripts = array(); 4 var $queue = array(); 5 var $printed = array(); 6 var $args = array(); 7 8 function WP_Scripts() { 9 $this->default_scripts(); 10 } 11 12 function default_scripts() { 13 $this->add( 'dbx', '/wp-includes/js/dbx.js', false, '2.02' ); 14 $this->add( 'fat', '/wp-includes/js/fat.js', false, '1.0-RC1_3660' ); 15 $this->add( 'sack', '/wp-includes/js/tw-sack.js', false, '1.6.1' ); 16 $this->add( 'quicktags', '/wp-includes/js/quicktags.js', false, '3517' ); 17 $this->add( 'colorpicker', '/wp-includes/js/colorpicker.js', false, '3517' ); 18 $this->add( 'tiny_mce', '/wp-includes/js/tinymce/tiny_mce_gzip.php', false, '04162006' ); 19 $this->add( 'wp_tiny_mce', '/wp-includes/js/tinymce/tiny_mce_config.php', array('tiny_mce'), '04162006' ); 20 if ( is_admin() ) { 21 $this->add( 'dbx-admin-key', '/wp-admin/dbx-admin-key-js.php', array('dbx'), '3651' ); 22 $this->add( 'listman', '/wp-admin/list-manipulation-js.php', array('sack', 'fat'), '3733' ); 23 $this->add( 'ajaxcat', '/wp-admin/cat-js.php', array('listman'), '3684' ); 24 $this->add( 'admin-categories', '/wp-admin/categories.js', array('listman'), '3684' ); 25 $this->add( 'admin-custom-fields', '/wp-admin/custom-fields.js', array('listman'), '3733' ); 26 $this->add( 'admin-comments', '/wp-admin/edit-comments.js', array('listman'), '3736' ); 27 $this->add( 'admin-users', '/wp-admin/users.js', array('listman'), '3684' ); 28 $this->add( 'xfn', '/wp-admin/xfn.js', false, '3517' ); 29 } 30 } 31 32 /** 33 * Prints script tags 34 * 35 * Prints the scripts passed to it or the print queue. Also prints all necessary dependencies. 36 * 37 * @param mixed handles (optional) Scripts to be printed. (void) prints queue, (string) prints that script, (array of strings) prints those scripts. 38 * @return array Scripts that have been printed 39 */ 40 function print_scripts( $handles = false ) { 41 // Print the queue if nothing is passed. If a string is passed, print that script. If an array is passed, print those scripts. 42 $handles = false === $handles ? $this->queue : (array) $handles; 43 $handles = $this->all_deps( $handles ); 44 $this->_print_scripts( $handles ); 45 return $this->printed; 46 } 47 48 /** 49 * Internally used helper function for printing script tags 50 * 51 * @param array handles Hierarchical array of scripts to be printed 52 * @see WP_Scripts::all_deps() 53 */ 54 function _print_scripts( $handles ) { 55 global $wp_db_version; 56 57 foreach( array_keys($handles) as $handle ) { 58 if ( !$handles[$handle] ) 59 return; 60 elseif ( is_array($handles[$handle]) ) 61 $this->_print_scripts( $handles[$handle] ); 62 if ( !in_array($handle, $this->printed) && isset($this->scripts[$handle]) ) { 63 $ver = $this->scripts[$handle]->ver ? $this->scripts[$handle]->ver : $wp_db_version; 64 if ( isset($this->args[$handle]) ) 65 $ver .= '&' . $this->args[$handle]; 66 $src = 0 === strpos($this->scripts[$handle]->src, 'http://') ? $this->scripts[$handle]->src : get_settings( 'siteurl' ) . $this->scripts[$handle]->src; 67 echo "<script type='text/javascript' src='$src?ver=$ver'></script>\n"; 68 $this->printed[] = $handle; 69 } 70 } 71 } 72 73 74 /** 75 * Determines dependencies of scripts 76 * 77 * Recursively builds hierarchical array of script dependencies. Does NOT catch infinite loops. 78 * 79 * @param mixed handles Accepts (string) script name or (array of strings) script names 80 * @param bool recursion Used internally when function calls itself 81 * @return array Hierarchical array of dependencies 82 */ 83 function all_deps( $handles, $recursion = false ) { 84 if ( ! $handles = (array) $handles ) 85 return array(); 86 $return = array(); 87 foreach ( $handles as $handle ) { 88 $handle = explode('?', $handle); 89 if ( isset($handle[1]) ) 90 $this->args[$handle[0]] = $handle[1]; 91 $handle = $handle[0]; 92 if ( is_null($return[$handle]) ) // Prime the return array with $handles 93 $return[$handle] = true; 94 if ( $this->scripts[$handle]->deps ) { 95 if ( false !== $return[$handle] && array_diff($this->scripts[$handle]->deps, array_keys($this->scripts)) ) 96 $return[$handle] = false; // Script required deps which don't exist 97 else 98 $return[$handle] = $this->all_deps( $this->scripts[$handle]->deps, true ); // Build the hierarchy 99 } 100 if ( $recursion && false === $return[$handle] ) 101 return false; // Cut the branch 102 } 103 return $return; 104 } 105 106 /** 107 * Adds script 108 * 109 * Adds the script only if no script of that name already exists 110 * 111 * @param string handle Script name 112 * @param string src Script url 113 * @param array deps (optional) Array of script names on which this script depends 114 * @param string ver (optional) Script version (used for cache busting) 115 * @return array Hierarchical array of dependencies 116 */ 117 function add( $handle, $src, $deps = array(), $ver = false ) { 118 if ( isset($this->scripts[$handle]) ) 119 return false; 120 $this->scripts[$handle] = new _WP_Script( $handle, $src, $deps, $ver ); 121 return true; 122 } 123 124 function remove( $handles ) { 125 foreach ( (array) $handles as $handle ) 126 unset($this->scripts[$handle]); 127 } 128 129 function enqueue( $handles ) { 130 foreach ( (array) $handles as $handle ) { 131 $handle = explode('?', $handle); 132 if ( !in_array($handle[0], $this->queue) && isset($this->scripts[$handle[0]]) ) { 133 $this->queue[] = $handle[0]; 134 if ( isset($handle[1]) ) 135 $this->args[$handle[0]] = $handle[1]; 136 } 137 } 138 } 139 140 function dequeue( $handles ) { 141 foreach ( (array) $handles as $handle ) 142 unset( $this->queue[$handle] ); 143 } 144 145 function query( $handle, $list = 'scripts' ) { // scripts, queue, or printed 146 switch ( $list ) : 147 case 'scripts': 148 if ( isset($this->scripts[$handle]) ) 149 return $this->scripts[$handle]; 150 break; 151 default: 152 if ( in_array($handle, $this->$list) ) 153 return true; 154 break; 155 endswitch; 156 return false; 157 } 158 159 } 160 161 class _WP_Script { 162 var $handle; 163 var $src; 164 var $deps = array(); 165 var $ver = false; 166 var $args = false; 167 168 function _WP_Script() { 169 @list($this->handle, $this->src, $this->deps, $this->ver) = func_get_args(); 170 if ( !is_array($this->deps) ) 171 $this->deps = array(); 172 if ( !$this->ver ) 173 $this->ver = false; 174 } 175 } 176 177 /** 178 * Prints script tags in document head 179 * 180 * Called by admin-header.php and by wp_head hook. Since it is called by wp_head on every page load, 181 * the function does not instantiate the WP_Scripts object unless script names are explicitly passed. 182 * Does make use of already instantiated $wp_scripts if present. 183 * Use provided wp_print_scripts hook to register/enqueue new scripts. 184 * 185 * @see WP_Scripts::print_scripts() 186 */ 187 function wp_print_scripts( $handles = false ) { 188 do_action( 'wp_print_scripts' ); 189 190 global $wp_scripts; 191 if ( !is_a($wp_scripts, 'WP_Scripts') ) { 192 if ( !$handles ) 193 return array(); // No need to instantiate if nothing's there. 194 else 195 $wp_scripts = new WP_Scripts(); 196 } 197 198 return $wp_scripts->print_scripts( $handles ); 199 } 200 201 function wp_register_script( $handle, $src, $deps = array(), $ver = false ) { 202 global $wp_scripts; 203 if ( !is_a($wp_scripts, 'WP_Scripts') ) 204 $wp_scripts = new WP_Scripts(); 205 206 $wp_scripts->add( $handle, $src, $deps, $ver ); 207 } 208 209 function wp_deregister_script( $handle ) { 210 global $wp_scripts; 211 if ( !is_a($wp_scripts, 'WP_Scripts') ) 212 $wp_scripts = new WP_Scripts(); 213 214 $wp_scripts->remove( $handle ); 215 } 216 217 /** 218 * Equeues script 219 * 220 * Registers the script if src provided (does NOT overwrite) and enqueues. 221 * 222 * @see WP_Script::add(), WP_Script::enqueue() 223 */ 224 function wp_enqueue_script( $handle, $src = false, $deps = array(), $ver = false ) { 225 global $wp_scripts; 226 if ( !is_a($wp_scripts, 'WP_Scripts') ) 227 $wp_scripts = new WP_Scripts(); 228 229 if ( $src ) { 230 $_handle = explode('?', $handle); 231 $wp_scripts->add( $_handle[0], $src, $deps, $ver ); 232 } 233 $wp_scripts->enqueue( $handle ); 234 } 235 ?> -
wp-settings.php
143 143 require (ABSPATH . WPINC . '/cron.php'); 144 144 require (ABSPATH . WPINC . '/version.php'); 145 145 require (ABSPATH . WPINC . '/deprecated.php'); 146 require (ABSPATH . WPINC . '/script-loader.php'); 146 147 147 148 if (!strstr($_SERVER['PHP_SELF'], 'install.php')) : 148 149 // Used to guarantee unique hash cookies … … 226 227 // Everything is loaded and initialized. 227 228 do_action('init'); 228 229 229 ?> 230 No newline at end of file 230 ?> -
wp-admin/users.php
143 143 } 144 144 145 145 default: 146 wp_enqueue_script( 'admin-users' ); 146 147 147 $list_js = true;148 $users_js = true;149 150 148 include ('admin-header.php'); 151 149 152 150 $userids = $wpdb->get_col("SELECT ID FROM $wpdb->users;"); -
wp-admin/edit-comments.php
3 3 4 4 $title = __('Edit Comments'); 5 5 $parent_file = 'edit.php'; 6 $list_js = true;6 wp_enqueue_script( 'admin-comments' ); 7 7 8 8 require_once('admin-header.php'); 9 9 if (empty($_GET['mode'])) $mode = 'view'; -
wp-admin/admin.php
40 40 } 41 41 } 42 42 43 $xfn_js = $sack_js = $list_js = $cat_js = $users_js = $dbx_js = $pmeta_js = $editing = false;43 wp_enqueue_script( 'fat' ); 44 44 45 $editing = false; 46 45 47 require(ABSPATH . '/wp-admin/menu.php'); 46 48 47 49 // Handle plugin admin pages. -
wp-admin/admin-functions.php
1173 1173 1174 1174 function the_quicktags() { 1175 1175 // Browser detection sucks, but until Safari supports the JS needed for this to work people just assume it's a bug in WP 1176 if (!strstr($_SERVER['HTTP_USER_AGENT'], 'Safari')) 1176 if (!strstr($_SERVER['HTTP_USER_AGENT'], 'Safari')) { 1177 1177 echo ' 1178 1178 <div id="quicktags"> 1179 <script src="../wp-includes/js/quicktags.js" type="text/javascript"></script> 1180 <script type="text/javascript">if ( typeof tinyMCE == "undefined" || tinyMCE.configs.length < 1 ) edToolbar();</script> 1179 '; 1180 wp_print_scripts( 'quicktags' ); 1181 echo ' <script type="text/javascript">if ( typeof tinyMCE == "undefined" || tinyMCE.configs.length < 1 ) edToolbar();</script> 1181 1182 </div> 1182 1183 '; 1183 else echo '1184 } else echo ' 1184 1185 <script type="text/javascript"> 1185 1186 function edInsertContent(myField, myValue) { 1186 1187 //IE support -
wp-admin/moderation.php
3 3 4 4 $title = __('Moderate comments'); 5 5 $parent_file = 'edit.php'; 6 $list_js = true;6 wp_enqueue_script( 'listman' ); 7 7 8 8 $wpvarstoreset = array('action', 'item_ignored', 'item_deleted', 'item_approved', 'item_spam', 'feelinglucky'); 9 9 for ($i=0; $i<count($wpvarstoreset); $i += 1) { … … 229 229 230 230 include('admin-footer.php'); 231 231 232 ?> 233 No newline at end of file 232 ?> -
wp-admin/admin-header.php
2 2 @header('Content-type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset')); 3 3 if (!isset($_GET["page"])) require_once('admin.php'); 4 4 if ( $editing ) { 5 $dbx_js = true; 6 $pmeta_js = true; 7 $list_js = true; 8 if ( current_user_can('manage_categories') ) { 9 $cat_js = true; 10 } 5 wp_enqueue_script( array("dbx-admin-key?pagenow=$pagenow",'admin-custom-fields') ); 6 if ( current_user_can('manage_categories') ) 7 wp_enqueue_script( 'ajaxcat' ); 8 if ( user_can_richedit() ) 9 wp_enqueue_script( 'wp_tiny_mce' ); 11 10 } 12 if ( $list_js ) 13 $sack_js = true;11 12 get_admin_page_title(); 14 13 ?> 15 <?php get_admin_page_title(); ?>16 14 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 17 15 <html xmlns="http://www.w3.org/1999/xhtml"> 18 16 <head> … … 24 22 function addLoadEvent(func) {if ( typeof wpOnload!='function'){wpOnload=func;}else{ var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}} 25 23 //]]> 26 24 </script> 27 <script type="text/javascript" src="../wp-includes/js/fat.js"></script>28 <?php if ( $xfn_js ) { ?>29 <script type="text/javascript" src="xfn.js"></script>30 <?php } ?>31 <?php if ( $sack_js ) { ?>32 <script type="text/javascript" src="../wp-includes/js/tw-sack.js"></script>33 <?php } ?>34 <?php if ( $list_js ) { ?>35 <script type="text/javascript" src="list-manipulation-js.php"></script>36 <?php } ?>37 <?php if ( $pmeta_js ) { ?>38 <script type="text/javascript" src="custom-fields.js"></script>39 <?php } ?>40 <?php if ( 'categories.php' == $pagenow && 'edit' != $action ) { ?>41 <script type="text/javascript" src="categories.js"></script>42 <?php } ?>43 <?php if ( $users_js ) { ?>44 <script type="text/javascript" src="users.js"></script>45 <?php } ?>46 <?php if ( 'edit-comments.php' == $pagenow || ( 'edit.php' == $pagenow && 1 == $_GET['c'] ) ) { ?>47 <script type="text/javascript" src="edit-comments.js"></script>48 <?php } ?>49 <?php if ( $dbx_js ) { ?>50 <script type="text/javascript" src="../wp-includes/js/dbx.js"></script>51 <script type="text/javascript">52 //<![CDATA[53 addLoadEvent( function() {54 <?php switch ( $pagenow ) : case 'post.php' : case 'post-new.php' : ?>55 var manager = new dbxManager('postmeta');56 <?php break; case 'page.php' : case 'page-new.php' : ?>57 var manager = new dbxManager('pagemeta');58 <?php break; case 'link.php' : case 'link-add.php' : ?>59 var manager = new dbxManager('linkmeta');60 <?php break; endswitch; ?>61 });62 //]]>63 </script>64 <script type="text/javascript" src="../wp-includes/js/dbx-key.js"></script>65 <?php } ?>66 <?php if ( $editing && user_can_richedit() ) { tinymce_include(); } ?>67 <?php if ( $cat_js ) { ?>68 <script type="text/javascript" src="cat-js.php"></script>69 <?php } ?>70 25 <?php if ( ($parent_file != 'link-manager.php') && ($parent_file != 'options-general.php') ) : ?> 71 26 <style type="text/css">* html { overflow-x: hidden; }</style> 72 <?php endif; ?> 73 <?php do_action('admin_head'); ?> 27 <?php endif; wp_print_scripts(); do_action('admin_head'); ?> 74 28 </head> 75 29 <body> 76 30 <div id="wphead"> -
wp-admin/link-add.php
25 25 } 26 26 } 27 27 28 $xfn_js = true;28 wp_enqueue_script( 'xfn' ); 29 29 $editing = true; 30 30 require('admin-header.php'); 31 31 ?> -
wp-admin/edit.php
3 3 4 4 $title = __('Posts'); 5 5 $parent_file = 'edit.php'; 6 $list_js = true;6 wp_enqueue_script( 1 == $_GET['c'] ? 'admin-comments' : 'listman' ); 7 7 require_once('admin-header.php'); 8 8 9 9 $_GET['m'] = (int) $_GET['m']; -
wp-admin/link.php
102 102 break; 103 103 104 104 case 'edit' : 105 $xfn_js = true;105 wp_enqueue_script( 'xfn' ); 106 106 $editing = true; 107 107 $parent_file = 'link-manager.php'; 108 108 $submenu_file = 'link-manager.php'; … … 124 124 } 125 125 126 126 include ('admin-footer.php'); 127 ?> 128 No newline at end of file 127 ?> -
wp-admin/dbx-admin-key-js.php
1 <?php 2 require_once('admin.php'); 3 header('Content-type: text/javascript; charset=' . get_settings('blog_charset'), true); 4 5 switch ( $_GET['pagenow'] ) : 6 case 'post.php' : 7 case 'post-new.php' : 8 $man = 'postmeta'; 9 break; 10 case 'page.php' : 11 case 'page-new.php' : 12 $man = 'pagemeta'; 13 break; 14 case 'link-add.php' : 15 $man = 'linkmeta'; 16 break; 17 endswitch; 18 ?> 19 addLoadEvent( function() {var manager = new dbxManager('<?php echo $man; ?>');} ); 20 21 addLoadEvent( function() 22 { 23 //create new docking boxes group 24 var meta = new dbxGroup( 25 'grabit', // container ID [/-_a-zA-Z0-9/] 26 'vertical', // orientation ['vertical'|'horizontal'] 27 '10', // drag threshold ['n' pixels] 28 'no', // restrict drag movement to container axis ['yes'|'no'] 29 '10', // animate re-ordering [frames per transition, or '0' for no effect] 30 'yes', // include open/close toggle buttons ['yes'|'no'] 31 'closed', // default state ['open'|'closed'] 32 'open', // word for "open", as in "open this box" 33 'close', // word for "close", as in "close this box" 34 'click-down and drag to move this box', // sentence for "move this box" by mouse 35 'click to %toggle% this box', // pattern-match sentence for "(open|close) this box" by mouse 36 'use the arrow keys to move this box', // sentence for "move this box" by keyboard 37 ', or press the enter key to %toggle% it', // pattern-match sentence-fragment for "(open|close) this box" by keyboard 38 '%mytitle% [%dbxtitle%]' // pattern-match syntax for title-attribute conflicts 39 ); 40 41 // Boxes are closed by default. Open the Category box if the cookie isn't already set. 42 var catdiv = document.getElementById('categorydiv'); 43 if ( catdiv ) { 44 var button = catdiv.getElementsByTagName('A')[0]; 45 if ( dbx.cookiestate == null && /dbx\-toggle\-closed/.test(button.className) ) 46 meta.toggleBoxState(button, true); 47 } 48 49 var advanced = new dbxGroup( 50 'advancedstuff', // container ID [/-_a-zA-Z0-9/] 51 'vertical', // orientation ['vertical'|'horizontal'] 52 '10', // drag threshold ['n' pixels] 53 'yes', // restrict drag movement to container axis ['yes'|'no'] 54 '10', // animate re-ordering [frames per transition, or '0' for no effect] 55 'yes', // include open/close toggle buttons ['yes'|'no'] 56 'closed', // default state ['open'|'closed'] 57 'open', // word for "open", as in "open this box" 58 'close', // word for "close", as in "close this box" 59 'click-down and drag to move this box', // sentence for "move this box" by mouse 60 'click to %toggle% this box', // pattern-match sentence for "(open|close) this box" by mouse 61 'use the arrow keys to move this box', // sentence for "move this box" by keyboard 62 ', or press the enter key to %toggle% it', // pattern-match sentence-fragment for "(open|close) this box" by keyboard 63 '%mytitle% [%dbxtitle%]' // pattern-match syntax for title-attribute conflicts 64 ); 65 }); -
wp-admin/link-manager.php
8 8 9 9 $title = __('Manage Bookmarks'); 10 10 $this_file = $parent_file = 'link-manager.php'; 11 $list_js = true;11 wp_enqueue_script( 'listman' ); 12 12 13 13 $wpvarstoreset = array ('action', 'cat_id', 'linkurl', 'name', 'image', 'description', 'visible', 'target', 'category', 'link_id', 'submit', 'order_by', 'links_show_cat_id', 'rating', 'rel', 'notes', 'linkcheck[]'); 14 14 -
wp-admin/edit-pages.php
2 2 require_once('admin.php'); 3 3 $title = __('Pages'); 4 4 $parent_file = 'edit.php'; 5 $list_js = true;5 wp_enqueue_script( 'listman' ); 6 6 require_once('admin-header.php'); 7 7 ?> 8 8 -
wp-admin/categories.php
79 79 80 80 default: 81 81 82 $list_js = true;82 wp_enqueue_script( 'admin-categories' ); 83 83 require_once ('admin-header.php'); 84 84 85 85 $messages[1] = __('Category added.'); … … 131 131 132 132 include('admin-footer.php'); 133 133 134 ?> 135 No newline at end of file 134 ?>
