Skip to content

Commit deb63f4

Browse files
committed
merge in version 1.9.0
1 parent d505210 commit deb63f4

13 files changed

+467
-207
lines changed

CHANGELOG.md

Lines changed: 50 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,49 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
99

1010
- Not documented.
1111

12+
## [1.7.5] - 2020-08-11
13+
### Updated
14+
- Addressed UI issues with WordPress 5.5.0
15+
- Updated: Moved required minimum WordPress version to 5.5.0
16+
17+
## [1.7.4] - 2020-03-17
18+
### Added
19+
- Nonce admin verification for import functionality.
20+
- Added: Extra escaping of markup and output for "Get Code" areas.
21+
22+
## [1.7.3] - 2020-02-05
23+
### Updated
24+
- styles and appearance to better match WordPress core.
25+
- Updated: Change newsletter service integration. Hey, sign up for our newsletter! Props @Oceas
26+
27+
## [1.7.2] - 2020-01-08
28+
### Fixed
29+
- Duplicate entries for "delete_with_user" in get code.
30+
- Fixed: Delete button for post types and taxonomies at bottom of page did not trigger dialog prompt.
31+
32+
## [1.7.1] - 2019-11-06
33+
### Fixed
34+
- Random-ish redirects to the "Add new" tab for post types or taxonomies
35+
- Fixed: JavaScript error when trying to delete a taxonomy.
36+
37+
## [1.7.0] - 2019-11-06
38+
### Added
39+
- Actually added this time: Delete with user support for post types. Managed to miss the code with 1.6.0 which was a
40+
long time ago.
41+
- Added: Ability to disable registration of post types or taxonomies, via code filter, without deleting them completely
42+
from settings.
43+
- Added: New post type labels introduced in WordPress 5.0.0.
44+
- Added: Link to Dashicon documentation for when editing menu icon. Props @juliekuehl
45+
- Added: Ability to automatically fill in additional labels based on chosen plural and singular label text.
46+
### Updated
47+
-Updated: Added post type templates documentation to help section.
48+
-Updated: Redirect user to the "add" tab if deleting the last post type or taxonomy created.
49+
-Updated: Touched up tab markup to match semantic improvements provided by WordPress 5.2.0.
50+
### Fixed
51+
- Fixed: potential duplicate output of "parent_item_colon" with "Get Code" output.
52+
### Misc
53+
- Misc: Added code of conduct file to github repo. Props GaryJones.
54+
1255
## [1.6.2] - 2019-05-20
1356
### Added
1457
- "themes" is now a reserved post type slug due to conflicts with WordPress internally.
@@ -437,7 +480,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
437480

438481
[Gary Jones]: https://github.com/GaryJones
439482

440-
[Unreleased]: https://github.com/WebDevStudios/custom-post-type-ui/compare/1.6.2...HEAD
483+
[Unreleased]: https://github.com/WebDevStudios/custom-post-type-ui/compare/1.7.5...HEAD
484+
[1.7.5]: https://github.com/WebDevStudios/custom-post-type-ui/compare/1.7.4...1.7.5
485+
[1.7.4]: https://github.com/WebDevStudios/custom-post-type-ui/compare/1.7.3...1.7.4
486+
[1.7.3]: https://github.com/WebDevStudios/custom-post-type-ui/compare/1.7.2...1.7.3
487+
[1.7.2]: https://github.com/WebDevStudios/custom-post-type-ui/compare/1.7.1...1.7.2
488+
[1.7.1]: https://github.com/WebDevStudios/custom-post-type-ui/compare/1.7.0...1.7.1
489+
[1.7.0]: https://github.com/WebDevStudios/custom-post-type-ui/compare/1.6.2...1.7.0
441490
[1.6.2]: https://github.com/WebDevStudios/custom-post-type-ui/compare/1.6.1...1.6.2
442491
[1.6.1]: https://github.com/WebDevStudios/custom-post-type-ui/compare/1.6.0...1.6.1
443492
[1.6.0]: https://github.com/WebDevStudios/custom-post-type-ui/compare/1.5.8...1.6.0

composer.json

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,40 @@
1-
{
2-
"name": "webdevstudios/custom-post-type-ui",
3-
"description": "Custom Post Type UI Plugin for Wordpress found at https://wordpress.org/plugins/custom-post-type-ui/ ",
4-
"homepage": "https://github.com/WebDevStudios/custom-post-type-ui",
5-
"type": "wordpress-plugin",
6-
"keywords": ["custom post types", "taxonomies", "CPT", "CMS", "post type", "custom-post-type", "taxonomy", "tax"],
7-
"license": "GPL-2.0+",
8-
"authors": [
9-
{
10-
"name": "WebDevStudios",
11-
"email": "contact@webdevstudios.com",
12-
"homepage": "https://github.com/WebDevStudios/custom-post-type-ui"
13-
}
14-
],
15-
"support": {
16-
"issues": "https://github.com/WebDevStudios/custom-post-type-ui",
17-
"forum": "https://wordpress.org/support/plugin/custom-post-type-ui",
18-
"docs": "http://docs.pluginize.com/"
19-
},
20-
"config": {
21-
"sort-order": true
22-
},
23-
"minimum-stability": "dev",
24-
"prefer-stable": true,
25-
"require": {
26-
"php": "^5.2|^7",
27-
"composer/installers": "~1.0",
28-
"roave/security-advisories": "dev-master"
29-
},
30-
"require-dev": {
31-
"php": "^5.6|^7.0",
32-
"brain/monkey": "^2.0",
33-
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.3",
34-
"johnbillion/php-docs-standards": "~1.0",
35-
"phpunit/phpunit": "^5.7",
36-
"sirbrillig/phpcs-variable-analysis": "^2.0",
37-
"wimg/php-compatibility": "^8.0.1",
38-
"wp-coding-standards/wpcs": "^0.14.0"
39-
}
40-
}
1+
{
2+
"name": "webdevstudios/custom-post-type-ui",
3+
"description": "Custom Post Type UI Plugin for Wordpress found at https://wordpress.org/plugins/custom-post-type-ui/ ",
4+
"homepage": "https://github.com/WebDevStudios/custom-post-type-ui",
5+
"type": "wordpress-plugin",
6+
"keywords": ["custom post types", "taxonomies", "CPT", "CMS", "post type", "custom-post-type", "taxonomy", "tax"],
7+
"license": "GPL-2.0+",
8+
"authors": [
9+
{
10+
"name": "WebDevStudios",
11+
"email": "contact@webdevstudios.com",
12+
"homepage": "https://github.com/WebDevStudios/custom-post-type-ui"
13+
}
14+
],
15+
"support": {
16+
"issues": "https://github.com/WebDevStudios/custom-post-type-ui",
17+
"forum": "https://wordpress.org/support/plugin/custom-post-type-ui",
18+
"docs": "http://docs.pluginize.com/"
19+
},
20+
"config": {
21+
"sort-order": true
22+
},
23+
"minimum-stability": "dev",
24+
"prefer-stable": true,
25+
"require": {
26+
"php": "^5.6|^7",
27+
"composer/installers": "~1.0",
28+
"roave/security-advisories": "dev-master"
29+
},
30+
"require-dev": {
31+
"php": "^5.6|^7.0",
32+
"brain/monkey": "^2.0",
33+
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.3",
34+
"johnbillion/php-docs-standards": "~1.0",
35+
"phpunit/phpunit": "^5.7",
36+
"sirbrillig/phpcs-variable-analysis": "^2.0",
37+
"wimg/php-compatibility": "^8.0.1",
38+
"wp-coding-standards/wpcs": "^2.3.0"
39+
}
40+
}

css/cptui.css

Lines changed: 5 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,12 @@
3232
color: red;
3333
}
3434

35-
.cptui-table #excerpt {
36-
display: inline-block;
37-
height: 16px;
38-
margin: 12px 4px 12px 0;
39-
width: auto;
40-
}
41-
4235
.cptui-table td.outer {
4336
vertical-align: top;
4437
width: 50%;
4538
}
4639

47-
.cptui-table input[type="text"],
48-
.cptui-new .cptui-table textarea,
49-
.cptui-edit .cptui-table textarea {
40+
.cptui-table input[type="text"] {
5041
width: 75%;
5142
}
5243

@@ -72,10 +63,6 @@
7263
display: none;
7364
}
7465

75-
.cpt-ui_page_cptui_tools .cptui-table .outer p {
76-
padding: 0 4px;
77-
}
78-
7966
.cptui-support #support .question {
8067
font-size: 18px;
8168
font-weight: bold;
@@ -185,19 +172,6 @@
185172
-moz-osx-font-smoothing: grayscale;
186173
}
187174

188-
.rtl .about-wrap .feature-rest div {
189-
padding-left: 100px;
190-
}
191-
192-
.rtl .about-wrap .feature-rest div.last-feature {
193-
padding-right: 100px;
194-
padding-left: 0;
195-
}
196-
197-
.rtl .about-wrap .feature-rest div.icon:before {
198-
margin: 0 -100px 0 0;
199-
}
200-
201175
.about-wrap .about-integrations {
202176
background: #fff;
203177
margin: 20px 0;
@@ -222,21 +196,17 @@
222196
color: #cccccc;
223197
}
224198

199+
.email-octopus-form-row-hp {
200+
visibility: hidden;
201+
}
202+
225203
.cptui-intro-devblock {
226204
display: -ms-flexbox;
227205
display: flex;
228206
-ms-flex-direction: row;
229207
flex-direction: row;
230208
}
231209

232-
#togglelabels {
233-
display: none;
234-
}
235-
236-
.js #togglelabels {
237-
display: inline-block;
238-
}
239-
240210
.cptui-help {
241211
color: #424242;
242212
margin-left: 4px;
@@ -270,12 +240,6 @@ fieldset .cptui-help {
270240
width: 20px;
271241
}
272242

273-
#toplevel_page_cptui_main_menu img {
274-
height: 20px;
275-
margin-top: -2px;
276-
width: 20px;
277-
}
278-
279243
.visuallyhidden {
280244
position: absolute;
281245
left: -10000px;

css/cptui.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/cptui.scss

Lines changed: 5 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,11 @@ $max-tablet: "screen and (max-width: 768px)";
2929
}
3030
}
3131
.cptui-table {
32-
#excerpt {
33-
display: inline-block;
34-
height: 16px;
35-
margin: 12px 4px 12px 0;
36-
width: auto;
37-
}
3832
td.outer {
3933
vertical-align: top;
4034
width: 50%;
4135
}
42-
input[type="text"],
43-
.cptui-new & textarea,
44-
.cptui-edit & textarea {
36+
input[type="text"] {
4537
width: 75%;
4638
}
4739
.question:hover {
@@ -63,15 +55,6 @@ $max-tablet: "screen and (max-width: 768px)";
6355
}
6456
}
6557
}
66-
.cpt-ui_page_cptui_tools {
67-
.cptui-table {
68-
.outer {
69-
p {
70-
padding: 0 4px;
71-
}
72-
}
73-
}
74-
}
7558

7659
.cptui-support #support {
7760
.question {
@@ -173,20 +156,6 @@ $max-tablet: "screen and (max-width: 768px)";
173156
}
174157
}
175158
}
176-
.rtl {
177-
.about-wrap {
178-
.feature-rest div {
179-
padding-left: 100px;
180-
}
181-
.feature-rest div.last-feature {
182-
padding-right: 100px;
183-
padding-left: 0;
184-
}
185-
.feature-rest div.icon:before {
186-
margin: 0 -100px 0 0;
187-
}
188-
}
189-
}
190159
.about-wrap {
191160
.about-integrations {
192161
background: #fff;
@@ -209,17 +178,14 @@ $max-tablet: "screen and (max-width: 768px)";
209178
color: #cccccc;
210179
}
211180
}
181+
.email-octopus-form-row-hp {
182+
visibility: hidden;
183+
}
212184
.cptui-intro-devblock{
213185
display: flex;
214186
flex-direction: row;
215187
}
216188

217-
#togglelabels {
218-
display: none;
219-
.js & {
220-
display: inline-block;
221-
}
222-
}
223189
.cptui-help {
224190
color: #424242;
225191
margin-left: 4px;
@@ -248,13 +214,7 @@ $max-tablet: "screen and (max-width: 768px)";
248214
width: 20px;
249215
}
250216
}
251-
#toplevel_page_cptui_main_menu {
252-
img {
253-
height: 20px;
254-
margin-top: -2px;
255-
width: 20px;
256-
}
257-
}
217+
258218
.visuallyhidden {
259219
position: absolute;
260220
left: -10000px;

0 commit comments

Comments
 (0)