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 dynamic callback method detection #1469

Merged
merged 6 commits into from
Jul 22, 2024

Conversation

shadyvb
Copy link
Contributor

@shadyvb shadyvb commented Nov 20, 2023

Fixes #1468.

Fixed the dynamic callback locating routine by removing the hyphen as a valid function name character.

Checklist

  • Project documentation has been updated to reflect the changes in this pull request, if applicable.
  • I have tested the changes in the local development environment (see contributing.md).
  • I have added phpunit tests.

Release Changelog

  • Fix: Fixed the dynamic callback locating routine by removing the hyphen as a valid function name character.

Release Checklist

  • This pull request is to the master branch.
  • Release version follows semantic versioning. Does it include breaking changes?
  • Update changelog in readme.txt.
  • Bump version in stream.php.
  • Bump Stable tag in readme.txt.
  • Bump version in classes/class-plugin.php.
  • Draft a release on GitHub.

@delawski delawski changed the base branch from master to develop July 22, 2024 11:11
Copy link
Collaborator

@delawski delawski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shadyvb Thanks for that fix 🙌

I've changed the target branch to develop since we'd like to release this update as part of the upcoming 4.0.1 release. All of my comments are just about that. I'll try to address them myself, directly in GitHub, so that we're clear right away.

classes/class-plugin.php Outdated Show resolved Hide resolved
readme.txt Outdated Show resolved Hide resolved
readme.txt Outdated Show resolved Hide resolved
stream.php Outdated Show resolved Hide resolved
Copy link
Collaborator

@delawski delawski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cleanup after resolving merge conflicts with develop directly in GH.

tests/tests/test-class-connector.php Outdated Show resolved Hide resolved
tests/tests/test-class-connector.php Outdated Show resolved Hide resolved
tests/tests/test-class-connector.php Outdated Show resolved Hide resolved
@delawski
Copy link
Collaborator

The Lint and Test task succeeded so I'm merging the PR to develop now. Thanks again, @shadyvb!

@delawski delawski merged commit c6e12ba into xwp:develop Jul 22, 2024
1 check passed
@delawski delawski added this to the 4.0.1 milestone Jul 22, 2024
@delawski delawski added the bug label Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dynamic callback function name cannot include hyphens
2 participants