I like the plugin esp. for keeping the files in order.
Regardless this, I lately stumbled over a little bug concerning the PDF-embed-function:
When saving a PDF-link, while embedding activated, wordpress strips off the data-wpmf_pdf_embed-Attribute, disabling the embed-feature.
This happens to any user, who can edit posts, but is not Superadmin on Multisite, or in other words who cannot save unfiltered_html (I guess) .
At least everything is fine, when capability "unfiltered_html" is added.
I found a workaround, by (re-)injecting the stripped attribute by filter "wp_insert_post_data" into (saved) content, which one cannot expect from WP-Beginners.
Besides there's another flaw in the PDF-embed-function:
When inserting a PDF as embed in pure text-edior, the whole DOM-tree of the helper-DOMDocument-object (class-pdf-embed.php) is inserted as well, messing up the code.
I cleaned it up with hard-coding (preg_replace()).
Maybe there could be done some improvement concerning these points?
Thanks for Your answer.
- Page :
However, you are not allowed to reply to this post.