#2605 closed defect (bug) (fixed)
post_modified gets bumped when plugin status is updated from within wp-admin
Reported by: | dd32 | Owned by: | |
---|---|---|---|
Milestone: | Plugin Directory v3.0 | Priority: | high |
Component: | Plugin Directory | Keywords: | |
Cc: |
Description
The post_modified / last_updated property of plugins gets bumped when you modify a plugin from within wp-admin - for example, closing the plugin.
Change History (8)
#2
@
7 years ago
Closing and reopening a plugin, or adjusting some details to it like committers, doesn't update the plugin itself. That should be controlled by the behavior of the SVN commits, not administrative tasks.
#3
@
7 years ago
HOWEVER approving a plugin should change the update date :D Or at least it should change the publish date to 'now' instead of the date it was submitted so https://wordpress.org/plugins/browse/new/ shows the right data.
#4
@
7 years ago
HOWEVER approving a plugin should change the update date :D Or at least it should change the publish date to 'now' instead of the date it was submitted so https://wordpress.org/plugins/browse/new/ shows the right data.
That actually raises a different bug than the one seen here :)
/browse/new/
is ordered by post_date
which will always be the submit date at present, not post_modified
which this ticket is specifically about.
My assumption here is that we need to store the submitted date as meta, for future use, and store the approval date as post_date
instead.
That seems like a correct consequence.