Skip to content

Commit 7ebe05e

Browse files
author
Simone Tellini
committed
Add MantisCore in the requires array, in order to make Mantis 2.25 happy and make the install button appear in the plugins page
1 parent e317973 commit 7ebe05e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

BetterStatusColors.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function register() {
3333
$this->page = '';
3434

3535
$this->version = '1.0.3';
36-
$this->requires = array();
36+
$this->requires = array( 'MantisCore' => '2.0.0' );
3737

3838
$this->author = 'Simone Tellini';
3939
$this->url = 'https://tellini.info';
@@ -65,4 +65,4 @@ function hooks() {
6565
function resources() {
6666
echo '<script src="' . plugin_file( "BetterStatusColors.js" ) . '"></script>';
6767
}
68-
}
68+
}

0 commit comments

Comments
 (0)