Skip to content

Commit

Permalink
Merge pull request #111 from 10up/upkeep/102
Browse files Browse the repository at this point in the history
upkeep/102: bump min WP and PHP versions
  • Loading branch information
Sidsector9 authored Jan 17, 2023
2 parents 73fab0b + 1908791 commit d0d5ad5
Show file tree
Hide file tree
Showing 10 changed files with 4,504 additions and 4,986 deletions.
1 change: 1 addition & 0 deletions .distignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@
/package.json
/README.md
/webpack.config.js
/.nvmrc
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@
/package.json export-ignore
/README.md export-ignore
/webpack.config.js export-ignore
/.nvmrc export-ignore
2 changes: 1 addition & 1 deletion .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
matrix:
core:
- {name: 'WP latest', version: 'latest'}
- {name: 'WP minimum', version: 'WordPress/WordPress#4.9'}
- {name: 'WP minimum', version: 'WordPress/WordPress#5.7'}
- {name: 'WP trunk', version: 'WordPress/WordPress#master'}
steps:
- name: Checkout
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/php-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
php-compatibility:
name: PHP minimum 5.6
name: PHP minimum 7.4
runs-on: ubuntu-latest

steps:
Expand All @@ -21,12 +21,12 @@ jobs:
- name: Set PHP version
uses: shivammathur/setup-php@v2
with:
php-version: 7.0
php-version: 7.4
tools: composer:v2
coverage: none

- name: Install dependencies
run: composer install

- name: Run PHP Compatibility
run: vendor/bin/phpcs simple-page-ordering.php --standard=PHPCompatibilityWP --extensions=php --runtime-set testVersion 5.6-
run: vendor/bin/phpcs simple-page-ordering.php --standard=PHPCompatibilityWP --extensions=php --runtime-set testVersion 7.4-
2 changes: 1 addition & 1 deletion .github/workflows/phpcs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Set PHP version
uses: shivammathur/setup-php@v2
with:
php-version: '7.3'
php-version: '7.4'
tools: composer:v2
coverage: none

Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v16
9,460 changes: 4,489 additions & 4,971 deletions package-lock.json

Large diffs are not rendered by default.

11 changes: 3 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,10 @@
"@10up/cypress-wp-utils": "github:10up/cypress-wp-utils#build",
"@wordpress/dependency-extraction-webpack-plugin": "^3.4.1",
"@wordpress/env": "^5.3.0",
"10up-toolkit": "^4.0.0",
"10up-toolkit": "^4.3.1",
"cypress": "^9.5.2",
"node-wp-i18n": "^1.2.6",
"grunt": "^1.5.3",
"grunt-autoprefixer": "^3.0.4",
"grunt-contrib-uglify": "^5.0.1",
"grunt-contrib-watch": "^1.1.0",
"grunt-sass": "^3.1.0",
"node-sass": "^7.0.3"
"node-sass": "^7.0.3",
"node-wp-i18n": "^1.2.6"
},
"scripts": {
"cypress:open": "cypress open --config-file tests/cypress/config.json",
Expand Down
3 changes: 2 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
Contributors: 10up, jakemgold, welcher, helen, thinkoomph, jeffpaul
Donate link: http://10up.com/plugins/simple-page-ordering-wordpress/
Tags: order, re-order, ordering, pages, page, manage, menu_order, hierarchical, ajax, drag-and-drop, admin
Requires at least: 3.8
Requires at least: 5.7
Requires PHP: 7.4
Tested up to: 6.1
Stable tag: 2.4.4
License: GPLv2 or later
Expand Down
3 changes: 2 additions & 1 deletion simple-page-ordering.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
* Plugin URI: http://10up.com/plugins/simple-page-ordering-wordpress/
* Description: Order your pages and hierarchical post types using drag and drop on the built in page list. For further instructions, open the "Help" tab on the Pages screen.
* Version: 2.4.4
* Requires at least: 3.8
* Requires at least: 5.7
* Requires PHP: 7.4
* Author: 10up
* Author URI: https://10up.com
* License: GPLv2 or later
Expand Down

0 comments on commit d0d5ad5

Please sign in to comment.