Ticket #38677: 38677.patch
| File 38677.patch, 1.1 KB (added by , 9 years ago) |
|---|
-
wp-admin/includes/class-wp-posts-list-table.php
1230 1230 __( 'Edit' ) 1231 1231 ); 1232 1232 $actions['inline hide-if-no-js'] = sprintf( 1233 '< a href="#" class="editinline" aria-label="%s">%s</a>',1233 '<button class="button-link editinline" aria-label="%s" type="button">%s</button>', 1234 1234 /* translators: %s: post title */ 1235 1235 esc_attr( sprintf( __( 'Quick edit “%s” inline' ), $title ) ), 1236 1236 __( 'Quick Edit' ) -
wp-admin/js/inline-edit-post.js
49 49 }); 50 50 51 51 // add events 52 $('#the-list').on( 'click', ' a.editinline', function( e ) {52 $('#the-list').on( 'click', '.editinline', function( e ) { 53 53 e.preventDefault(); 54 54 inlineEditPost.edit(this); 55 55 });