Version Description
Download this release
Release Info
Developer | automattic |
Plugin | Co-Authors Plus |
Version | 3.4.8 |
Comparing to | |
See all releases |
Code changes from version 3.4.7 to 3.4.8
- CHANGELOG.md +3 -0
- README.md +1 -1
- co-authors-plus.php +5 -5
- readme.txt +1 -1
CHANGELOG.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1 |
# Changelog for Co-Authors Plus
|
2 |
|
|
|
|
|
|
|
3 |
**3.4.7 (May 31, 2021)**
|
4 |
* Fix accidental escaping introduced to `coauthors_posts_links()` #797
|
5 |
|
1 |
# Changelog for Co-Authors Plus
|
2 |
|
3 |
+
**3.4.7 (June 15, 2021)**
|
4 |
+
* Fix AJAX author autocomplete when no author to post in author selector #803
|
5 |
+
|
6 |
**3.4.7 (May 31, 2021)**
|
7 |
* Fix accidental escaping introduced to `coauthors_posts_links()` #797
|
8 |
|
README.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Tags: authors, users, multiple authors, co-authors, multi-author, publishing
|
5 |
* Tested up to: 5.7.2
|
6 |
* Requires at least: 4.1
|
7 |
-
* Stable tag: 3.4.
|
8 |
|
9 |
Assign multiple bylines to posts, pages, and custom post types via a search-as-you-type input box
|
10 |
|
4 |
* Tags: authors, users, multiple authors, co-authors, multi-author, publishing
|
5 |
* Tested up to: 5.7.2
|
6 |
* Requires at least: 4.1
|
7 |
+
* Stable tag: 3.4.8
|
8 |
|
9 |
Assign multiple bylines to posts, pages, and custom post types via a search-as-you-type input box
|
10 |
|
co-authors-plus.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Co-Authors Plus
|
4 |
Plugin URI: http://wordpress.org/extend/plugins/co-authors-plus/
|
5 |
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.
|
6 |
-
Version: 3.4.
|
7 |
Author: Mohammad Jangda, Daniel Bachhuber, Automattic
|
8 |
Copyright: 2008-2015 Shared and distributed between Mohammad Jangda, Daniel Bachhuber, Weston Ruter
|
9 |
|
@@ -32,7 +32,7 @@ Co-author - in the context of a single post, a guest author or user assigned to
|
|
32 |
Author - user with the role of author
|
33 |
*/
|
34 |
|
35 |
-
define( 'COAUTHORS_PLUS_VERSION', '3.4.
|
36 |
|
37 |
require_once dirname( __FILE__ ) . '/template-tags.php';
|
38 |
require_once dirname( __FILE__ ) . '/deprecated.php';
|
@@ -547,7 +547,7 @@ class CoAuthors_Plus {
|
|
547 |
|
548 |
$tt_ids = implode( ', ', array_map( 'intval', $tt_ids ) );
|
549 |
$term_ids = $wpdb->get_results( $wpdb->prepare( "SELECT term_id FROM $wpdb->term_taxonomy WHERE term_taxonomy_id IN (%s)", $tt_ids ) );
|
550 |
-
|
551 |
|
552 |
foreach ( (array) $term_ids as $term_id_result ) {
|
553 |
$term = get_term_by( 'id', $term_id_result->term_id, $this->coauthor_taxonomy );
|
@@ -1197,12 +1197,12 @@ class CoAuthors_Plus {
|
|
1197 |
die();
|
1198 |
}
|
1199 |
|
1200 |
-
if ( empty( $_REQUEST['q'] )
|
1201 |
die();
|
1202 |
}
|
1203 |
|
1204 |
$search = sanitize_text_field( strtolower( $_REQUEST['q'] ) );
|
1205 |
-
$ignore = array_map( 'sanitize_text_field', explode( ',', $_REQUEST['existing_authors'] ) );
|
1206 |
|
1207 |
$authors = $this->search_authors( $search, $ignore );
|
1208 |
|
3 |
Plugin Name: Co-Authors Plus
|
4 |
Plugin URI: http://wordpress.org/extend/plugins/co-authors-plus/
|
5 |
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.
|
6 |
+
Version: 3.4.8
|
7 |
Author: Mohammad Jangda, Daniel Bachhuber, Automattic
|
8 |
Copyright: 2008-2015 Shared and distributed between Mohammad Jangda, Daniel Bachhuber, Weston Ruter
|
9 |
|
32 |
Author - user with the role of author
|
33 |
*/
|
34 |
|
35 |
+
define( 'COAUTHORS_PLUS_VERSION', '3.4.8' );
|
36 |
|
37 |
require_once dirname( __FILE__ ) . '/template-tags.php';
|
38 |
require_once dirname( __FILE__ ) . '/deprecated.php';
|
547 |
|
548 |
$tt_ids = implode( ', ', array_map( 'intval', $tt_ids ) );
|
549 |
$term_ids = $wpdb->get_results( $wpdb->prepare( "SELECT term_id FROM $wpdb->term_taxonomy WHERE term_taxonomy_id IN (%s)", $tt_ids ) );
|
550 |
+
|
551 |
|
552 |
foreach ( (array) $term_ids as $term_id_result ) {
|
553 |
$term = get_term_by( 'id', $term_id_result->term_id, $this->coauthor_taxonomy );
|
1197 |
die();
|
1198 |
}
|
1199 |
|
1200 |
+
if ( empty( $_REQUEST['q'] ) ) {
|
1201 |
die();
|
1202 |
}
|
1203 |
|
1204 |
$search = sanitize_text_field( strtolower( $_REQUEST['q'] ) );
|
1205 |
+
$ignore = array_map( 'sanitize_text_field', explode( ',', $_REQUEST['existing_authors'] ) ); // phpcs:ignore
|
1206 |
|
1207 |
$authors = $this->search_authors( $search, $ignore );
|
1208 |
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: batmoo, danielbachhuber, automattic
|
|
3 |
Tags: authors, users, multiple authors, coauthors, multi-author, publishing
|
4 |
Tested up to: 5.7.2
|
5 |
Requires at least: 4.1
|
6 |
-
Stable tag: 3.4.
|
7 |
|
8 |
Assign multiple bylines to posts, pages, and custom post types via a search-as-you-type input box
|
9 |
|
3 |
Tags: authors, users, multiple authors, coauthors, multi-author, publishing
|
4 |
Tested up to: 5.7.2
|
5 |
Requires at least: 4.1
|
6 |
+
Stable tag: 3.4.8
|
7 |
|
8 |
Assign multiple bylines to posts, pages, and custom post types via a search-as-you-type input box
|
9 |
|