Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing namespace separator for WP_Query #108

Closed
shazzad opened this issue Jun 4, 2020 · 0 comments
Closed

Missing namespace separator for WP_Query #108

shazzad opened this issue Jun 4, 2020 · 0 comments

Comments

@shazzad
Copy link

shazzad commented Jun 4, 2020

Issue

WP_Query is missing namespace separator in two locations.

Reference

https://github.com/tareq1988/wedocs-plugin/blob/6310a6575f9993abac2a27b15c591a30a1300862/includes/API/API.php#L264
https://github.com/tareq1988/wedocs-plugin/blob/6310a6575f9993abac2a27b15c591a30a1300862/includes/API/API.php#L280

Outcome

Uncaught Error: Class 'WeDevs\WeDocs\API\WP_Query' not found in ...

Thanks.

tareq1988 added a commit that referenced this issue Jun 5, 2020
 * **New:** Load CSS and JS files only for Docs. Fixes [#104](#104)
 * **Fix:** Added missing textdomains. Fixes [#105](#105)
 * **Fix:** Fix search API. Was breaking due to namespace issue with WP_Query. Fixes [#108](#108)
star219 pushed a commit to star219/wpdocs_plugin that referenced this issue Dec 25, 2022
 * **New:** Load CSS and JS files only for Docs. Fixes [#104](weDevsOfficial/wedocs-plugin#104)
 * **Fix:** Added missing textdomains. Fixes [#105](weDevsOfficial/wedocs-plugin#105)
 * **Fix:** Fix search API. Was breaking due to namespace issue with WP_Query. Fixes [#108](weDevsOfficial/wedocs-plugin#108)
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

No branches or pull requests

1 participant