Changes between Version 9 and Version 10 of Ticket #52626, comment 4
- Timestamp:
- 07/17/2024 06:49:38 AM (3 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #52626, comment 4
v9 v10 1 WORKAROUND (VERY UGLY/HACKY) (UPDATED: 202 3-11-08 for wp 6.4)1 WORKAROUND (VERY UGLY/HACKY) (UPDATED: 2024-07-17 for wp 6.6) (I cant believe I'm still patching this three years after finding the bug) 2 2 3 3 WARNING: You need to do this after every time you upgrade wordpress. … … 5 5 1. Copy the contents of wp-includes/js/dist/editor.js to wp-includes/js/dist/editor.min.js (because the minified version is annoying to edit) 6 6 7 2. Edit wp-includes/js/dist/editor.min.js line 6401, Change per_page: 100 to per_page: 10000 (or whatever you need for your site)7 2. Edit wp-includes/js/dist/editor.min.js line 9917, Change per_page: 100 to per_page: 10000 (or whatever you need for your site) 8 8 9 9 3. Edit wp-includes/rest-api/endpoints/class-wp-rest-controller.php line 357, change 'maximum' => 100 to 'maximum' => 10000 (or whatever you set in step 2)