[WordPress] 外掛分享: Count Pagination Fix for MySQL

首頁 › 外掛目錄 › Count Pagination Fix for MySQL
WordPress 外掛 Count Pagination Fix for MySQL 的封面圖片
10+
安裝啟用
—
尚無評分
25 天前
最後更新
—
問題解決
WordPress 6.0+ PHP 7.0+ v1.1.6 上架:2024-02-12

內容簡介

Count Pagination Fix for MySQL 外掛旨在解決 WordPress 在 MySQL 8.0.17 及以上版本中因 FOUND_ROWS 和 SQL_CALC_FOUND_ROWS 函數被棄用而導致的分頁問題。此外掛確保前端和後端的分頁功能正常運作。

【主要功能】
• 修復 MySQL 分頁問題
• 確保正確計算找到的文章數量
• 支援 MySQL 8.0.17 及以上版本

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.1.6) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Count Pagination Fix for MySQL」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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.

延伸相關外掛

文章
Filter
Mastodon