You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ Feel free to test out the extension using this [GraphiQL Playground](https://woo
51
51
52
52
(*) I have a tendency to forget to update the playground between releases :sweat_smile:, so if you believe this to be the case look me up somewhere on this page and lemme know :man_shrugging:
53
53
54
-
## Wanna help support WooGraphQL's future.
54
+
## Wanna help support WooGraphQL's future
55
55
56
56
- Sponsor **@kidunot89***(WooGraphQL Creator/Developer)* on **[Github](https://github.com/sponsors/kidunot89)**
57
57
- Sponsor **WooGraphQL** on **[OpenCollective](https://opencollective.com/woographql)**
* If GraphQL class doesn't exist, then dependencies cannot be
157
+
* detected. This likely means the user cloned the repo from Github
158
+
* but did not run `composer install`
159
+
*/
160
+
if ( ! class_exists( 'Firebase\JWT\JWT' ) ) {
161
+
add_action(
162
+
'admin_notices',
163
+
function () {
164
+
if ( ! current_user_can( 'manage_options' ) ) {
165
+
return;
166
+
}
167
+
168
+
echosprintf(
169
+
'<div class="notice notice-error">' .
170
+
'<p>%s</p>' .
171
+
'</div>',
172
+
esc_html__(
173
+
'WooGraphQL appears to have been installed without it\'s dependencies. It will not work properly until dependencies are installed. This likely means you have cloned WPGraphQL from Github and need to run the command `composer install`.',
0 commit comments