feat: new bludit version with bug fix for php 5

This commit is contained in:
Diego Najar 2024-08-25 10:11:57 +02:00
parent fa736d907b
commit 3c02c86498
31 changed files with 96 additions and 83 deletions

View file

@ -1,9 +1,9 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// Bludit version
define('BLUDIT_VERSION', '3.16.1');
define('BLUDIT_VERSION', '3.16.2');
define('BLUDIT_CODENAME', 'Valencia');
define('BLUDIT_RELEASE_DATE', '2024-08-06');
define('BLUDIT_RELEASE_DATE', '2024-08-23');
define('BLUDIT_BUILD', '20240806');
// Change to TRUE for debugging

View file

@ -632,11 +632,24 @@ class Pages extends dbJSON
private function sortByPositionLowToHigh($a, $b)
{
return $a['position'] <=> $b['position'];
if ($a['position'] < $b['position']) {
return -1;
} elseif ($a['position'] > $b['position']) {
return 1;
} else {
return 0;
}
}
private function sortByPositionHighToLow($a, $b)
{
return $a['position'] < $b['position'];
if ($a['position'] > $b['position']) {
return -1;
} elseif ($a['position'] < $b['position']) {
return 1;
} else {
return 0;
}
}
// Sort pages by date

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.16.1",
"releaseDate": "2024-08-06",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.16.1",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,10 +2,10 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.16.1",
"version": "3.16.2",
"releaseDate": "2023-07-10",
"license": "MIT",
"compatible": "3.16.1",
"compatible": "3.16.2",
"notes": "",
"type": "theme"
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.16.1",
"releaseDate": "2024-08-06",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.16.1",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.16.1",
"releaseDate": "2024-08-06",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.16.1",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.16.1",
"releaseDate": "2024-08-06",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.16.1",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.16.1",
"releaseDate": "2024-08-06",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.16.1",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.16.1",
"releaseDate": "2024-08-06",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.16.1",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -5,6 +5,6 @@
"version": "2.18.0",
"releaseDate": "2022-09-20",
"license": "MIT",
"compatible": "3.16.1",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.16.1",
"releaseDate": "2024-08-06",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.16.1",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.16.1",
"releaseDate": "2024-08-06",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.16.1",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.16.1",
"releaseDate": "2024-08-06",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.16.1",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.16.1",
"releaseDate": "2024-08-06",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.16.1",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.16.1",
"releaseDate": "2024-08-06",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.16.1",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.16.1",
"releaseDate": "2024-08-06",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.16.1",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,10 +2,10 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.16.1",
"version": "3.16.2",
"releaseDate": "2023-07-10",
"license": "MIT",
"compatible": "3.16.1",
"compatible": "3.16.2",
"notes": "",
"type": "theme"
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com/plugin/remote-content",
"version": "3.16.1",
"releaseDate": "2024-08-06",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.16.1",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.16.1",
"releaseDate": "2024-08-06",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.16.1",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.16.1",
"releaseDate": "2024-08-06",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.16.1",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.16.1",
"releaseDate": "2024-08-06",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.16.1",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.16.1",
"releaseDate": "2024-08-06",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.16.1",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.16.1",
"releaseDate": "2024-08-06",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.16.1",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.16.1",
"releaseDate": "2024-08-06",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.16.1",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.16.1",
"releaseDate": "2024-08-06",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.16.1",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.16.1",
"releaseDate": "2024-08-06",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.16.1",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.16.1",
"releaseDate": "2024-08-06",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.16.1",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.16.1",
"releaseDate": "2024-08-06",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.16.1",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,7 +2,7 @@
"author": "Bludit",
"email": "",
"website": "https://themes.bludit.com",
"version": "3.16.1",
"version": "3.16.2",
"releaseDate": "2023-07-10",
"license": "MIT",
"compatible": "3.15",

View file

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://themes.bludit.com",
"version": "3.16.1",
"releaseDate": "2024-08-06",
"version": "3.16.2",
"releaseDate": "2024-08-23",
"license": "MIT",
"compatible": "3.16.1",
"compatible": "3.16.2",
"notes": ""
}

View file

@ -2,7 +2,7 @@
"author": "Bludit",
"email": "",
"website": "https://themes.bludit.com",
"version": "3.16.1",
"version": "3.16.2",
"releaseDate": "2023-07-??",
"license": "MIT",
"compatible": "3.0",