- fixed the conflict with Disable Blog plugin (made download_routing callback more prior);

This commit is contained in:
nikitasinelnikov
2021-03-12 15:14:45 +02:00
parent 5d7c7b1927
commit 635fbbcb14
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -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' ),