Skip to content

Commit

Permalink
Merge branch 'development'
Browse files Browse the repository at this point in the history
  • Loading branch information
andergmartins committed Sep 14, 2020
2 parents b7ffc76 + 172ff75 commit 3cc0265
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion defines.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
defined('ABSPATH') or die('No direct script access allowed.');

if (!defined('PP_AUTHORS_VERSION')) {
define('PP_AUTHORS_VERSION', '3.7.1');
define('PP_AUTHORS_VERSION', '3.7.2');
define('PP_AUTHORS_FILE', 'publishpress-authors/publishpress-authors.php');
define('PP_AUTHORS_BASE_PATH', plugin_dir_path(__DIR__ . '/publishpress-authors.php'));
define('PP_AUTHORS_MODULES_PATH', PP_AUTHORS_BASE_PATH . 'src/modules/');
Expand Down
2 changes: 1 addition & 1 deletion publishpress-authors.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Description: PublishPress Authors allows you to add multiple authors and guest authors to WordPress posts
* Author: PublishPress
* Author URI: https://publishpress.com
* Version: 3.7.1
* Version: 3.7.2
* Text Domain: publishpress-authors
*
* ------------------------------------------------------------------------------
Expand Down
6 changes: 5 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Tags: multiple authors, authors, guest authors, author fields, author layouts
Requires at least: 4.7
Requires PHP: 5.6
Tested up to: 5.5
Stable tag: 3.7.1
Stable tag: 3.7.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -127,6 +127,10 @@ There are two ways to install the PublishPress Authors plugin:
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning v2.0.0](https://semver.org/spec/v2.0.0.html).

= [3.7.2] - 2020-09-14 =

* Fixed: Fixed the reordering issue on authors in the post edit page;

= [3.7.1] - 2020-09-11 =

* Fixed: Fixed the authors field in the quick edit panel. It was displaying all authors instead of only the post authors, #236;
Expand Down
3 changes: 2 additions & 1 deletion src/functions/template-tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ function get_multiple_authors($post = 0, $filter_the_author = true, $archive = f
"SELECT tt.term_id
FROM {$wpdb->term_relationships} AS tr
INNER JOIN {$wpdb->term_taxonomy} AS tt ON (tr.`term_taxonomy_id` = tt.`term_taxonomy_id`)
WHERE tr.object_id = %d AND tt.taxonomy = 'author'",
WHERE tr.object_id = %d AND tt.taxonomy = 'author'
ORDER BY tr.term_order",
$postId
)
);
Expand Down

0 comments on commit 3cc0265

Please sign in to comment.