Merge branch 'flatpressblog:master' into Makup-leggero-v1-theme
This commit is contained in:
commit
53fda8663d
@ -1,6 +1,6 @@
|
||||
# Under development: [FlatPress 1.3 "Andante"](https://github.com/flatpressblog/flatpress/releases/tag/1.3)
|
||||
## Changed requirements
|
||||
- FlatPress 1.3 runs under PHP up to **8.1**; minimum required PHP version increases to **7.1**.
|
||||
- FlatPress 1.3 runs under PHP up to **8.2**; minimum required PHP version increases to **7.1**.
|
||||
- Also, the PHP extension [**intl**](https://www.php.net/manual/book.intl.php) becomes mandatory.
|
||||
|
||||
## General
|
||||
@ -89,6 +89,7 @@
|
||||
- Fixed disappearing non-Latin characters in page title ([#49](https://github.com/flatpressblog/flatpress/issues/49) and [#91](https://github.com/flatpressblog/flatpress/issues/91))
|
||||
- Worked around strftime() marked as deprecated as of PHP 8.1 ([#92](https://github.com/flatpressblog/flatpress/issues/92)) - thx @bohwaz
|
||||
- Comments and contact form: Fixed error on sending mails with umlaut subjects ([#207](https://github.com/flatpressblog/flatpress/issues/207), [#209](https://github.com/flatpressblog/flatpress/issues/209))
|
||||
- Added missing properties in order to prevent "Dynamic properties are deprecated" error under PHP 8.2 ([#115](https://github.com/flatpressblog/flatpress/issues/115))
|
||||
|
||||
## Security
|
||||
- Possible XSS prevented: Session cookie missed the "secure" and "httponly" flags
|
||||
|
@ -37,7 +37,7 @@ Visit our [wiki](https://wiki.flatpress.org) to learn everything about blogging
|
||||
Ask your questions, show off your FlatPress blog and meet fellow FlatPressers at the [support forum](https://forum.flatpress.org).
|
||||
|
||||
## Requirements
|
||||
FlatPress runs on any web server (e.g. Apache or IIS) with PHP 7.1 to PHP 8.1 (more details [on the wiki](https://wiki.flatpress.org/doc:techfaq#what_is_required_to_run_flatpress)). Since all data is stored in files, no database is needed.
|
||||
FlatPress runs on any web server (e.g. Apache or IIS) with PHP 7.1 to PHP 8.2 (more details [on the wiki](https://wiki.flatpress.org/doc:techfaq#what_is_required_to_run_flatpress)). Since all data is stored in files, no database is needed.
|
||||
|
||||
## Credits
|
||||
There are many people who contributed to FlatPress over the years. [See them here.](./CONTRIBUTORS.md)
|
||||
|
@ -40,6 +40,8 @@ class admin_entry_write extends AdminPanelActionValidated {
|
||||
);
|
||||
|
||||
var $draft = false;
|
||||
|
||||
var $id = null;
|
||||
|
||||
function _makePreview($arr, $id = null) {
|
||||
if (!$id) {
|
||||
|
@ -37,6 +37,7 @@ class tpl_deleter extends fs_filelister {
|
||||
class s_entry_crawler extends fs_filelister {
|
||||
|
||||
var $_directory = CONTENT_DIR;
|
||||
var $index;
|
||||
|
||||
function __construct() {
|
||||
$this->index = entry_init();
|
||||
|
@ -40,6 +40,10 @@ class admin_plugin_default extends AdminPanelAction {
|
||||
);
|
||||
|
||||
var $errors = array();
|
||||
|
||||
var $pluginid;
|
||||
|
||||
var $fp_plugins;
|
||||
|
||||
function setup() {
|
||||
$this->pluginid = isset($_GET ['plugin']) ? $_GET ['plugin'] : null;
|
||||
|
@ -17,6 +17,7 @@
|
||||
class admin_static_delete extends AdminPanelAction {
|
||||
|
||||
var $events = array('delete', 'cancel');
|
||||
var $page;
|
||||
|
||||
function setup() {
|
||||
$this->page = @($_REQUEST['page']);
|
||||
|
@ -542,6 +542,8 @@ class BPlusTree_Node {
|
||||
* @var int number of valid keys in $keys
|
||||
*/
|
||||
var $validkeys;
|
||||
|
||||
var $storage;
|
||||
|
||||
/**
|
||||
* constructor
|
||||
@ -1558,6 +1560,8 @@ class BPlusTree {
|
||||
* @var bool true if fifo is enabled
|
||||
*/
|
||||
var $fifo_enabled = false;
|
||||
|
||||
var $file = null;
|
||||
|
||||
/**
|
||||
* constructor
|
||||
@ -2376,14 +2380,14 @@ class BPlusTree {
|
||||
class BPlusWalker {
|
||||
|
||||
var $tree;
|
||||
|
||||
var $keylower;
|
||||
|
||||
var $includelower;
|
||||
|
||||
var $keyupper;
|
||||
|
||||
var $includeupper;
|
||||
var $startnode;
|
||||
var $node;
|
||||
var $node_index;
|
||||
var $valid;
|
||||
|
||||
function __construct(&$tree, &$keylower, $includelower = null, $keyupper = null, $includeupper = null) {
|
||||
$this->tree = & $tree;
|
||||
@ -2572,8 +2576,10 @@ class caching_BPT extends BPlusTree {
|
||||
class SBPlusTree extends BPlusTree {
|
||||
|
||||
var $maxstring;
|
||||
|
||||
var $stringfile;
|
||||
var $nodesize;
|
||||
var $keylen;
|
||||
var $position;
|
||||
|
||||
function __construct($infile, $stringfile, $maxstring = 256, $pos = null, $nodesize = null, $keylen = null) {
|
||||
parent::__construct($infile, $pos, $nodesize, $keylen);
|
||||
|
@ -38,6 +38,8 @@ class entry_index {
|
||||
var $_keysize = 12;
|
||||
|
||||
var $_lock_file = null;
|
||||
|
||||
var $catlist = null;
|
||||
|
||||
function __construct() {
|
||||
$this->_lock_file = CACHE_DIR . 'bpt.lock';
|
||||
|
@ -159,6 +159,13 @@ class FPDB_Query {
|
||||
var $secondary_idx = null;
|
||||
|
||||
var $walker = null;
|
||||
|
||||
var $prevkey = null;
|
||||
|
||||
var $nextkey = null;
|
||||
|
||||
var $comments = null;
|
||||
|
||||
|
||||
function __construct($params, $ID) {
|
||||
global $current_query;
|
||||
|
@ -208,6 +208,8 @@ class StringParser {
|
||||
* @var bool
|
||||
*/
|
||||
var $_recentlyReparsed = false;
|
||||
|
||||
var $_output;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
|
@ -150,6 +150,11 @@ class StringParser_BBCode extends StringParser {
|
||||
* @var bool
|
||||
*/
|
||||
var $_validateAgain = false;
|
||||
|
||||
var $_savedName;
|
||||
var $_quoting;
|
||||
var $_savedCloseCount;
|
||||
var $_savedValue;
|
||||
|
||||
/**
|
||||
* Add a code
|
||||
@ -1634,6 +1639,8 @@ class StringParser_BBCode_Node_Element extends StringParser_Node {
|
||||
* @var bool
|
||||
*/
|
||||
var $_paragraphHandled = false;
|
||||
|
||||
var $_codeInfo = null;
|
||||
|
||||
// ////////////////////////////////////////////////
|
||||
|
||||
|
@ -77,9 +77,11 @@ if (class_exists('AdminPanelAction')) {
|
||||
'disable'
|
||||
);
|
||||
|
||||
var $bp_enabled;
|
||||
|
||||
function doenable($id) {
|
||||
$success = -1;
|
||||
$enabled = & $this->bp_enabled;
|
||||
$enabled = &$this->bp_enabled;
|
||||
if (static_exists($id)) {
|
||||
if (!$enabled) {
|
||||
$enabled = array();
|
||||
@ -98,7 +100,7 @@ if (class_exists('AdminPanelAction')) {
|
||||
|
||||
function dodisable($id) {
|
||||
$success = -2;
|
||||
$enabled = & $this->bp_enabled;
|
||||
$enabled = &$this->bp_enabled;
|
||||
if ($enabled && is_numeric($v = array_search($id, $enabled))) {
|
||||
unset($enabled [$v]);
|
||||
@sort($enabled);
|
||||
|
@ -43,6 +43,8 @@ class admin_entry_commentcenter extends AdminPanelAction {
|
||||
'commdelok_2',
|
||||
'ccancel_2'
|
||||
);
|
||||
|
||||
var $plugin;
|
||||
|
||||
/**
|
||||
* This function is used as a callback when the panel is loaded.
|
||||
|
Loading…
x
Reference in New Issue
Block a user