Commit eb7dff7e authored by Henrik Danielsson's avatar Henrik Danielsson
Browse files

- #3256637 by TwoD: Fixed trying to access array offset on value of type bool.

parent d5e417eb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -46,7 +46,7 @@ function wysiwyg_markitup_editor() {
 */
function wysiwyg_markitup_install_note() {
  $output = '<p class="warning">' . t('Only rename the extracted folder from "latest" to "markitup", no other changes needed.') . '</p>';
  $output .= wysiwyg_deprecation_install_note(wysiwyg_get_editor('markitup'));
  $output .= '<p class="warning">' . t('@editor is no longer being developed and support will be dropped by Wysiwyg module after May 2022.', array('@editor' => 'markItUp')) . '</p>';
  return $output;
}

+3 −0
Original line number Diff line number Diff line
@@ -1326,6 +1326,9 @@ function _wysiwyg_process_include($module, $identifier, $path, $hook) {

/**
 * Return an install note about deprecation.
 *
 * @param array $editor
 *   The definition for a an editor plugin with a 'deprecation message' key.
 */
function wysiwyg_deprecation_install_note($editor) {
  $output = '<p class="warning">' . $editor['deprecation message'] . '</p>';