跳到内容

Count Pagination Fix for MySQL

v1.1.6

leendertvb · 2024年2月13日 上架

Fix for pagination issues under MySQL v8.0 and later where SQL_CALC_FOUND_ROWS and FOUND_ROWS are no longer supported.

正在使用
10+
评分
暂无
累计下载
1,814
最近更新
2026年10月6日
需要 WordPress 6.0+已测试到 7.1.5PHP 7.0+

As per MySQL documentation the FOUND_ROWS function in conjunction with the SQL_CALC_FOUND_ROWS function are deprecated as of MySQL version 8.0.17. This causes the pagination in WordPress to be broken, both in the front-end as well as in the back-end, resulting in just showing page 1 only.

This plugin solves the issue WordPress is facing when run under newer versions of MySQL database. By hooking into the query that is used to calculate the number of found posts, we return the right amount of posts found so the pagination can be built up correctly again.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums