Skip to content

Commit

Permalink
Merge pull request #4 from oceanwp/RC-2.0.4
Browse files Browse the repository at this point in the history
Rc 2.0.4
  • Loading branch information
eramits authored May 24, 2023
2 parents 7755dde + fd27db0 commit 6cd3154
Show file tree
Hide file tree
Showing 10 changed files with 2,104 additions and 773 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,9 @@ node_modules/
# build folder
build/

# vendor folder
vendor/

# Visual Studio 6 build log
*.plg

Expand Down
4 changes: 4 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,15 @@ module.exports = function ( grunt ) {
'**',
'!node_modules/**',
'!build/**',
'!vendor/**',
'!.git/**',
'!changelog.txt',
'!composer.json',
'!composer-lock.json',
'!Gruntfile.js',
'!package.json',
'!package-lock.json',
'!phpcs.xml.dist',
'!.csscomb.json',
'!.tern-project',
'!.gitignore',
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

**Contributors:** Nick
**Requires at least:** WordPress 5.6
**Tested up to:** WordPress 6.1.1
**Stable tag:** 2.0.3
**Tested up to:** WordPress 6.2.2
**Stable tag:** 2.0.4
**License:** GPLv2 or later
**License URI:** https://www.gnu.org/licenses/gpl-2.0.html

Expand Down
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
== Changelog ==

= 2.0.4 - MAY 23 2023 =
- Added: Compatibility: PHP 8.2.6: Creation of dynamic property Ocean_Social_Sharing::$plugin_path and Ocean_Social_Sharing::$plugin_url is deprecated.

= 2.0.3 - MAR 29 2023 =
- Updated: Version numbers for compatibility.

Expand Down
39 changes: 39 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"name": "oceanwp/ocean-social-sharing",
"type": "wordpress-plugin",
"description": "An addon plugin for OceanWP theme.",
"keywords": [
"WordPress",
"Plugins"
],
"require-dev": {
"squizlabs/php_codesniffer": "^3.5",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
"wptrt/wpthemereview": "^0.2.1",
"wp-coding-standards/wpcs": "^2.2",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"php-parallel-lint/php-parallel-lint": "^1.2.0",
"wp-cli/i18n-command": "^2.2.5"
},

"extra": {
"phpcodesniffer-search-depth": 5
},

"scripts": {
"lint:php": [
"phpcs -p .",
"parallel-lint --exclude .git --exclude vendor --exclude node_modules .",
"phpcs -p . --standard=PHPCompatibilityWP --extensions=php --runtime-set testVersion 5.6- --ignore=*/vendor/,*/node_modules/"
],
"lint:wpcs": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs",
"lint:summary": "@php ./vendor/bin/parallel-lint --exclude .git --exclude vendor --exclude node_modules .",
"make-pot": "wp i18n make-pot . languages/ocean-social-sharing.pot --exclude=build"
},

"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}
Loading

0 comments on commit 6cd3154

Please sign in to comment.