rebase on oct-10-2023

This commit is contained in:
Rachit Bhargava
2023-10-10 17:23:21 -04:00
parent d37566ffb6
commit d096058d7d
4789 changed files with 254611 additions and 307223 deletions

View File

@@ -275,8 +275,6 @@ class Wincher_Keyphrases_Action {
* @return array
*/
protected function collect_all_keyphrases() {
global $wpdb;
// Collect primary keyphrases first.
$keyphrases = \array_column(
$this->indexable_repository
@@ -347,7 +345,7 @@ class Wincher_Keyphrases_Action {
*/
protected function to_result_object( $result ) {
if ( \array_key_exists( 'data', $result ) ) {
$result['results'] = $result['data'];
$result['results'] = (object) $result['data'];
unset( $result['data'] );
}