Now that the check_plain function has been removed from core, we need to keep simplereservation up to date.
#2297487: Remove the check_plain function

replace with \Drupal\Component\Utility\String::checkPlain().

CommentFileSizeAuthor
#1 checkPlain-2302697-1.patch2.4 KBmartin107

Comments

martin107’s picture

StatusFileSize
new2.4 KB

Since its easy to show that check_plain was just a wrapper for another function :-

function check_plain($text) {
  return String::checkPlain($text);
}

This is trivial and I will commit immediatley

  • martin107 committed 4b011e5 on 8.x-1.x-dev
    #2302697 check_plain is deprecated.
    
martin107’s picture

Assigned: martin107 » Unassigned
Status: Active » Closed (fixed)