Commit c914a9f
authored
Various Notice fixes (#1237)
* Use the right post ID field
Fixes a Notice of `Undefined index: post_ID`.
This likely previously worked, as `get_post( null )` quite possibly was returning the correct object.
* Fix a variable typo
Fixes a PHP Notice of `Undefined variable: statuses`.1 parent 0f004df commit c914a9f
File tree
2 files changed
+2
-2
lines changed- public_html/wp-content/plugins/wcpt
- wcpt-events
- wcpt-wordcamp
2 files changed
+2
-2
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
| 153 | + | |
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
817 | 817 | | |
818 | 818 | | |
819 | 819 | | |
820 | | - | |
| 820 | + | |
821 | 821 | | |
822 | 822 | | |
823 | 823 | | |
| |||
0 commit comments