Skip to content

Commit 8743bf9

Browse files
committed
Set package type to be library again
this was lost in version swap from v3-v4
1 parent 1ac8e4d commit 8743bf9

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
## [4.0.2]
33
- Fix dropdown opener having empty string for href value.
44
- More accurate regex matching of icon and linkmod classnames.
5+
- Changed composer package type to `library` from `wordpress-plugin` again.
56

67
## [4.0.1]
78
- Fix untranslated string in fallback (this was lost in transition between v3 and v4, fixed again).

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "wp-bootstrap/wp-bootstrap-navwalker",
33
"description": "A custom WordPress nav walker class to fully implement the Bootstrap 4 navigation style in a custom theme using the WordPress built in menu manager.",
4-
"type": "wordpress-plugin",
4+
"type": "library",
55
"license": "GPL-3.0+",
66
"authors": [
77
{
@@ -16,6 +16,9 @@
1616
"issues": "https://github.com/wp-bootstrap/wp-bootstrap-navwalker/issues/",
1717
"source": "https://github.com/wp-bootstrap/wp-bootstrap-navwalker/"
1818
},
19+
"autoload": {
20+
"files": ["class-wp-bootstrap-navwalker.php"]
21+
},
1922
"require": {
2023
"composer/installers": "~1.0"
2124
},

0 commit comments

Comments
 (0)