-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bugfix: Using PHP 8.2 dynamic properties removed #856
base: master
Are you sure you want to change the base?
Conversation
Any progress on this? |
@@ -251,7 +252,7 @@ function _process_tag_php($text) | |||
'<font color="', | |||
'</font>', | |||
"\n ", | |||
'� ' | |||
'� ' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unsure what this character would be (probably some ISO-8859-1 one?!) and what it would then maybe break. Could also be a UTF-8 BOM in ISO-8859-1?!
if (is_null($string)) | ||
return $string; | ||
|
||
return pg_escape_string($serendipity['dbConn'], $string); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wasn't this another issue/patch? Unsure how it affects existing setups...?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, there sadly seem to be some commits that got mixed together, also in the other PR :/
PHP 8.2 removes support of dynamic class properties. Compensate the change on selected plugins.
While looking at those changes a pattern emerges.
Maybe having
$markup_elements
and$dependencies
in parent class should be a faster and cleaner fix. While at it drop usage of way-back-obsoletedlet
.