Commit 41ec679
Fix backwards compatibility with WP_REST_Request API (#98)
Replace is_method() with get_method() for WordPress compatibility. The is_method() method does not exist on WP_REST_Request in earlier WordPress versions.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: budzanowski <budzanowski@git.wordpress.org>
Co-authored-by: gziolo <gziolo@git.wordpress.org>1 parent 80f47ee commit 41ec679
File tree
1 file changed
+1
-1
lines changed- includes/rest-api/endpoints
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| |||
0 commit comments