[wp-trac] [WordPress Trac] #53773: /wp-admin/includes/ajax-actions.php file line 3006 is creating divide by zero error
WordPress Trac
noreply at wordpress.org
Sun Jul 25 08:06:55 UTC 2021
#53773: /wp-admin/includes/ajax-actions.php file line 3006 is creating divide by
zero error
--------------------------------------+---------------------
Reporter: 2linctools | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.8.1
Component: Media | Version: 5.8
Severity: normal | Resolution:
Keywords: good-first-bug has-patch | Focuses:
--------------------------------------+---------------------
Comment (by audrasjb):
I tested the proposed patch with changing the `posts_per_page` value using
`ajax_query_attachments_args` filter and it looks like it solves the
issue.
Marking for `commit`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53773#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list