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:
Tony Volpe
2024-01-25 04:11:47 +00:00
parent 6b67473553
commit 68dbe860e9
540 changed files with 3445 additions and 2131 deletions

View File

@@ -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;