Skip to content

Release/5.3.1 - #386

Merged
obfuscode merged 96 commits into
ExpressionEngine:stabilityfrom
dougblackjr:release/5.3.1
Apr 1, 2020
Merged

obfuscode merged 96 commits into
ExpressionEngine:stabilityfrom
dougblackjr:release/5.3.1

Conversation

@dougblackjr

@dougblackjr dougblackjr commented Mar 24, 2020 •

Copy link
Copy Markdown
Contributor

Overview

Release candidate for 5.3.1.

This offers a number of bug fixes and compatibility updates, including PHP7.4 compatibility.

NOTE: This does require a minimum PHP version of 5.6.

LIST OF ISSUES/FIXES:

dcba538 Merging bug/pages-module-not-removing-uris, resolves #292
8f3886d Merging bug/label-typeerror-382, resolves #382
0e41a99 Merging bug/346-fix-strpos-warning, resolves #346
8394bea Merging bug/337-url-title-n, resolves #337
32e1744 Merging bug/248-hook-firing-twice, resolves #248
c598e67 Merging bug/190-consent-return, resolves #190
9abbea7 Merging bug/188-image-manipulation-warnings, resolves #188
c536789 Merging bug/147-system-on-by-update, resolves #147
1b1c946 Merge branch '321/pages-uri-template-validation' into release/5.3.1, resolves #321
d7e4615 Adding non-duplicated fix from rjpdev:stability (#360)
67726df Fixes MSM JS error, resolves #382
5a7a8ae PHP 7.4 compatibility

Nature of This Change

  • 🐛 Fixes a bug
  • 🚀 Implements a new feature
  • 🛁 Refactors existing code
  • 💅 Fixes coding style
  • ✅ Adds tests
  • 👽 Adds new dependency
  • 🔥 Removes unused files / code
  • 🔒 Improves security

Is this backwards compatible?

  • Yes
  • No

Documentation

  • changelogs/minor.rst (5.3.1)

Thanks to @rjpdev and @litzinger for their help on this!

Passing the $glue and $pieces parameters in reverse order to implode
has been deprecated since PHP 7.4; $glue should be the first parameter
and $pieces the second
Function dl() is deprecated since PHP 5.3
Passing the $glue and $pieces parameters in reverse order to implode has
been deprecated since PHP 7.4; $glue should be the first parameter and
$pieces the second
INI directive 'safe_mode' is deprecated since PHP 5.3 and removed
since PHP 5.4
INI directive 'safe_mode' is deprecated since PHP 5.3 and removed
since PHP 5.4
Function money_format() is deprecated since PHP 7.4; Use
NumberFormatter::formatCurrency() instead

Given that, the `money_format` function called here serves only
as a backup for older systems, I chose to add a note here instead
of actively removing the call.
'object' is a soft reserved keyword as of PHP version 7.0 and a
reserved keyword as of PHP version 7.2 and should not be used to name
a class, interface or trait or as part of a namespace (T_NAMESPACE).

Chose to make change to namespace, since this is the only place this
is utilized.
Global with anything other than bare variables is discouraged
since PHP 7.0.

Documentation: https://www.php.net/manual/en/migration70.incompatible
.php#migration70.incompatible.variable-handling.global
preg_replace() - /e modifier is deprecated since PHP 5.5 and removed
since PHP 7.0
INI directive 'safe_mode' is deprecated since PHP and removed
since PHP 5.4
INI directive 'zend.ze1_compatibility_mode' is removed since PHP 5.3
INI directive 'safe_mode' is deprecated since PHP 5.3 and
removed since PHP 5.4
Passing the $glue and $pieces parameters in reverse order to implode
has been deprecated since PHP 7.4; $glue should be the first parameter
and $pieces the second
INI directive 'zend.ze1_compatibility_mode' is removed since PHP 5.3

if(in_array($which, $this->ignore_fetch)) {

return $this->tagparams[$which];

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This throws a PHP "undefined index" Notice. I setup a template with a basic channel entries loop with title and url_title.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@obfuscode Fixed in latest commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment