haroldparis
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Facebook videos don’t show on the classic editorHi there !
Same here.
I’ve checked the class-oembed.php for reference, I was thinking about a typo or something. It seems fine on that side.
I recon Facebook changed something on their side for the moment or it’s a bug.
If anyone have some news about this, I’m interested as well.Hey Rob,
Thanks a lot for the answer.
That’s not pretty, but I managed to remove the double base url through this code :
add_action( 'rss2_head', function() { remove_all_actions( 'rss2_item' ); function mediathumbnail_in_rss() { global $post; if(has_post_thumbnail($post->ID)) { echo '<media:thumbnail url="' . get_the_post_thumbnail_url($post->ID, "medium") . '" /> <media:content url="' . get_the_post_thumbnail_url($post->ID, "medium") . '" medium="image" />'; } } add_action('rss2_item', 'mediathumbnail_in_rss'); } );If that can help.
Cheers !
Forum: Fixing WordPress
In reply to: Imgur Oembed + WordPress ?Hey Steve !
Thanks !
For this kind of issues, better to post directly in trac ?
(Sorry for the silly question, new to this… ^^)
Forum: Fixing WordPress
In reply to: Imgur Oembed + WordPress ?Well, it is in Core since 3.9.
And the code is here in /wp-includes/class-oembed.php
So there’s no reason it shouldn’t work.
- This reply was modified 8 years, 5 months ago by haroldparis.
Hi Mika,
Seen it earlier. And updated. 🙂
Will keep you in touch if I notice something.
I was skimming on my hosting partner’s analyse and it seems the PURGE on yst_prominent_words was generating a 404 anyway. So, definitely a good approach to exclude them.
You rock.
You rock ! 🙂