Title: [Bug] Filter priority too low
Last modified: August 21, 2016

---

# [Bug] Filter priority too low

 *  Resolved [Juliette Reinders Folmer](https://wordpress.org/support/users/jrf/)
 * (@jrf)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/bug-filter-priority-too-low/)
 * I just noticed that this issue is still not fixed in the plugin core:
    [http://wordpress.org/support/topic/plugin-better-wordpress-external-links-bugfix-priority-too-low](http://wordpress.org/support/topic/plugin-better-wordpress-external-links-bugfix-priority-too-low)
 * Would be great if it could be included in the next version.
 * **To fix:**
 * File: **/includes/class-bwp-external-links.php**
 * Find _**line 98-104**_:
 *     ```
       if ('yes' == $this->options['enable_post_contents'])
       		add_filter('the_content', array($this, 'parse_links'));
       	if ('yes' == $this->options['enable_comment_text'])
       		add_filter('comment_text', array($this, 'parse_links'));
       	// @since 1.1.0
       	if ('yes' == $this->options['enable_widget_text'])
       		add_filter('widget_text', array($this, 'parse_links'));
       ```
   
 * _Replace with_:
 *     ```
       if ('yes' == $this->options['enable_post_contents'])
       		add_filter('the_content', array($this, 'parse_links'), 10000);
       	if ('yes' == $this->options['enable_comment_text'])
       		add_filter('comment_text', array($this, 'parse_links'), 10000);
       	// @since 1.1.0
       	if ('yes' == $this->options['enable_widget_text'])
       		add_filter('widget_text', array($this, 'parse_links'), 10000);
       ```
   
 * Hope this helps!
 * [http://wordpress.org/plugins/bwp-external-links/](http://wordpress.org/plugins/bwp-external-links/)

The topic ‘[Bug] Filter priority too low’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/bwp-external-links.svg)
 * [Better WordPress External Links](https://wordpress.org/plugins/bwp-external-links/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bwp-external-links/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bwp-external-links/)
 * [Active Topics](https://wordpress.org/support/plugin/bwp-external-links/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bwp-external-links/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bwp-external-links/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Juliette Reinders Folmer](https://wordpress.org/support/users/jrf/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/bug-filter-priority-too-low/)
 * Status: resolved