Commit dd559d1
committed
fix: Use return null as default in validate_file_to_edit()
Replace the default wp_die() with return null to preserve
the existing runtime behavior for validate_file() code 2
(absolute Windows drive paths). This gives westonruter
the option to revert to the wp_die() approach if preferred.1 parent 4013816 commit dd559d1
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
734 | 734 | | |
735 | 735 | | |
736 | 736 | | |
737 | | - | |
| 737 | + | |
738 | 738 | | |
739 | 739 | | |
740 | 740 | | |
| |||
751 | 751 | | |
752 | 752 | | |
753 | 753 | | |
754 | | - | |
755 | 754 | | |
| 755 | + | |
| 756 | + | |
756 | 757 | | |
757 | 758 | | |
758 | 759 | | |
| |||
0 commit comments