Ticket #30569: 30569.diff
File 30569.diff, 7.6 KB (added by , 10 years ago) |
---|
-
src/wp-admin/css/nav-menus.css
527 527 margin-top: 13px; 528 528 } 529 529 530 /* WARNING: The factor of 30px is hardcoded into the nav-menus javascript. */530 /* WARNING: The factor of 30px is hardcoded into the nav-menus JavaScript. */ 531 531 .menu-item-depth-0 { margin-left: 0px; } 532 532 .menu-item-depth-1 { margin-left: 30px; } 533 533 .menu-item-depth-2 { margin-left: 60px; } -
src/wp-admin/custom-header.php
362 362 } 363 363 364 364 /** 365 * Execute Java script depending on step.365 * Execute JavaScript depending on step. 366 366 * 367 367 * @since 2.1.0 368 368 */ … … 375 375 } 376 376 377 377 /** 378 * Display Java script based on Step 1 and 3.378 * Display JavaScript based on Step 1 and 3. 379 379 * 380 380 * @since 2.6.0 381 381 */ … … 439 439 } 440 440 441 441 /** 442 * Display Java script based on Step 2.442 * Display JavaScript based on Step 2. 443 443 * 444 444 * @since 2.6.0 445 445 */ -
src/wp-admin/customize.php
232 232 'customize-login' => 1 233 233 ), wp_login_url() ); 234 234 235 // Prepare Customizer settings to pass to Java script.235 // Prepare Customizer settings to pass to JavaScript. 236 236 $settings = array( 237 237 'theme' => array( 238 238 'stylesheet' => $wp_customize->get_stylesheet(), … … 265 265 'documentTitleTmpl' => $document_title_tmpl, 266 266 ); 267 267 268 // Prepare Customize Setting objects to pass to Java script.268 // Prepare Customize Setting objects to pass to JavaScript. 269 269 foreach ( $wp_customize->settings() as $id => $setting ) { 270 270 $settings['settings'][ $id ] = array( 271 271 'value' => $setting->js_value(), -
src/wp-admin/includes/deprecated.php
208 208 } 209 209 210 210 /** 211 * Adds Java script required to make CodePress work on the theme/plugin editors.211 * Adds JavaScript required to make CodePress work on the theme/plugin editors. 212 212 * 213 213 * @since 2.8.0 214 214 * @deprecated 3.0.0 -
src/wp-admin/includes/revision.php
282 282 } 283 283 284 284 /** 285 * Print Java script templates required for the revisions experience.285 * Print JavaScript templates required for the revisions experience. 286 286 * 287 287 * @since 4.1.0 288 288 * -
src/wp-admin/includes/template.php
1608 1608 function iframe_footer() { 1609 1609 /* 1610 1610 * We're going to hide any footer output on iFrame pages, 1611 * but run the hooks anyway since they output Java script1611 * but run the hooks anyway since they output JavaScript 1612 1612 * or other needed content. 1613 1613 */ 1614 1614 ?> … … 1949 1949 } 1950 1950 1951 1951 /** 1952 * Print the pointer javascript data.1952 * Print the pointer JavaScript data. 1953 1953 * 1954 1954 * @since 3.3.0 1955 1955 * -
src/wp-includes/class-wp-customize-manager.php
419 419 } 420 420 421 421 /** 422 * Print javascript settings.422 * Print JavaScript settings. 423 423 * 424 424 * @since 3.4.0 425 425 */ … … 492 492 } 493 493 494 494 /** 495 * Print javascript settings for preview frame.495 * Print JavaScript settings for preview frame. 496 496 * 497 497 * @since 3.4.0 498 498 */ -
src/wp-includes/class-wp-customize-widgets.php
1041 1041 */ 1042 1042 public function export_preview_data() { 1043 1043 1044 // Prepare Customizer settings to pass to Java script.1044 // Prepare Customizer settings to pass to JavaScript. 1045 1045 $settings = array( 1046 1046 'renderedSidebars' => array_fill_keys( array_unique( $this->rendered_sidebars ), true ), 1047 1047 'renderedWidgets' => array_fill_keys( array_keys( $this->rendered_widgets ), true ), -
src/wp-includes/class-wp-editor.php
759 759 * Can be used directly (_WP_Editors::wp_mce_translation()) by passing the same locale as set in the TinyMCE init object. 760 760 * 761 761 * @param string $mce_locale The locale used for the editor. 762 * @param bool $json_only optional Whether to include the Java script calls to tinymce.addI18n() and tinymce.ScriptLoader.markDone().762 * @param bool $json_only optional Whether to include the JavaScript calls to tinymce.addI18n() and tinymce.ScriptLoader.markDone(). 763 763 * @return string Translation object, JSON encoded. 764 764 */ 765 765 public static function wp_mce_translation( $mce_locale = '', $json_only = false ) { -
src/wp-includes/comment-template.php
1610 1610 /** 1611 1611 * Display text based on comment reply status. 1612 1612 * 1613 * Only affects users with Java script disabled.1613 * Only affects users with JavaScript disabled. 1614 1614 * 1615 1615 * @since 2.7.0 1616 1616 * -
src/wp-includes/deprecated.php
2501 2501 } 2502 2502 2503 2503 /** 2504 * Fixes javascript bugs in browsers.2504 * Fixes JavaScript bugs in browsers. 2505 2505 * 2506 2506 * Converts unicode characters to HTML numbered entities. 2507 2507 * … … 2515 2515 */ 2516 2516 function funky_javascript_fix($text) { 2517 2517 _deprecated_function( __FUNCTION__, '3.0' ); 2518 // Fixes for browsers' javascript bugs2518 // Fixes for browsers' JavaScript bugs. 2519 2519 global $is_macIE, $is_winIE; 2520 2520 2521 2521 if ( $is_winIE || $is_macIE ) -
src/wp-includes/js/shortcode.js
1 // Utility functions for parsing and handling shortcodes in Java script.1 // Utility functions for parsing and handling shortcodes in JavaScript. 2 2 3 3 // Ensure the global `wp` object exists. 4 4 window.wp = window.wp || {}; -
src/wp-includes/post-template.php
290 290 } 291 291 } 292 292 293 if ( $preview ) // preview fix for javascript bug with foreign languages293 if ( $preview ) // Preview fix for JavaScript bug with foreign languages. 294 294 $output = preg_replace_callback( '/\%u([0-9A-F]{4})/', '_convert_urlencoded_to_entities', $output ); 295 295 296 296 return $output; 297 297 } 298 298 299 299 /** 300 * Preview fix for javascript bug with foreign languages300 * Preview fix for JavaScript bug with foreign languages. 301 301 * 302 302 * @since 3.1.0 303 303 * @access private