[wp-trac] [WordPress Trac] #57320: Revisions: add filter before deleting revisions
WordPress Trac
noreply at wordpress.org
Tue Feb 7 18:15:23 UTC 2023
#57320: Revisions: add filter before deleting revisions
-------------------------------------------------+-------------------------
Reporter: jhned | Owner: audrasjb
Type: enhancement | Status: reopened
Priority: normal | Milestone: 6.2
Component: Revisions | Version:
Severity: trivial | Resolution:
Keywords: has-patch has-unit-tests commit | Focuses:
needs-dev-note | administration
-------------------------------------------------+-------------------------
Comment (by johnbillion):
In fact if `$filtered_revisions` is not an array then a PHP warning will
be triggered further down on lines 232, 238, etc when it's treated as an
array.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57320#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list