Commit 75215f8
Fix fatal error: load WP_List_Table before extending it
WP_List_Table is only available in wp-admin context. Since the plugin
loads all class files on every request, the frontend crashed with
"Class WP_List_Table not found". Add class_exists check to require
the core WP file when needed.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent dab367b commit 75215f8
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
| |||
0 commit comments