[wp-trac] [WordPress Trac] #20982: Restoring post revisions does not update _edit_last
WordPress Trac
noreply at wordpress.org
Sun May 5 03:34:04 UTC 2013
#20982: Restoring post revisions does not update _edit_last
-----------------------------+--------------------
Reporter: redpixelstudios | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.6
Component: Revisions | Version: 3.3.2
Severity: normal | Resolution:
Keywords: has-patch |
-----------------------------+--------------------
Comment (by adamsilverstein):
Replying to [comment:15 ocean90]:
> Replying to [comment:14 adamsilverstein]:
> > not sure ```! $post_id``` part needed since ```is_wp_error( $post_id
)``` will return false anyway if ``` ! $post_id ```, right?
>
> No, see [source:trunk/wp-includes/class-wp-error.php:19712#L206].
ah, i see.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20982#comment:16>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list