WordPress.org

Make WordPress Core

Opened 2 years ago

Last modified 2 years ago

#41494 new defect (bug)

Quick Edit update functionality is inconsistent.

Reported by: umangvaghela123 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Quick/Bulk Edit Keywords: needs-patch
Focuses: administration Cc:
PR Number:

Description

When we change the post status by quick edit then the status is not changed in all section.

screenshot 1 :

http://i.imgur.com/F813yzf.png

screenshot:2

http://i.imgur.com/Zhp9VCS.png

screenshot:3
http://i.imgur.com/L9yvjDx.png

Change History (5)

#1 @SergeyBiryukov
2 years ago

  • Component changed from General to Quick/Bulk Edit

#2 @subrataemfluence
2 years ago

  • Focuses administration added
  • Keywords needs-patch added

I could reproduce the bug.

AJAX is not updating the count panel even post status gets changed. Reloading the page however shows correct counts under each status.

#3 @subrataemfluence
2 years ago

It should be fine if the DOM is updated for counts at client side only once a post / page status is updated via Quick Edit.

I don't feel we need to run a query to update counts for Quick Edit. Because next time the page will load, it will bring up the real counts from the database.

Client side DOM update is working OK for me, though a few tweaking are still required. And when I reload page the counts come up right. Hoping to upload the patch soon.

#4 follow-up: @umangvaghela123
2 years ago

@subrataemfluence

we know WordPress counting functionality is working fine with a refresh but it is fine If we do some stuff

and make proper with ajax.

#5 in reply to: ↑ 4 @subrataemfluence
2 years ago

That's what I am trying to accomplish.

Replying to umangvaghela123:

@subrataemfluence

we know WordPress counting functionality is working fine with a refresh but it is fine If we do some stuff

and make proper with ajax.

Note: See TracTickets for help on using tickets.