Commit 8a0f8df
committed
Docs: Correct parameter type for the
This commit updates the filter documentation to indicate that it can both take and return a `string|false` value.
Documentation for functions attached to the filter has been similarly corrected:
* `WP_oEmbed::_strip_newlines()`
* `wp_filter_oembed_result()`
* `wp_filter_oembed_iframe_title_attribute()`
Follow-up to [12153], [25723], [34903], [34974], [44942].
Props justlevine.
See #63268.
git-svn-id: https://develop.svn.wordpress.org/trunk@60307 602fd350-edb4-49c9-b593-d223f7449a82oembed_dataparse filter.1 parent a49176e commit 8a0f8df
2 files changed
+15
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
739 | 739 | | |
740 | 740 | | |
741 | 741 | | |
742 | | - | |
743 | | - | |
744 | | - | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
745 | 745 | | |
746 | 746 | | |
747 | 747 | | |
| |||
752 | 752 | | |
753 | 753 | | |
754 | 754 | | |
755 | | - | |
756 | | - | |
757 | | - | |
758 | | - | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
759 | 759 | | |
760 | 760 | | |
761 | 761 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
843 | 843 | | |
844 | 844 | | |
845 | 845 | | |
846 | | - | |
847 | | - | |
848 | | - | |
849 | | - | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
850 | 850 | | |
851 | 851 | | |
852 | 852 | | |
| |||
910 | 910 | | |
911 | 911 | | |
912 | 912 | | |
913 | | - | |
914 | | - | |
915 | | - | |
916 | | - | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
917 | 917 | | |
918 | 918 | | |
919 | 919 | | |
| |||
0 commit comments