Changeset 20433
- Timestamp:
- 04/11/2012 02:20:51 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-form-advanced.php
r20272 r20433 12 12 13 13 wp_enqueue_script('post'); 14 15 if ( wp_is_mobile() ) 16 wp_enqueue_script( 'jquery-touch-punch' ); 14 17 15 18 if ( post_type_supports($post_type, 'editor') || post_type_supports($post_type, 'thumbnail') ) { -
trunk/wp-admin/index.php
r20279 r20433 19 19 wp_enqueue_script( 'media-upload' ); 20 20 add_thickbox(); 21 22 if ( wp_is_mobile() ) 23 wp_enqueue_script( 'jquery-touch-punch' ); 21 24 22 25 $title = __('Dashboard'); -
trunk/wp-admin/link-add.php
r19712 r20433 24 24 wp_enqueue_script('xfn'); 25 25 26 if ( wp_is_mobile() ) 27 wp_enqueue_script( 'jquery-touch-punch' ); 28 26 29 $link = get_default_link_to_edit(); 27 30 include('./edit-link-form.php'); -
trunk/wp-admin/link.php
r19712 r20433 100 100 wp_enqueue_script('xfn'); 101 101 102 if ( wp_is_mobile() ) 103 wp_enqueue_script( 'jquery-touch-punch' ); 104 102 105 $parent_file = 'link-manager.php'; 103 106 $submenu_file = 'link-manager.php'; -
trunk/wp-admin/nav-menus.php
r19684 r20433 35 35 wp_enqueue_script( 'wp-lists' ); 36 36 wp_enqueue_script( 'postbox' ); 37 38 if ( wp_is_mobile() ) 39 wp_enqueue_script( 'jquery-touch-punch' ); 37 40 38 41 // Container for any messages displayed to the user -
trunk/wp-admin/widgets.php
r19572 r20433 26 26 } 27 27 28 if ( 'on' == $widgets_access ) 28 if ( 'on' == $widgets_access ) { 29 29 add_filter( 'admin_body_class', 'wp_widgets_access_body_class' ); 30 else 30 } else { 31 31 wp_enqueue_script('admin-widgets'); 32 33 if ( wp_is_mobile() ) 34 wp_enqueue_script( 'jquery-touch-punch' ); 35 } 32 36 33 37 do_action( 'sidebar_admin_setup' ); -
trunk/wp-includes/script-loader.php
r20419 r20433 158 158 $scripts->add( 'jquery-form', "/wp-includes/js/jquery/jquery.form$suffix.js", array('jquery'), '2.73', 1 ); 159 159 160 // jQuery plugins 160 161 $scripts->add( 'jquery-color', "/wp-includes/js/jquery/jquery.color$suffix.js", array('jquery'), '2.0-4561m', 1 ); 161 162 $scripts->add( 'suggest', "/wp-includes/js/jquery/suggest$suffix.js", array('jquery'), '1.1-20110113', 1 ); … … 166 167 $scripts->add( 'jquery-table-hotkeys', "/wp-includes/js/jquery/jquery.table-hotkeys$suffix.js", array('jquery', 'jquery-hotkeys'), false, 1 ); 167 168 $scripts->add( 'jquery-postmessage', "/wp-includes/js/jquery/jquery.postmessage$suffix.js", array('jquery'), '0.5', 1 ); 169 $scripts->add( 'jquery-touch-punch', "/wp-includes/js/jquery/jquery.ui.touch-punch$suffix.js", array('jquery-ui-widget', 'jquery-ui-mouse'), '0.2.2', 1 ); 168 170 169 171 $scripts->add( 'thickbox', "/wp-includes/js/thickbox/thickbox.js", array('jquery'), '3.1-20111117', 1 );
Note: See TracChangeset
for help on using the changeset viewer.