Skip to content

Commit 8f2a96f

Browse files
committed
update readme
1 parent 14f7473 commit 8f2a96f

File tree

4 files changed

+67
-36
lines changed

4 files changed

+67
-36
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Contributors: Toro_Unit, inc2734, ixkaito, keita_kobayashi, strategio
44
Donate link: https://www.paypal.me/torounit
55
Tags: permalink, url, link, address, custom post type
66
Requires at least: 4.7
7-
Tested up to: 5.5
7+
Tested up to: 5.6
88
Requires PHP: 5.6
99
License: GPLv2 or Later
1010
License URI: http://www.gnu.org/licenses/gpl-2.0.txt
@@ -96,6 +96,9 @@ That's it. You can access the permalinks setting by going to *Settings -> Permal
9696

9797
## Changelog
9898

99+
### 3.4.2
100+
* Tested WP 5.6.
101+
99102
### 3.4.1
100103
* Fix readme.
101104

assets/settings-pointer.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
(function ($) {
1+
( function ( $ ) {
22

3-
$(function () {
3+
$( function () {
44

5-
if( window.CPTP_Settings_Pointer ) {
6-
$("#menu-settings .wp-has-submenu").pointer({
5+
if ( window.CPTP_Settings_Pointer ) {
6+
$( '#menu-settings .wp-has-submenu' ).pointer( {
77
content: CPTP_Settings_Pointer.content,
8-
position: {"edge": "left", "align": "center"},
8+
position: { 'edge': 'left', 'align': 'center' },
99
close: function () {
10-
$.post('admin-ajax.php', {
10+
$.post( 'admin-ajax.php', {
1111
action: 'dismiss-wp-pointer',
1212
pointer: CPTP_Settings_Pointer.name
13-
})
13+
} );
1414

1515
}
16-
}).pointer("open");
16+
} ).pointer( 'open' );
1717
}
1818

19-
})
19+
} );
2020

21-
})(jQuery);
21+
} )( jQuery );

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@
1111
],
1212
"require": {},
1313
"require-dev": {
14-
"squizlabs/php_codesniffer": "^3.4.2",
15-
"wp-coding-standards/wpcs": "^2.0",
16-
"phpcompatibility/phpcompatibility-wp": "^2.0",
17-
"dealerdirect/phpcodesniffer-composer-installer": "^0.5.0"
14+
"dealerdirect/phpcodesniffer-composer-installer": "*",
15+
"phpcompatibility/phpcompatibility-wp": "*",
16+
"squizlabs/php_codesniffer": "*",
17+
"wp-coding-standards/wpcs": "*"
1818
},
1919
"scripts": {
2020
"phpcs": [
2121
"@php vendor/bin/phpcs -p -s -v -n --standard=./.phpcs.xml.dist --extensions=php"
2222
],
23-
"autofix": [
23+
"format": [
2424
"@php vendor/bin/phpcbf --standard=./.phpcs.xml.dist --report-summary --report-source"
2525
]
2626
}

composer.lock

Lines changed: 48 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)