Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix understrap_adjust_body_class #1965

Merged

Conversation

IanDelMar
Copy link
Contributor

Description

This PR lets understrap_adjust_body_class() return the unfiltered parameter $classes.

Motivation and Context

Although this function has been deprecated in v0.9.4 it might break the body classes if a user with an older version using of Understrap understrap_adjust_body_class() upgrades to a newer version.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I pulled my branch from develop.
  • I am submitting my pull request to develop.
  • I have resolved any conflicts merging this pull request would create.
  • I have checked that there aren't other open Pull Requests for the same update/change.
  • My code follows the code style of this project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • composer cs:check has passed locally.
  • composer lint:php has passed locally.
  • I have read the CONTRIBUTING document.

@bacoords bacoords merged commit 5c3d358 into understrap:develop Nov 5, 2022
@IanDelMar IanDelMar deleted the fix-understrap-adjust-body-class branch November 6, 2022 01:36
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.

None yet

2 participants