Skip to content

Query optimize#2703

Merged
shewa12 merged 7 commits into
4.0.0-devfrom
query-optimize
May 13, 2026
Merged

Query optimize#2703
shewa12 merged 7 commits into
4.0.0-devfrom
query-optimize

Conversation

@shewa12
Copy link
Copy Markdown
Collaborator

@shewa12 shewa12 commented May 12, 2026

No description provided.

Comment thread classes/Utils.php Outdated
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can use there $this->count( $instructor ) which exact same of this

Comment thread classes/Utils.php
array(
'include' => array( $instructor_id ),
'number' => 1,
'fields' => 'ID',
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Old query return umeta_id but new return user ID? there are 26 places where it's called can be break

@shewa12 shewa12 merged commit 6089d49 into 4.0.0-dev May 13, 2026
10 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants