Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
SafeMarkup::checkPlain has been deprecated. Replace these calls with Html::escape.
Comment | File | Size | Author |
---|---|---|---|
#6 | 0001-Issue-2995785-by-visabishek-fgm-Drupal-9-deprecation.patch | 15.19 KB | fgm |
#4 | 2995785-xmlrpc-replace_deprecated-4.patch | 7.11 KB | fgm |
#3 | Capture d'écran 2018-08-29 16.33.01.png | 268.46 KB | fgm |
#2 | replace_deprecated-2995785-2.patch | 784 bytes | visabhishek |
Comments
Comment #2
visabhishek CreditAttribution: visabhishek as a volunteer and at Azri Solutions commentedUploading patch
Comment #3
fgmThanks. It's a good idea to fix deprecations, but there are several others, including one other case of checkPlain, usage of drupal_set_message(), and usage of the REQUEST_TIME constant, as shown in this screencopy. You can generate a similar report when working on deprecations in PhpStorm using Code / Run inspection by name / Deprecated (PHP / General)
Comment #4
fgmPatch completed, for you to review.
Comment #5
fgmComment #6
fgmUpdated with more changes from #3117087: Drupal 9 Deprecated Code Report.
Comment #7
wizonesolutionsI cloned the branch and applied the patch, then tested it against FillPDF 5.0.x (Drupal 9). Worked well.
Will also test against Drupal 8 now...OK, testing went well. Moving to RTBC.
Comment #13
fgmMerged to 8.x-1.x HEAD, thanks all, including those who worked on the other duplicate issues.