Handle custom post types in inline edit js. Props jfarthing84. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13292 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f07d93ef40
commit
ec95afd3ca
@ -199,7 +199,7 @@ inlineEditPost = {
|
|||||||
|
|
||||||
params = {
|
params = {
|
||||||
action: 'inline-save',
|
action: 'inline-save',
|
||||||
post_type: this.type,
|
post_type: typenow,
|
||||||
post_ID: id,
|
post_ID: id,
|
||||||
edit_date: 'true',
|
edit_date: 'true',
|
||||||
post_status: page
|
post_status: page
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user