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 slash to wp method #1

Merged
merged 1 commit into from
May 10, 2024
Merged

add slash to wp method #1

merged 1 commit into from
May 10, 2024

Conversation

circlecube
Copy link
Member

The wp get_option method is causing issues when running lint in other projects. This should properly scope it.

PHP Fatal error: Uncaught Error: Call to undefined function WP_Forge\Options\get_option() in /vendor/wp-forge/wp-options/includes/Options.php:52

Proposed changes

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)

Checklist

  • [] 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

The wp get_option method is causing issues when running lint in other projects. This should properly scope it.
@wpscholar wpscholar merged commit 511b1c5 into wp-forge:master May 10, 2024
1 check passed
@circlecube circlecube deleted the patch-1 branch May 10, 2024 20: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