Skip to content

Commit

Permalink
merge in version 1.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tw2113 committed Mar 31, 2021
1 parent d505210 commit deb63f4
Show file tree
Hide file tree
Showing 13 changed files with 467 additions and 207 deletions.
51 changes: 50 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,49 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

- Not documented.

## [1.7.5] - 2020-08-11
### Updated
- Addressed UI issues with WordPress 5.5.0
- Updated: Moved required minimum WordPress version to 5.5.0

## [1.7.4] - 2020-03-17
### Added
- Nonce admin verification for import functionality.
- Added: Extra escaping of markup and output for "Get Code" areas.

## [1.7.3] - 2020-02-05
### Updated
- styles and appearance to better match WordPress core.
- Updated: Change newsletter service integration. Hey, sign up for our newsletter! Props @Oceas

## [1.7.2] - 2020-01-08
### Fixed
- Duplicate entries for "delete_with_user" in get code.
- Fixed: Delete button for post types and taxonomies at bottom of page did not trigger dialog prompt.

## [1.7.1] - 2019-11-06
### Fixed
- Random-ish redirects to the "Add new" tab for post types or taxonomies
- Fixed: JavaScript error when trying to delete a taxonomy.

## [1.7.0] - 2019-11-06
### Added
- Actually added this time: Delete with user support for post types. Managed to miss the code with 1.6.0 which was a
long time ago.
- Added: Ability to disable registration of post types or taxonomies, via code filter, without deleting them completely
from settings.
- Added: New post type labels introduced in WordPress 5.0.0.
- Added: Link to Dashicon documentation for when editing menu icon. Props @juliekuehl
- Added: Ability to automatically fill in additional labels based on chosen plural and singular label text.
### Updated
-Updated: Added post type templates documentation to help section.
-Updated: Redirect user to the "add" tab if deleting the last post type or taxonomy created.
-Updated: Touched up tab markup to match semantic improvements provided by WordPress 5.2.0.
### Fixed
- Fixed: potential duplicate output of "parent_item_colon" with "Get Code" output.
### Misc
- Misc: Added code of conduct file to github repo. Props GaryJones.

## [1.6.2] - 2019-05-20
### Added
- "themes" is now a reserved post type slug due to conflicts with WordPress internally.
Expand Down Expand Up @@ -437,7 +480,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

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

[Unreleased]: https://github.com/WebDevStudios/custom-post-type-ui/compare/1.6.2...HEAD
[Unreleased]: https://github.com/WebDevStudios/custom-post-type-ui/compare/1.7.5...HEAD
[1.7.5]: https://github.com/WebDevStudios/custom-post-type-ui/compare/1.7.4...1.7.5
[1.7.4]: https://github.com/WebDevStudios/custom-post-type-ui/compare/1.7.3...1.7.4
[1.7.3]: https://github.com/WebDevStudios/custom-post-type-ui/compare/1.7.2...1.7.3
[1.7.2]: https://github.com/WebDevStudios/custom-post-type-ui/compare/1.7.1...1.7.2
[1.7.1]: https://github.com/WebDevStudios/custom-post-type-ui/compare/1.7.0...1.7.1
[1.7.0]: https://github.com/WebDevStudios/custom-post-type-ui/compare/1.6.2...1.7.0
[1.6.2]: https://github.com/WebDevStudios/custom-post-type-ui/compare/1.6.1...1.6.2
[1.6.1]: https://github.com/WebDevStudios/custom-post-type-ui/compare/1.6.0...1.6.1
[1.6.0]: https://github.com/WebDevStudios/custom-post-type-ui/compare/1.5.8...1.6.0
Expand Down
80 changes: 40 additions & 40 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
{
"name": "webdevstudios/custom-post-type-ui",
"description": "Custom Post Type UI Plugin for Wordpress found at https://wordpress.org/plugins/custom-post-type-ui/ ",
"homepage": "https://github.com/WebDevStudios/custom-post-type-ui",
"type": "wordpress-plugin",
"keywords": ["custom post types", "taxonomies", "CPT", "CMS", "post type", "custom-post-type", "taxonomy", "tax"],
"license": "GPL-2.0+",
"authors": [
{
"name": "WebDevStudios",
"email": "[email protected]",
"homepage": "https://github.com/WebDevStudios/custom-post-type-ui"
}
],
"support": {
"issues": "https://github.com/WebDevStudios/custom-post-type-ui",
"forum": "https://wordpress.org/support/plugin/custom-post-type-ui",
"docs": "http://docs.pluginize.com/"
},
"config": {
"sort-order": true
},
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": "^5.2|^7",
"composer/installers": "~1.0",
"roave/security-advisories": "dev-master"
},
"require-dev": {
"php": "^5.6|^7.0",
"brain/monkey": "^2.0",
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.3",
"johnbillion/php-docs-standards": "~1.0",
"phpunit/phpunit": "^5.7",
"sirbrillig/phpcs-variable-analysis": "^2.0",
"wimg/php-compatibility": "^8.0.1",
"wp-coding-standards/wpcs": "^0.14.0"
}
}
{
"name": "webdevstudios/custom-post-type-ui",
"description": "Custom Post Type UI Plugin for Wordpress found at https://wordpress.org/plugins/custom-post-type-ui/ ",
"homepage": "https://github.com/WebDevStudios/custom-post-type-ui",
"type": "wordpress-plugin",
"keywords": ["custom post types", "taxonomies", "CPT", "CMS", "post type", "custom-post-type", "taxonomy", "tax"],
"license": "GPL-2.0+",
"authors": [
{
"name": "WebDevStudios",
"email": "[email protected]",
"homepage": "https://github.com/WebDevStudios/custom-post-type-ui"
}
],
"support": {
"issues": "https://github.com/WebDevStudios/custom-post-type-ui",
"forum": "https://wordpress.org/support/plugin/custom-post-type-ui",
"docs": "http://docs.pluginize.com/"
},
"config": {
"sort-order": true
},
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": "^5.6|^7",
"composer/installers": "~1.0",
"roave/security-advisories": "dev-master"
},
"require-dev": {
"php": "^5.6|^7.0",
"brain/monkey": "^2.0",
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.3",
"johnbillion/php-docs-standards": "~1.0",
"phpunit/phpunit": "^5.7",
"sirbrillig/phpcs-variable-analysis": "^2.0",
"wimg/php-compatibility": "^8.0.1",
"wp-coding-standards/wpcs": "^2.3.0"
}
}
46 changes: 5 additions & 41 deletions css/cptui.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,21 +32,12 @@
color: red;
}

.cptui-table #excerpt {
display: inline-block;
height: 16px;
margin: 12px 4px 12px 0;
width: auto;
}

.cptui-table td.outer {
vertical-align: top;
width: 50%;
}

.cptui-table input[type="text"],
.cptui-new .cptui-table textarea,
.cptui-edit .cptui-table textarea {
.cptui-table input[type="text"] {
width: 75%;
}

Expand All @@ -72,10 +63,6 @@
display: none;
}

.cpt-ui_page_cptui_tools .cptui-table .outer p {
padding: 0 4px;
}

.cptui-support #support .question {
font-size: 18px;
font-weight: bold;
Expand Down Expand Up @@ -185,19 +172,6 @@
-moz-osx-font-smoothing: grayscale;
}

.rtl .about-wrap .feature-rest div {
padding-left: 100px;
}

.rtl .about-wrap .feature-rest div.last-feature {
padding-right: 100px;
padding-left: 0;
}

.rtl .about-wrap .feature-rest div.icon:before {
margin: 0 -100px 0 0;
}

.about-wrap .about-integrations {
background: #fff;
margin: 20px 0;
Expand All @@ -222,21 +196,17 @@
color: #cccccc;
}

.email-octopus-form-row-hp {
visibility: hidden;
}

.cptui-intro-devblock {
display: -ms-flexbox;
display: flex;
-ms-flex-direction: row;
flex-direction: row;
}

#togglelabels {
display: none;
}

.js #togglelabels {
display: inline-block;
}

.cptui-help {
color: #424242;
margin-left: 4px;
Expand Down Expand Up @@ -270,12 +240,6 @@ fieldset .cptui-help {
width: 20px;
}

#toplevel_page_cptui_main_menu img {
height: 20px;
margin-top: -2px;
width: 20px;
}

.visuallyhidden {
position: absolute;
left: -10000px;
Expand Down
2 changes: 1 addition & 1 deletion css/cptui.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

50 changes: 5 additions & 45 deletions css/cptui.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,11 @@ $max-tablet: "screen and (max-width: 768px)";
}
}
.cptui-table {
#excerpt {
display: inline-block;
height: 16px;
margin: 12px 4px 12px 0;
width: auto;
}
td.outer {
vertical-align: top;
width: 50%;
}
input[type="text"],
.cptui-new & textarea,
.cptui-edit & textarea {
input[type="text"] {
width: 75%;
}
.question:hover {
Expand All @@ -63,15 +55,6 @@ $max-tablet: "screen and (max-width: 768px)";
}
}
}
.cpt-ui_page_cptui_tools {
.cptui-table {
.outer {
p {
padding: 0 4px;
}
}
}
}

.cptui-support #support {
.question {
Expand Down Expand Up @@ -173,20 +156,6 @@ $max-tablet: "screen and (max-width: 768px)";
}
}
}
.rtl {
.about-wrap {
.feature-rest div {
padding-left: 100px;
}
.feature-rest div.last-feature {
padding-right: 100px;
padding-left: 0;
}
.feature-rest div.icon:before {
margin: 0 -100px 0 0;
}
}
}
.about-wrap {
.about-integrations {
background: #fff;
Expand All @@ -209,17 +178,14 @@ $max-tablet: "screen and (max-width: 768px)";
color: #cccccc;
}
}
.email-octopus-form-row-hp {
visibility: hidden;
}
.cptui-intro-devblock{
display: flex;
flex-direction: row;
}

#togglelabels {
display: none;
.js & {
display: inline-block;
}
}
.cptui-help {
color: #424242;
margin-left: 4px;
Expand Down Expand Up @@ -248,13 +214,7 @@ $max-tablet: "screen and (max-width: 768px)";
width: 20px;
}
}
#toplevel_page_cptui_main_menu {
img {
height: 20px;
margin-top: -2px;
width: 20px;
}
}

.visuallyhidden {
position: absolute;
left: -10000px;
Expand Down
Loading

0 comments on commit deb63f4

Please sign in to comment.