diff --git a/app/Rewrite_URLs.php b/app/Rewrite_URLs.php index ccf818e..c600a01 100644 --- a/app/Rewrite_URLs.php +++ b/app/Rewrite_URLs.php @@ -10,7 +10,7 @@ class Rewrite_URLs { function __construct() { - add_filter( 'final_output', array( $this, 'dom_rewrite_content_links' ) ); + if( !is_admin() ) add_filter( 'final_output', array( $this, 'dom_rewrite_content_links' ) ); } diff --git a/rewrite-urls.php b/rewrite-urls.php index dd59629..2746f56 100644 --- a/rewrite-urls.php +++ b/rewrite-urls.php @@ -2,7 +2,7 @@ /** * @wordpress-plugin * Plugin Name: Rewrite Content URLs - * Plugin URI: https://bitbucket.org/ArlingtonCounty/acg-core-functionality/wiki + * Plugin URI: https://github.com/dmhendricks/wordpress-rewrite-content-urls-plugin * Description: Allows you to rewrite URLs in content, useful for syncing production data into a development/staging environment. * Version: 1.0.0 * Author: Daniel M. Hendricks