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.
Problem/Motivation
shortcut_preprocess_page_title()
causes deprecations on PHP 8.1 due to passing NULL into trim(strip_tags($name))
Steps to reproduce
Run \Drupal\Tests\shortcut\Functional\ShortcutLinksTest on PHP 8.1
Proposed resolution
Fix the method to handle NULLs better.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#2 | 3241271-2.patch | 611 bytes | alexpott |
Comments
Comment #2
alexpottBefore
After
Comment #3
daffie CreditAttribution: daffie commentedLooks good to me.
Comment #4
larowlanCommitted 9c2be57 and pushed to 9.3.x. Thanks!