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.
Follow-up to #2559445: Replace !placeholder with @placeholder in aggregator module
Problem/Motivation
In order to make #2506445: Replace !placeholder with @placeholder in t() and format_string() for non-URLs in tests approachable, we need to break it up into smaller chunks. This issue address !placeholder in the Help module
See #2506427: [meta] !placeholder causes strings to be escaped and makes the sanitization API harder to understand for complete motivation on removal of !placeholder
Proposed resolution
Replace !placeholder with @placeholder in the Help module.
core/modules/help/*
Remaining tasks
- Replace !placeholder with @placeholder. Refer to patch in #2506445-85: Replace !placeholder with @placeholder in t() and format_string() for non-URLs in tests as that patch should have related update
- Ensure tests come back clean
- Manually test the update and post screen shot after patch, review source for any difference in escaping.
User interface changes
Comment | File | Size | Author |
---|---|---|---|
#2 | replace_placeholder-2559453-2.patch | 10 KB | joelpittet |
Comments
Comment #2
joelpittetComment #3
geertvd CreditAttribution: geertvd at XIO commentedSeems like this is completely taken care of in #2560783: Replace !placeholder with :placeholder for URLs in hook_help() implementations
Comment #4
justAChris CreditAttribution: justAChris as a volunteer commentedThis is not in that
hook_help()
patch, but @geertvd is correct that this should be closed. The "remaining" patch in #2506445: Replace !placeholder with @placeholder in t() and format_string() for non-URLs in tests can re-absorb this.Comment #5
geertvd CreditAttribution: geertvd at XIO commented@justAChris that already seems to be included in #2506445-96: Replace !placeholder with @placeholder in t() and format_string() for non-URLs in tests
Comment #6
Sutharsan CreditAttribution: Sutharsan as a volunteer commentedPatch now merged into #2506445-140: Replace !placeholder with @placeholder in t() and format_string() for non-URLs in tests.
Comment #7
xjm