-
Notifications
You must be signed in to change notification settings - Fork 134
Release 3.0.0 #1398
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
Merged
Merged
Release 3.0.0 #1398
Conversation
This file contains hidden or 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
* Remove now unused gp_urldecode_deep(). * Improve docs for gp_post() and gp_get().
* Fix WPCS: WordPress.WhiteSpace.ControlStructureSpacing.OpenBraceNotSameLine * Fix WPCS: WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterStructureOpen * Fix WPCS: WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBetweenStructureColon * Fix WPCS: WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterCloseParenthesis * Fix WPCS: WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeCloseParenthesis * Fix WPCS: WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterOpenParenthesis * Fix WPCS: WordPress.WhiteSpace.ControlStructureSpacing.ExtraSpaceBeforeCloseParenthesis * Fix WPCS: WordPress.WhiteSpace.ControlStructureSpacing.ExtraSpaceAfterOpenParenthesis Co-authored-by: Dominik Schilling <dominikschilling+git@gmail.com>
…nslation string (#1061)
* Fix WPCS: WordPress.WhiteSpace.OperatorSpacing.NoSpaceBefore * Fix WPCS: WordPress.WhiteSpace.OperatorSpacing.NoSpaceAfter * Fix WPCS: WordPress.WhiteSpace.OperatorSpacing.SpacingAfter
* Update wp-dev-lib to latest version * Add composer.lock * Add missing mysql service * Enable fast_finish for jobs * Add quotes to path * Fix misplaced parenthesis * Don't remove xdebug for codecoverage job * Define OS for Travis * Run codecoverage with a more recent PHP version * Remove obsolete PHP version check, minimum is 5.6
* Fix WPCS: WordPress.Arrays.CommaAfterArrayItem.CommaAfterLast * Fix WPCS: WordPress.Arrays.CommaAfterArrayItem.NoComma * Fix WPCS: WordPress.Arrays.ArrayDeclarationSpacing.SpaceInEmptyArray * Fix WPCS: WordPress.Arrays.ArrayDeclarationSpacing.NoSpaceAfterArrayOpener * Fix WPCS: WordPress.Arrays.ArrayDeclarationSpacing.NoSpaceBeforeArrayCloser * Fix WPCS: WordPress.Arrays.ArrayDeclarationSpacing.ArrayItemNoNewLine * Fix WPCS: WordPress.Arrays.ArrayKeySpacingRestrictions.NoSpacesAroundArrayKeys * Fix WPCS: WordPress.Arrays.ArrayKeySpacingRestrictions.SpacesAroundArrayKeys * Fix WPCS: WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned * Fix WPCS: WordPress.Arrays.ArrayDeclarationSpacing.AssociativeArrayFound * Fix WPCS: WordPress.Arrays.ArrayDeclarationSpacing.CloseBraceNewLine * Fix WPCS: WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned * Fix WPCS: WordPress.Arrays.CommaAfterArrayItem.NoComma Co-authored-by: Dominik Schilling <dominikschilling+git@gmail.com>
* Fix WPCS: Generic.Formatting.DisallowMultipleStatements.SameLine * Fix WPCS: Generic.Formatting.SpaceAfterCast.NoSpace
* Use proper encoding/decoding in GP_Project::by_path() * Add tests * Use urldecode() for slug input
* Fix WPCS: Generic.Arrays.DisallowShortArraySyntax.Found * Fix WPCS: Generic.CodeAnalysis.ForLoopWithTestFunctionCall.NotAllowed * Fix WPCS: Generic.Commenting.DocComment.SpacingAfter * Fix WPCS: Generic.Commenting.DocComment.SpacingBeforeTags * Fix WPCS: Generic.ControlStructures.InlineControlStructure.NotAllowed * Fix WPCS: Generic.Formatting.MultipleStatementAlignment.IncorrectWarning * Fix WPCS: Generic.Formatting.MultipleStatementAlignment.NotSameWarning * Fix WPCS: Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma * Fix WPCS: Generic.Functions.FunctionCallArgumentSpacing.SpaceBeforeComma * Fix WPCS: Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma * Fix WPCS: Generic.PHP.ForbiddenFunctions.FoundWithAlternative * Fix WPCS: Generic.PHP.LowerCaseConstant.Found * Fix WPCS: Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed * Fix some introduced WPCS issues related to `Squiz.ControlStructures.ControlSignature.NewlineAfterOpenBrace` * Fix WPCS: Generic.Formatting.MultipleStatementAlignment * Fix WPCS: Remove extra precision alignment space. * Fix WPCS: Generic.Formatting.MultipleStatementAlignment * Fix WPCS: Generic.WhiteSpace.ScopeIndent * Fix WPCS: Generic.ControlStructures.InlineControlStructure.NotAllowed * Apply suggestions from code review Co-authored-by: Dominik Schilling <dominikschilling+git@gmail.com>
Also add a specific job that only runs the lint checks.
* Fix WPCS: PSR2.Methods.MethodDeclaration.StaticBeforeVisibility * Fix WPCS: PSR2.Methods.MethodDeclaration.AbstractAfterVisibility * Fix WPCS: PSR2.ControlStructures.SwitchDeclaration.SpaceBeforeColonCASE * Fix WPCS: PSR2.ControlStructures.ElseIfDeclaration.NotAllowed * Fix WPCS: PEAR.Functions.FunctionCallSignature.SpaceBeforeOpenBracket * Fix WPCS: PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket * Fix WPCS: PEAR.Functions.FunctionCallSignature.Space(*) before and after brackets * Fix WPCS: PSR2.Methods.MethodDeclaration.StaticBeforeVisibility * Fix WPCS: PEAR.Functions.FunctionCallSignature.MultipleArguments * Fix WPCS: PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket * Fix WPCS: PEAR.Files.IncludingFile.UseRequireOnce * Fix WPCS: PEAR.Files.IncludingFile.BracketsNotRequired * Fix WPCS: PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket * Fix WPCS: PEAR.Functions.FunctionCallSignature.MultipleArguments
* Fix WPCS: Squiz.PHP.EmbeddedPhp.SpacingAfterOpen * Fix WPCS: Squiz.PHP.EmbeddedPhp.ContentAfterOpen * Fix WPCS: Squiz.PHP.EmbeddedPhp... before end, after begining and indentation * Fix WPCS: Squiz.PHP.EmbeddedPhp.ContentBeforeEnd * Fix WPCS: Squiz.PHP.EmbeddedPhp.NoSemicolon * Fix WPCS: Squiz.PHP.EmbeddedPhp.SpacingBeforeClose * Fix WPCS: Squiz.PHP.EmbeddedPhp.ContentBeforeOpen * Fix WPCS: Squiz.PHP.EmbeddedPhp.ContentBeforeEnd * Fix WPCS: Squiz.WhiteSpace.SemicolonSpacing.Incorrect * Fix WPCS: Squiz.Commenting.BlockComment.NoNewLine * Fix WPCS: Squiz.Commenting.FunctionComment.SpacingAfterParamType * Fix WPCS: Squiz.Commenting.InlineComment.NoSpaceBefore * Fix WPCS: Squiz.Strings.DoubleQuoteUsage.NotRequired * Fix WPCS: Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBracket * Fix WPCS: Squiz.Strings.ConcatenationSpacing * Fix WPCS: Squiz.Functions.FunctionDeclarationArgumentSpacing.SpaceAfterEquals * Fix WPCS: WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBetweenStructureColon * Fix WPCS: WordPress.Classes.ClassInstantiation.MissingParenthesis * Fix WPCS: WordPress.Arrays.MultipleStatementAlignment.LongIndexSpaceBeforeDoubleArrow * Fix WPCS: WordPress.WhiteSpace.PrecisionAlignment.Found * Fix WPCS: Generic.Formatting.MultipleStatementAlignment.NotSameWarning * Increase maxColumn of multistatement arrays alignment to 80
Bumps [@wordpress/scripts](https://github.com/WordPress/gutenberg/tree/HEAD/packages/scripts) from 22.2.1 to 22.3.0. - [Release notes](https://github.com/WordPress/gutenberg/releases) - [Changelog](https://github.com/WordPress/gutenberg/blob/trunk/packages/scripts/CHANGELOG.md) - [Commits](https://github.com/WordPress/gutenberg/commits/@wordpress/scripts@22.3.0/packages/scripts) --- updated-dependencies: - dependency-name: "@wordpress/scripts" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
The use of the environment config already creates a deployment task.
…th hyphens (#1359) * Add missing punctuation * Don't add similar terms to multiple word terms * Add 'ed', 'ion', and 'ing' to suffix list for glossary term ending with 'e' * Search terms with multiple words first and with single words last * Split translation by glossary terms search * Supports terms with words with hyphens * Fix comment * also preg_quote multiple word terms * Search by word count, allowing multiple words and hyphened words first * Strict check * Use preg_quote() a single time immediatly before the search * Revert adding 'ed', 'ion', and 'ing' to suffix list for glossary term ending with 'e' * Add test cases * Don't use accents * Add empty comments to test cases * Remove comments from glossary entries in test cases * Rename test case method name
Bumps [grunt-contrib-uglify](https://github.com/gruntjs/grunt-contrib-uglify) from 5.0.1 to 5.1.0. - [Release notes](https://github.com/gruntjs/grunt-contrib-uglify/releases) - [Changelog](https://github.com/gruntjs/grunt-contrib-uglify/blob/main/CHANGELOG) - [Commits](gruntjs/grunt-contrib-uglify@v5.0.1...v5.1.0) --- updated-dependencies: - dependency-name: grunt-contrib-uglify dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…English locales (#1367)
Move the current check into two validation methods to get more helpful error messages: * The field term is invalid and should be starting and ending with a word character! * The field term is invalid and should be consisting only of ASCII characters! Previous message: "Glossary terms cannot contain word break or multi-byte characters!"
Also sync headers to the main plugin file header.
…tips (#1395) * Performance improved implementation * typo * Update gp-templates/helper-functions.php Co-authored-by: Dominik Schilling <dominikschilling+git@gmail.com> * Implement review feedback Co-authored-by: Dominik Schilling <dominikschilling+git@gmail.com>
|
Rock on @ocean90 I'll defo buy you dinner if you're in Tallinn ever again :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #967.