Skip to content

Commit

Permalink
3.5.4 release (#884)
Browse files Browse the repository at this point in the history
* Bump version

* Update changelog and readme

Change to use proper headings in README.md
  • Loading branch information
rebeccahum authored Nov 4, 2022
1 parent 5520d1e commit 9bf3660
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 23 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog for Co-Authors Plus

**3.5.4 (Nov 4, 2022)**
* Handle `WP_Error` on failed guest author creation for method `create_guest_author()` #879
* Only use `pre_handle_404` filter in non-paged result #874
* Add CLI create-author command #880
* Add template tag `co_authors_get_users()` #862
* Change permission callback for authors and search endpoint and improve `current_user_can_set_authors()` #883
* Fix tests and add IDE files #882
* Bump dependencies #866 #865 #864

**3.5.3 (Oct 24, 2022)**
* Add author taxonomy labels #860
* Add check for empty author in Jetpack Open Graph tags #861
Expand Down
31 changes: 17 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

* Contributors: batmoo, danielbachhuber, automattic
* Tags: authors, users, multiple authors, co-authors, multi-author, publishing
* Tested up to: 5.8
* Tested up to: 6.1
* Requires at least: 4.1
* Stable tag: 3.5.3
* Stable tag: 3.5.4

Assign multiple bylines to posts, pages, and custom post types via a search-as-you-type input box

Expand All @@ -20,29 +20,29 @@ This plugin is an almost complete rewrite of the [Co-Authors](https://wordpress.

## Frequently Asked Questions

* How do I add Co-Authors Plus support to my theme?
### How do I add Co-Authors Plus support to my theme?

If you've just installed Co-Authors Plus, you might notice that the bylines are being added in the backend but aren't appearing on the frontend. You'll need to [add the template tags to your theme](http://vip.wordpress.com/documentation/incorporate-co-authors-plus-template-tags-into-your-theme/) before the bylines will appear.

* What happens to posts and pages when I delete a user assigned to a post or page as a coauthor?
### What happens to posts and pages when I delete a user assigned to a post or page as a coauthor?

When a user is deleted from WordPress, they will be removed from all posts for which they are co-authors. If you chose to reassign their posts to another user, that user will be set as the coauthor instead.

* Can I use Co-Authors Plus with WordPress multisite?
### Can I use Co-Authors Plus with WordPress multisite?

Yep! Co-Authors Plus can be activated on a site-by-site basis, or network-activated. If you create guest authors, however, those guest authors will exist on a site-by-site basis.

* Who needs permission to do what?
### Who needs permission to do what?

To assign co-authors to posts, a WordPress user will need the `edit_others_posts` capability. This is typically granted to the Editor role, but can be altered with the `coauthors_plus_edit_authors` filter.

To create new guest author profiles, a WordPress will need the `list_users` capability. This is typically granted to the Administrator role, but can be altered with the `coauthors_guest_author_manage_cap` filter.

* Can I easily create a list of all co-authors?
### Can I easily create a list of all co-authors?

Yep! There's a template tag called `coauthors_wp_list_authors()` that accepts many of the same arguments as `wp_list_authors()`. Look in template-tags.php for more details.

* I have a large database, will this make it slow?
### I have a large database, will this make it slow?

If the site has a large database, you may run into issues with heavier than usual queries. You can work around this by disabling compat mode and force it to use simpler, tax-only queries by adding the following to your theme:

Expand All @@ -58,7 +58,7 @@ Note that this requires the site(s) to have proper terms set up for all users. Y
$ wp --url=example.com co-authors-plus create-terms-for-posts
```

* How do I use custom post types?
### How do I use custom post types?

1. To ensure posts with your CPT are counted, use the `coauthors_count_published_post_types` filter.
```php
Expand All @@ -85,10 +85,13 @@ add_filter( 'coauthors_count_published_post_types', function( $post_types ) {

## Changelog

**3.5.3 (Oct 24, 2022)**
* Add author taxonomy labels #860
* Add check for empty author in Jetpack Open Graph tags #861
* Improve performance of search_authors() #872
* Update WP versions in tests and grant permission to composer-installer packages #863
**3.5.4 (Nov 4, 2022)**
* Handle `WP_Error` on failed guest author creation for method `create_guest_author()` #879
* Only use `pre_handle_404` filter in non-paged result #874
* Add CLI create-author command #880
* Add template tag `co_authors_get_users()` #862
* Change permission callback for authors and search endpoint and improve `current_user_can_set_authors()` #883
* Fix tests and add IDE files #882
* Bump dependencies #866 #865 #864

For all previous changes, [view the Changelog](https://github.com/Automattic/Co-Authors-Plus/blob/master/CHANGELOG.md)
4 changes: 2 additions & 2 deletions co-authors-plus.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: Co-Authors Plus
Plugin URI: http://wordpress.org/extend/plugins/co-authors-plus/
Description: Allows multiple authors to be assigned to a post. This plugin is an extended version of the Co-Authors plugin developed by Weston Ruter.
Version: 3.5.3
Version: 3.5.4
Author: Mohammad Jangda, Daniel Bachhuber, Automattic
Copyright: 2008-2015 Shared and distributed between Mohammad Jangda, Daniel Bachhuber, Weston Ruter
Expand Down Expand Up @@ -32,7 +32,7 @@
Author - user with the role of author
*/

define( 'COAUTHORS_PLUS_VERSION', '3.5.3' );
define( 'COAUTHORS_PLUS_VERSION', '3.5.4' );

require_once dirname( __FILE__ ) . '/template-tags.php';
require_once dirname( __FILE__ ) . '/deprecated.php';
Expand Down
17 changes: 10 additions & 7 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
=== Co-Authors Plus ===
Contributors: batmoo, danielbachhuber, automattic
Tags: authors, users, multiple authors, coauthors, multi-author, publishing
Tested up to: 5.8
Tested up to: 6.1
Requires at least: 4.1
Stable tag: 3.5.3
Stable tag: 3.5.4

Assign multiple bylines to posts, pages, and custom post types via a search-as-you-type input box

Expand Down Expand Up @@ -62,10 +62,13 @@ Yep! Guest authors can be disabled entirely through an apt filter. Having the fo

== Changelog ==

= 3.5.3 =
* Add author taxonomy labels #860
* Add check for empty author in Jetpack Open Graph tags #861
* Improve performance of search_authors() #872
* Update WP versions in tests and grant permission to composer-installer packages #863
= 3.5.4 =
* Handle `WP_Error` on failed guest author creation for method `create_guest_author()` #879
* Only use `pre_handle_404` filter in non-paged result #874
* Add CLI create-author command #880
* Add template tag `co_authors_get_users()` #862
* Change permission callback for authors and search endpoint and improve `current_user_can_set_authors()` #883
* Fix tests and add IDE files #882
* Bump dependencies #866 #865 #864

For all previous changes, [view the Changelog](https://github.com/Automattic/Co-Authors-Plus/blob/master/CHANGELOG.md)

0 comments on commit 9bf3660

Please sign in to comment.