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

Add a populate capabilities flag for brand data #121

Merged
merged 10 commits into from
Oct 28, 2024

Conversation

arunshenoy99
Copy link
Member

@arunshenoy99 arunshenoy99 commented Oct 28, 2024

Proposed changes

This PR adds a $populate_capabilities flag to the brand data configuration to ensure it is populated only when needed.

Type of Change

  • Bugfix (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 not work as expected)
  • Documentation Update (if none of the other choices apply)

Video

Checklist

  • I have read the CONTRIBUTING doc
  • I have viewed my change in a web-browser
  • Linting and tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Further comments

@wpscholar
Copy link
Member

Update: I've removed the flag from the functions in favor of a small change directly in the Config::get_site_capability() method. I've also merged the PR #120 into this PR.

@wpscholar wpscholar mentioned this pull request Oct 28, 2024
9 tasks
@wpscholar wpscholar merged commit 99d9047 into main Oct 28, 2024
2 checks passed
@wpscholar wpscholar deleted the add/populate-capabilities-flag branch October 28, 2024 17:39
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