The wordpress documetation for oEmbed is very wrong!
-
Hy!
I used Ifeature theme and I meat an intrested problem.
When I paste the the example from here this get pack this messange:
Warning: Cannot modify header information – headers already sent by (output started at /home/neocsat/public_html/wp-content/themes/ifeature/functions.php:471) in /home/neocsat/public_html/wp-includes/option.php on line 563Warning: Cannot modify header information – headers already sent by (output started at /home/neocsat/public_html/wp-content/themes/ifeature/functions.php:471) in /home/neocsat/public_html/wp-includes/option.php on line 564
But when I delete this line:
<?php wp_oembed_add_provider( ‘https://indavideo.hu/video/*’, ‘https://indavideo.hu/oembed/’ ); ?>
The messange has goned.
Please fix the documentation somehow…
Okey, fexed this problem and documentation!
The problem is with whitespaces…
When I delted the emty lines, the problem has gones.
Unfortunately the indavideo videos dosent work!
So the doucmentation need fix it!
- The topic ‘The wordpress documetation for oEmbed is very wrong!’ is closed to new replies.