Changeset 31220
- Timestamp:
- 01/16/2015 10:50:20 PM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-importer.php
r31125 r31220 210 210 public function is_user_over_quota() { 211 211 if ( function_exists( 'upload_is_user_over_quota' ) ) { 212 if ( upload_is_user_over_quota( 1) ) {212 if ( upload_is_user_over_quota() ) { 213 213 echo "Sorry, you have used your upload quota.\n"; 214 214 return true; -
trunk/src/wp-admin/includes/class-wp-list-table.php
r31211 r31220 338 338 <label class="screen-reader-text" for="<?php echo $input_id ?>"><?php echo $text; ?>:</label> 339 339 <input type="search" id="<?php echo $input_id ?>" name="s" value="<?php _admin_search_query(); ?>" /> 340 <?php submit_button( $text, 'button', false, false, array('id' => 'search-submit') ); ?>340 <?php submit_button( $text, 'button', '', false, array('id' => 'search-submit') ); ?> 341 341 </p> 342 342 <?php … … 446 446 echo "</select>\n"; 447 447 448 submit_button( __( 'Apply' ), 'action', false, false, array( 'id' => "doaction$two" ) );448 submit_button( __( 'Apply' ), 'action', '', false, array( 'id' => "doaction$two" ) ); 449 449 echo "\n"; 450 450 } -
trunk/src/wp-admin/includes/class-wp-media-list-table.php
r31181 r31220 316 316 } else { 317 317 ?> 318 <a href="<?php echo get_edit_post_link( $post->ID , true); ?>" title="<?php echo esc_attr( sprintf( __( 'Edit “%s”' ), $att_title ) ); ?>">318 <a href="<?php echo get_edit_post_link( $post->ID ); ?>" title="<?php echo esc_attr( sprintf( __( 'Edit “%s”' ), $att_title ) ); ?>"> 319 319 <?php echo $thumb; ?> 320 320 </a> … … 333 333 echo $att_title; 334 334 } else { ?> 335 <a href="<?php echo get_edit_post_link( $post->ID , true); ?>"335 <a href="<?php echo get_edit_post_link( $post->ID ); ?>" 336 336 title="<?php echo esc_attr( sprintf( __( 'Edit “%s”' ), $att_title ) ); ?>"> 337 337 <?php echo $att_title; ?></a> … … 502 502 if ( $this->detached ) { 503 503 if ( current_user_can( 'edit_post', $post->ID ) ) 504 $actions['edit'] = '<a href="' . get_edit_post_link( $post->ID , true) . '">' . __( 'Edit' ) . '</a>';504 $actions['edit'] = '<a href="' . get_edit_post_link( $post->ID ) . '">' . __( 'Edit' ) . '</a>'; 505 505 if ( current_user_can( 'delete_post', $post->ID ) ) 506 506 if ( EMPTY_TRASH_DAYS && MEDIA_TRASH ) { … … 516 516 else { 517 517 if ( current_user_can( 'edit_post', $post->ID ) && !$this->is_trash ) 518 $actions['edit'] = '<a href="' . get_edit_post_link( $post->ID , true) . '">' . __( 'Edit' ) . '</a>';518 $actions['edit'] = '<a href="' . get_edit_post_link( $post->ID ) . '">' . __( 'Edit' ) . '</a>'; 519 519 if ( current_user_can( 'delete_post', $post->ID ) ) { 520 520 if ( $this->is_trash ) -
trunk/src/wp-admin/includes/class-wp-posts-list-table.php
r31200 r31220 696 696 $actions = array(); 697 697 if ( $can_edit_post && 'trash' != $post->post_status ) { 698 $actions['edit'] = '<a href="' . get_edit_post_link( $post->ID , true) . '" title="' . esc_attr__( 'Edit this item' ) . '">' . __( 'Edit' ) . '</a>';698 $actions['edit'] = '<a href="' . get_edit_post_link( $post->ID ) . '" title="' . esc_attr__( 'Edit this item' ) . '">' . __( 'Edit' ) . '</a>'; 699 699 $actions['inline hide-if-no-js'] = '<a href="#" class="editinline" title="' . esc_attr__( 'Edit this item inline' ) . '">' . __( 'Quick Edit' ) . '</a>'; 700 700 } -
trunk/src/wp-includes/session.php
r30333 r31220 435 435 */ 436 436 public static function drop_sessions() { 437 delete_metadata( 'user', false, 'session_tokens', false, true );437 delete_metadata( 'user', 0, 'session_tokens', false, true ); 438 438 } 439 439 }
Note: See TracChangeset
for help on using the changeset viewer.