Merged in feature/314-dev-dev01 (pull request #24)
auto-patch 314-dev-dev01-2024-01-25T04_09_02 * auto-patch 314-dev-dev01-2024-01-25T04_09_02
This commit is contained in:
@@ -53,6 +53,8 @@ class Admin_Columns_Cache_Integration implements Integration_Interface {
|
||||
*
|
||||
* This cache is used in showing the Yoast SEO columns on the posts overview
|
||||
* page (e.g. keyword score, incoming link count, etc.)
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function register_hooks() {
|
||||
// Hook into tablenav to calculate links and linked.
|
||||
@@ -63,6 +65,8 @@ class Admin_Columns_Cache_Integration implements Integration_Interface {
|
||||
* Makes sure we calculate all values in one query by filling our cache beforehand.
|
||||
*
|
||||
* @param string $target Extra table navigation location which is triggered.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function maybe_fill_cache( $target ) {
|
||||
if ( $target === 'top' ) {
|
||||
@@ -72,6 +76,8 @@ class Admin_Columns_Cache_Integration implements Integration_Interface {
|
||||
|
||||
/**
|
||||
* Fills the cache of indexables for all known post IDs.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function fill_cache() {
|
||||
global $wp_query;
|
||||
|
||||
Reference in New Issue
Block a user