Skip to content

Change |ucfirst to |capitalize#517

Merged
bencroker merged 2 commits intoputyourlightson:2.xfrom
john-henry:fix-ucfirst-deprecation
Jun 2, 2025
Merged

Change |ucfirst to |capitalize#517
bencroker merged 2 commits intoputyourlightson:2.xfrom
john-henry:fix-ucfirst-deprecation

Conversation

@john-henry
Copy link
Copy Markdown

Fixes the depreciation error in Craft 4 and Campaign 2.x

The |ucfirst filter has been deprecated. Use |capitalize instead.

Updates the plugin version number.

Replaces the deprecated `|ucfirst` filter with `|capitalize` in Twig templates for better compatibility and to align with current standards.
@bencroker bencroker merged commit b58227a into putyourlightson:2.x Jun 2, 2025
2 checks passed
@bencroker
Copy link
Copy Markdown
Collaborator

Merged, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants