From 6a273462e859ab18be881a10774fad7eb80f7053 Mon Sep 17 00:00:00 2001 From: Helen Hou-Sandi Date: Wed, 18 Mar 2015 21:49:26 +0000 Subject: [PATCH] List tables: Go back to inserting quick edit rows after, as some plugins rely on that assumption. Results are the same. fixes #26060. git-svn-id: https://develop.svn.wordpress.org/trunk@31820 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/js/inline-edit-post.js | 2 +- src/wp-admin/js/inline-edit-tax.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/js/inline-edit-post.js b/src/wp-admin/js/inline-edit-post.js index 40ee595b97..1249904b36 100644 --- a/src/wp-admin/js/inline-edit-post.js +++ b/src/wp-admin/js/inline-edit-post.js @@ -133,7 +133,7 @@ inlineEditPost = { editRow = $('#inline-edit').clone(true); $('td', editRow).attr('colspan', $('.widefat:first thead th:visible').length); - $(t.what+id).hide().before(editRow).before(''); + $(t.what+id).hide().after(editRow).after(''); // populate the data rowData = $('#inline_'+id); diff --git a/src/wp-admin/js/inline-edit-tax.js b/src/wp-admin/js/inline-edit-tax.js index 6a9ce5d06b..a996f24987 100644 --- a/src/wp-admin/js/inline-edit-tax.js +++ b/src/wp-admin/js/inline-edit-tax.js @@ -56,7 +56,7 @@ inlineEditTax = { editRow = $('#inline-edit').clone(true), rowData = $('#inline_'+id); $('td', editRow).attr('colspan', $('.widefat:first thead th:visible').length); - $(t.what+id).hide().before(editRow).before(''); + $(t.what+id).hide().after(editRow).after(''); val = $('.name', rowData); val.find( 'img' ).replaceWith( function() { return this.alt; } );