Skip to content

Commit 874684f

Browse files
authored
Merge pull request #72 from osDXP/1.1.4
1.1.4
2 parents 50752ba + 629da2a commit 874684f

File tree

3 files changed

+9
-13
lines changed

3 files changed

+9
-13
lines changed

includes/menus.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,14 @@ function hide_endpoints_from_sidebar()
6363
/**
6464
* Sets desired menu page order
6565
*
66+
* @param array $menu_order current menu order
67+
*
6668
* @return array of file names as used by Wordpress
6769
*/
68-
function dxp_reorder_menu()
70+
function dxp_reorder_menu($menu_order)
6971
{
7072
if (!is_dxp_dashboard()) {
71-
return [];
73+
return $menu_order;
7274
}
7375

7476
return dxp_accepted_top_pages();

osdxp-dashboard.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Author URI: https://osdxp.org
99
* Requires at least: 5.2
1010
* Requires PHP: 7.2
11-
* Version: 1.1.3
11+
* Version: 1.1.4
1212
* License: GPL2
1313
* License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
1414
* Text domain: osdxp-dashboard
@@ -42,7 +42,7 @@
4242
define('OSDXP_DASHBOARD_URL', plugins_url('/', OSDXP_DASHBOARD_FILE));
4343

4444
// Always mention the plugin version (enclose in quotes so it is processed as a string).
45-
define('OSDXP_DASHBOARD_VER', '1.1.3');
45+
define('OSDXP_DASHBOARD_VER', '1.1.4');
4646
define('OSDXP_DASHBOARD_SITE', 'https://osdxp.org/');
4747

4848
define('OSDXP_DASHBOARD_PLUGIN_NAME', 'Open Source DXP Dashboard');

package-lock.json

Lines changed: 3 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)