Skip to content

Conversation

@vsolovei-smartling
Copy link
Contributor

No description provided.

Comment on lines +266 to +274
$ids = [];
foreach ($setting as $value) {
if (is_array($value)) {
$related = $this->getRelatedFromSetting($value);
if ($related !== null) {
$ids[] = array_values($related)[0][0];
}
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

So, this recursion has 2 conditions to exit. If there are no source or library properties in $settings variable then it will return just null, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes

@PavelLoparev PavelLoparev self-requested a review October 20, 2023 09:47
@vsolovei-smartling vsolovei-smartling merged commit 9bbaa92 into master Oct 20, 2023
@vsolovei-smartling vsolovei-smartling deleted the WP-836-elementor-icons branch October 20, 2023 11:52
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.

4 participants