-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Various changes in libraries/cms #13238
Various changes in libraries/cms #13238
Conversation
# Conflicts: # libraries/cms/component/router/rules/standard.php
Conflicts resolved. Pls check and merge. |
libraries/cms/html/behavior.php
Outdated
@@ -294,7 +294,7 @@ public static function tooltip($selector = '.hasTip', $params = array()) | |||
$opt['showDelay'] = (isset($params['showDelay'])) ? (int) $params['showDelay'] : null; | |||
$opt['hideDelay'] = (isset($params['hideDelay'])) ? (int) $params['hideDelay'] : null; | |||
$opt['className'] = (isset($params['className'])) ? $params['className'] : null; | |||
$opt['fixed'] = (isset($params['fixed']) && ($params['fixed'])) ? true : false; | |||
$opt['fixed'] = (isset($params['fixed']) && ($params['fixed'])); |
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.
Remove parentheses in ($params['fixed'])
. Also the outside parentheses can be removed in this line and the other lines too.
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, indeed. Thanks. Have found one or two other improvements as well. Commit follows.
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.
Turns out, some of the other improvements, were already in other PR's which have not been merged yet. It would be good to get the other improvements merged, too.
I have tested this item ✅ successfully on 372e0d4 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/13238. |
I have tested this item ✅ successfully on 372e0d4 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/13238. |
RTC after two successful tests. |
Summary of Changes
This PR is part of a set to try to separate some of the changes done in one of my previous batch PR's for the libraries/cms directory, which is still on hold (#12171).
Once the new set is merged it will hopefully reduce the changes in that PR, so it can be reviewed easier and finally be merged.
The changes in this PR should be fairly easy to review. In hope that this will get merged quickly. ;)
Testing Instructions
None, should not change behavior
Documentation Changes Required
None.