diff --git a/includes/core/class-files.php b/includes/core/class-files.php index ee5eb8c4..6f2a1a33 100644 --- a/includes/core/class-files.php +++ b/includes/core/class-files.php @@ -39,7 +39,7 @@ if ( ! class_exists( 'um\core\Files' ) ) { $this->setup_paths(); - add_action( 'template_redirect', array( &$this, 'download_routing' ) ); + add_action( 'template_redirect', array( &$this, 'download_routing' ), 1 ); $this->fonticon = array( 'pdf' => array('icon' => 'um-faicon-file-pdf-o', 'color' => '#D24D4D' ), diff --git a/readme.txt b/readme.txt index a18c2187..72b302b4 100644 --- a/readme.txt +++ b/readme.txt @@ -162,6 +162,7 @@ The plugin works with popular caching plugins by automatically excluding Ultimat * Bugfixes: - Fixed: PHP notice when the admin filtering field has the not array default value (e.g. bool) + - Fixed: The conflict with [Disable Blog](https://wordpress.org/plugins/disable-blog/) plugin regarding this [issue](https://wordpress.org/support/topic/ultimate-member-file-image-download/). `download_routing` callback has the highest priority now. = 2.1.16: March 10, 2021 =