-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGS-8452] add callback info to filtered message (#292)
* add a new function that will get the filter callback name this way it's easier to debug because we can show people where they've added the filter * alter the filtered message with the filter callback name(s) if it's in an anonymous function, we note that. * handle the anonymous function string early so we don't need to reset it to the string we want to output later * if one callaback, wrap in code tags or just output as plaintext (if anonymous) * drop handling the 'an anonymous function' transform * add test filter callbacks * add tests * adjust linting * remove $priority not used * bump tested-up-to * apparently this is a gutenberg thing * WP 6.7 changes the output of human_time_diff * strip out alpha, beta, rc, etc tags from version these aren't valid versions, so version_compare freaks out and (incorrectly) flags 6.7-alpha-whatever as less than 6.7 🤦♂️
- Loading branch information
1 parent
b2b358b
commit 8ef69e1
Showing
4 changed files
with
114 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters