rebase on oct-10-2023
This commit is contained in:
@@ -109,7 +109,9 @@ class Admin_Columns_Cache_Integration implements Integration_Interface {
|
||||
$indexables = $this->indexable_repository->find_by_multiple_ids_and_type( $post_ids, 'post', false );
|
||||
|
||||
foreach ( $indexables as $indexable ) {
|
||||
$this->indexable_cache[ $indexable->object_id ] = $indexable;
|
||||
if ( $indexable instanceof Indexable ) {
|
||||
$this->indexable_cache[ $indexable->object_id ] = $indexable;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -168,7 +170,7 @@ class Admin_Columns_Cache_Integration implements Integration_Interface {
|
||||
$pages_map[ $page->ID ] = $page;
|
||||
}
|
||||
|
||||
$pages = &$top_level_pages;
|
||||
$pages = $top_level_pages;
|
||||
}
|
||||
|
||||
$count = 0;
|
||||
|
||||
Reference in New Issue
Block a user