Skip to content

Commit 733f17a

Browse files
authored
Merge pull request #51 from happyprime/bump/1.2.0-release
Bump 1.2.0 release
2 parents 731692e + b020ac0 commit 733f17a

6 files changed

Lines changed: 16 additions & 6 deletions

File tree

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ Code can then be written to query and display all people or press releases relat
3535

3636
## Changelog
3737

38+
### 1.2.0
39+
40+
* Do not show "Add New" term option for shadow taxonomies, which are automatically managed. Thanks [@s3rgiosan](https://github.com/s3rgiosan)!
41+
* Do not show shadow terms in REST API to unauthenticated users if their original post type is not publicly available via REST endpoint.
42+
3843
### 1.1.0
3944

4045
* Add filtering to shadow taxonomy taxonomy arguments.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"type": "wordpress-plugin",
44
"minimum-stability": "stable",
55
"require-dev": {
6-
"happyprime/coding-standards": "^0.0.3",
6+
"happyprime/coding-standards": "*",
77
"phpcompatibility/php-compatibility": "dev-develop as 9.99.99"
88
},
99
"scripts": {

composer.lock

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

includes/taxonomy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ function can_associate_posts(): bool {
118118
*
119119
* @since 1.0.0
120120
*
121-
* @param \WP_REST_Request $request The vote submission request.
121+
* @param \WP_REST_Request $request The request to associate posts.
122122
* @return \WP_REST_Response The response data.
123123
*/
124124
function handle_rest_associate( \WP_REST_Request $request ): \WP_REST_Response {

plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* Plugin Name: Shadow Terms
44
* Description: Use terms from generated taxonomies to associate related content.
5-
* Version: 1.1.0
5+
* Version: 1.2.0
66
* Plugin URI: https://github.com/happyprime/shadow-terms/
77
* Author: Happy Prime
88
* Author URI: https://happyprime.co

readme.txt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
Contributors: happyprime, jeremyfelt, slocker, philcable, wpgirl369
33
Tags: terms, related, content
44
Requires at least: 5.9
5-
Tested up to: 6.3
6-
Stable tag: 1.1.0
5+
Tested up to: 6.4
6+
Stable tag: 1.2.0
77
License: GPLv2 or later
88
Requires PHP: 7.4
99

@@ -40,6 +40,11 @@ Code can then be written to query and display all people or press releases relat
4040

4141
## Changelog
4242

43+
### 1.2.0
44+
45+
* Do not show "Add New" term option for shadow taxonomies, which are automatically managed. Thanks [@s3rgiosan](https://profiles.wordpress.org/s3rgiosan/)!
46+
* Do not show shadow terms in REST API to unauthenticated users if their original post type is not publicly available via REST endpoint.
47+
4348
### 1.1.0
4449

4550
* Add filtering to shadow taxonomy taxonomy arguments.

0 commit comments

Comments
 (0)