Title: faulty regex code
Last modified: August 21, 2016

---

# faulty regex code

 *  Resolved [piffpaffpuff](https://wordpress.org/support/users/chabis/)
 * (@chabis)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/faulty-regex-code/)
 * nevermind, there was an issue with another plugin. sorry.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [piffpaffpuff](https://wordpress.org/support/users/chabis/)
 * (@chabis)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/faulty-regex-code/#post-3958702)
 * but, i would recommend to use a high priority for your the_content filter, so
   that plugins with the same hook (like autolinking urls) do not make funky stuff
   with your embed code:
 * `add_filter( 'the_content', 'replace_image_text_links_content_filter', 5 );`
 *  Plugin Author [2biazdk](https://wordpress.org/support/users/2biazdk/)
 * (@2biazdk)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/faulty-regex-code/#post-3959024)
 * Hi Chabis,
 * Thank you for your feedback! I’ve set a higher priority for the the_content filter
   and released a new version of the plugin.
 * I’ve also simplified the Settings page, so now you don’t have to set an alignment
   for all images. The images simply inherits the alignment from where you insert
   them.
 * Kind regards,
    Tobias

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘faulty regex code’ is closed to new replies.

 * ![](https://ps.w.org/embed-image-links/assets/icon-256x256.png?rev=3547541)
 * [Forward: Embed Image Links](https://wordpress.org/plugins/embed-image-links/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/embed-image-links/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/embed-image-links/)
 * [Active Topics](https://wordpress.org/support/plugin/embed-image-links/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/embed-image-links/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/embed-image-links/reviews/)

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [embed](https://wordpress.org/support/topic-tag/embed/)
 * [regex](https://wordpress.org/support/topic-tag/regex/)

 * 2 replies
 * 2 participants
 * Last reply from: [2biazdk](https://wordpress.org/support/users/2biazdk/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/faulty-regex-code/#post-3959024)
 * Status: resolved