Ticket #5249: 5249.diff
| File 5249.diff, 3.9 KB (added by , 18 years ago) |
|---|
-
wp-includes/js/wp-lists.js
282 282 } 283 283 284 284 if ( 'none' != s.addColor ) { 285 var b = e.css( 'background-color' ); 286 if ( b == 'transparent' ) { b = ''; } 285 287 Fat.fade_element(e.attr('id'),null,700,s.addColor); 286 288 setTimeout( function() { 287 var b = e.css( 'background-color' );288 289 var g = e.css( 'background-color', '' ).css( 'background-color' ); 289 290 if ( b != g ) { e.css( 'background-color', b ); } 290 291 }, 705 ); -
wp-includes/script-loader.php
61 61 'delText' => __('Are you sure you want to delete this %thing%?') 62 62 ) ); 63 63 64 $this->add( 'wp-lists', '/wp-includes/js/wp-lists.js', array('jquery'), '2007 0823' );64 $this->add( 'wp-lists', '/wp-includes/js/wp-lists.js', array('jquery'), '20071023' ); 65 65 $this->localize( 'wp-lists', 'wpListL10n', array( 66 66 'url' => get_option( 'siteurl' ) . '/wp-admin/admin-ajax.php' 67 67 ) ); … … 118 118 $this->add( 'admin-categories', '/wp-admin/js/categories.js', array('wp-lists'), '20070823' ); 119 119 $this->add( 'admin-custom-fields', '/wp-admin/js/custom-fields.js', array('wp-lists'), '20070823' ); 120 120 $this->add( 'admin-comments', '/wp-admin/js/edit-comments.js', array('wp-lists'), '20070822' ); 121 $this->add( 'admin-posts', '/wp-admin/js/edit-posts.js', array('wp-lists'), '2007 0823' );121 $this->add( 'admin-posts', '/wp-admin/js/edit-posts.js', array('wp-lists'), '20071023' ); 122 122 $this->add( 'admin-users', '/wp-admin/js/users.js', array('wp-lists'), '20070823' ); 123 123 $this->add( 'xfn', '/wp-admin/js/xfn.js', false, '3517' ); 124 124 $this->add( 'upload', '/wp-admin/js/upload.js', array('jquery'), '20070518' ); -
wp-admin/admin-ajax.php
16 16 check_ajax_referer( 'add-post' ); 17 17 add_filter( 'post_limits', $limit_filter = create_function( '$a', '$b = split(" ",$a); if ( !isset($b[2]) ) return $a; $start = intval(trim($b[1])) / 20 * 15; if ( !is_int($start) ) return $a; $start += intval(trim($b[2])) - 1; return "LIMIT $start, 1";' ) ); 18 18 wp_edit_posts_query( '_POST' ); 19 if ( !have_posts() ) 20 die('1'); 19 21 $posts_columns = wp_manage_posts_columns(); 20 22 ob_start(); 21 23 include( 'edit-post-rows.php' ); -
wp-admin/js/edit-posts.js
6 6 else 7 7 delAfter = function() { 8 8 list[0].wpList.add( extra.children(':eq(0)').remove().clone() ); 9 $('#get-extra- button').click();9 $('#get-extra-posts').submit(); 10 10 } 11 11 12 12 var addBefore = function ( settings ) { -
wp-admin/edit.php
108 108 <?php wp_dropdown_categories('show_option_all='.__('All').'&hide_empty=1&hierarchical=1&show_count=1&selected='.$cat);?> 109 109 </fieldset> 110 110 <input type="submit" id="post-query-submit" value="<?php _e('Filter »'); ?>" class="button" /> 111 <?php wp_nonce_field( 'add-post', '_ajax_nonce', false ); ?>112 <input type="button" id="get-extra-button" class="add:the-extra-list:searchform" style="display:none" />113 111 </form> 114 112 115 113 <?php do_action('restrict_manage_posts'); ?> … … 118 116 119 117 <?php include( 'edit-post-rows.php' ); ?> 120 118 119 <form action="" method="post" id="get-extra-posts" class="add:the-extra-list:" style="display:none"> 120 <?php wp_nonce_field( 'add-post', '_ajax_nonce', false ); ?> 121 </form> 122 121 123 <div id="ajax-response"></div> 122 124 123 125 <div class="navigation">