Commit 03535f5
committed
Add empty content checks to content filter functions
Added early return for empty content in wedevs_pm_get_content and wedevs_pm_filter_content_url to prevent unnecessary filter application and potential errors.1 parent 4cfce95 commit 03535f5
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
661 | 661 | | |
662 | 662 | | |
663 | 663 | | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
664 | 668 | | |
665 | 669 | | |
666 | 670 | | |
667 | 671 | | |
668 | 672 | | |
669 | 673 | | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
670 | 678 | | |
671 | 679 | | |
672 | 680 | | |
| |||
0 commit comments