Skip to content

Optimize query to use offset instead of paged#13

Open
spencerm wants to merge 1 commit intoInfinitumForm:masterfrom
spencerm:patch-1
Open

Optimize query to use offset instead of paged#13
spencerm wants to merge 1 commit intoInfinitumForm:masterfrom
spencerm:patch-1

Conversation

@spencerm
Copy link
Copy Markdown

@spencerm spencerm commented Mar 5, 2026

Description

I'm working on a large multisite and getting this error:

[Wed Mar 04 23:53:46.919914 2026] [php:error] [pid 63:tid 63] [client 10.0.169.34:59048] PHP Fatal error:  Maximum execution time of 60 seconds exceeded in /var/www/html/wp-content/plugins/serbian-transliteration/serbian-transliteration.php on line 217, referer: /wp-admin/network/plugins.php

Updating to use an offset instead of pages fixes.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist

Before submitting this pull request, please make sure:

  • You have followed the WordPress coding standards.
  • Your code has been tested and all tests pass.
  • You have updated the documentation (if necessary).
  • You have read the CONTRIBUTING.md document.
  • The code changes are only for the intended purpose and do not include unrelated updates or changes.

Testing Instructions

If it didn't work, the initialization would fail! :)


By submitting this pull request, I confirm that my contribution is made under the terms of the GPL-2.0+ license.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant