Of course 'and' works but as it has a different precedence order than '&&" this could create unexpected issues if left as is. It's a small clean up change, and shouldn't have other side effects.
See http://php.net/manual/en/language.operators.php for more on this.
Patch coming up.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 2381491-CKEditorPluginManager-3.patch | 1.15 KB | kattekrab |
| #1 | 2381491-CKEditor-1.txt | 1.15 KB | kattekrab |
Comments
Comment #1
kattekrab commentedAnd here's the patch
Comment #2
larowlanComment #3
dawehnerOH PHP!!
Comment #4
kattekrab commentedRenamed file
Comment #5
wim leersI really wonder how I managed to do this. I did this at #2089631-9: Showing/hiding of CKEditor plugin settings is fragile, automate it (breaks in narrow viewports and when enabling CKEditor).
Wim--
Comment #6
dries commentedComment #7
alexpottThis is the only instance of this in Drupal core - makes sense to remove it. Let's be consistent and this will not disrupt anything. Committed 2f35d45 and pushed to 8.0.x. Thanks!
Comment #9
kattekrab commentedW00t! Thanks Alex :-)
D.