Commit bf308e8
committed
Remove GLUE_LINK_DELETE_DATA constant definition and add runtime check
- Remove hardcoded GLUE_LINK_DELETE_DATA constant definition from uninstall.php
- Add defined() check before using GLUE_LINK_DELETE_DATA constant
- Allows users to define constant in wp-config.php without default fallback
- Prevents data deletion unless explicitly enabled by user1 parent 598f6eb commit bf308e8
1 file changed
Lines changed: 1 addition & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | 13 | | |
21 | 14 | | |
22 | 15 | | |
| |||
39 | 32 | | |
40 | 33 | | |
41 | 34 | | |
42 | | - | |
| 35 | + | |
43 | 36 | | |
44 | 37 | | |
45 | 38 | | |
| |||
0 commit comments