Skip to content

Releases: publishpress/PublishPress-Authors

v3.14.2

21 Jul 19:48
c30b8b5
Compare
Choose a tag to compare

Changelog

  • Fixed: Fix error on block editor for posts with guest authors, #463;

v3.14.1

20 Jul 15:10
9102a71
Compare
Choose a tag to compare

= [3.14.1] - 20 July 2021 =

  • Changed: Invert position of Edit User and Edit Author Profile links in the term actions, #453;
  • Fixed: Fix sanitization of the user_id before adding it to a query;
  • Fixed: Fix compatibility with the search results on the plugin "Knowledge Base for Documents and FAQs" when an article is not found;
  • Fixed: Fix compatibility with PublishPress' calendar create item form for the author field, to select guest or mapped to user authors;
  • Fixed: Add compatibility with PublishPress' calendar to support multiple authors in the calendar form;
  • Fixed: Fix the warning: Undefined array key "post" in multiple-authors.php file, when opening the General settings page, #459;

v3.14.0

27 May 18:17
369f0fb
Compare
Choose a tag to compare

Changelog

  • Added: Added new setting for selecting multiple post types to display in the author page, #436;
  • Added: Added new function "get_by_id" to the Author class, accepting positive integer for User ID, and negative integer for term ID, #423;
  • Changed: Shortcode [author_box] was renamed to [publishpress_authors_box], #426;
  • Changed: Shortcode [ppma_test] was renamed to [publishpress_authors_test], #426;
  • Changed: Legacy shortcodes are loaded by default, but defining the constant PUBLISHPRESS_AUTHORS_LOAD_LEGACY_SHORTCODES = false will prevent to load them, #426;
  • Fixed: Fix the Author::get_avatar_url method returning the avatar URL, #443;

v3.13.1

22 Apr 18:27
ca51d0a
Compare
Choose a tag to compare

Changelog

  • Fixed: Fix the color scheme for the Pro plugin, #411;
  • Fixed: Fix the links style for the boxed and centered layouts, #414;
  • Fixed: Hide the core author field in the post edit pages and add field to set a user as author if a post has only guest authors, #344;
  • Fixed: Fix relationship between post and author if not existent when running the function "get_multiple_authors". It fallbacks to the current post author, creating the Author term and relationship with the post, #396;
  • Fixed: Fix the CLI subcommand list-posts-without-terms adding support for the following arguments: [--post_type=] [--posts_per_page=] [--paged=] [--order=] [--orederby=], #415;
  • Fixed: Fix the CLI subcommand create-terms-for-posts adding support for the following arguments: [--post_type=] [--posts_per_page=] [--paged=], #415;
  • Changed: Temporarily disabled the CLI subcommands: update-author-terms, assign-coauthors, assign-user-to-coauthor, reassign-terms, rename-coauthor, swap-coauthors, remove-terms-from-revisions, #415;

v3.13.0

18 Mar 21:39
c51dc58
Compare
Choose a tag to compare

Changelog

  • Added: Added the post terms support in layouts, for displaying them or using on conditionals, #384;
  • Added: Add bulk action to auto map authors to user based on the slug, #347;
  • Added: Improve layout for Centered box and add a color picker to choose a base color, #376, #377;
  • Added: Added new filter to extend the "post" variable exposed to the layouts. The new filter: "publishpress_authors_layout_post_properties", #384;
  • Fixed: Fix the Authors List widget sorting by the author name, #389;
  • Fixed: Fixed Notice: Undefined index: title_plural in the Widget.php file, #393;
  • Fixed: Error Cannot access private property MultipleAuthors\Classes\Objects\Author::$term_id, #386;
  • Fixed: The authors field is not displayed for custom post types created by Toolset, or other plugins, #385;
  • Fixed: Fix link for authors in the Genesis Framework Featured Posts widget, #378;
  • Fixed: PHP Warning: in_array() expects parameter 2 to be array, string given "multiple-authors/multiple-authors.php" #402;
  • Fixed: PHP Fatal error: Uncaught Error: [] operator not supported for strings in MA_Multiple_Authors->filter_workflow_receiver_post_authors #403;
  • Changed: Change the default layout to "boxed", #370;

v3.12.0

23 Feb 20:26
92ed243
Compare
Choose a tag to compare

Changelog

  • Added: Added filters for customizing the byline on Elementor skins: publishpress_authors_elementor_posts_skin_cards_byline, publishpress_authors_elementor_posts_skin_classic_byline, #335;
  • Changed: Improved the style for the Boxed layout, #332;
  • Changed: Automatically sync the author URL with the user nicename when the user is saved, #53;
  • Fixed: Fixed encoding of UTF-8 chars in the Author URL column in the Authors list, #352;
  • Fixed: Fixed PHP warnings on Nested Pages plugin, #345;
  • Fixed: Improved performance on author pages reducing the number of database queries only looking for an author taxonomy if a user was not found;
  • Fixed: Fix compatibility with the SEO Framework archive title for guest authors, #351;
  • Fixed: Fixed the query to list authors considering only published posts, #350;
  • Fixed: Fixed warning about undefined index: ID, the rest-api.php file, #342;
  • Fixed: Fix PublishPress notifications for guest authors with email address, #349;
  • Fixed: Fix the PHP warning "Call to a member function get_user_object() on bool", #348;
  • Fixed: Duplicated queries caused by multiple calls to "get_user_by" for the same slug, #343;
  • Fixed: Fix the authors list widget form removing not used field, #339;
  • Fixed: Fix error: "Twig file not found" for shortcodes in the Pro version using a custom layout. And avoid to show the authors twice if Free and Pro are activated, #336;
  • Fixed: Fix compatibility with WP Engine object cache, #327;
  • Fixed: Fixed the invalid taxonomy error message, #326;
  • Fixed: Improved performance on author pages reducing the number of database queries only looking for an author taxonomy if a user was not found;
  • Fixed: Fix the Authors List widget title alignment wrapping it on a H2 tag;

v3.11.0

25 Jan 18:59
13756a4
Compare
Choose a tag to compare

Changelog

  • Added: Added fields for setting the plural and single title to the author box and widget, #75;
  • Added: Added Rest API support to list the post's authors, #311;
  • Added: Added new action to set authors to a post: "publishpress_authors_set_post_authors";
  • Added: Added filter and constant for specifying to not load styles in the frontend, so users can use their own styles, #313;
  • Added: Added Italian language files. Thanks to Angelo Giammarresi;
  • Added: Added more automated tests;
  • Changed: Updated Brazilian Portuguese language files;
  • Fixed: Improved general performance removing unnecessary permissions validation on every text in the page, #325;
  • Fixed: Improved general performance ignoring the body class change method if not in the frontend;
  • Fixed: Fixed support to PHP 5.6 downgrading the Twig's requirement "symfony/polyfill-ctype" to v1.19, the last one that supports PHP 5, #323;
  • Fixed: Fixed support to PHP 5.6 downgrading "pimple/pimple" to v3.2.3, the last one that supports PHP 5, #323;
  • Fixed: Removed meaningless warnings when the post doesn't have an author: "[PublishPress Authors] Warning - The link for the author_id="" was changed to the post page because the author is not specified in the given url", #308;
  • Fixed: If the post doesn't have an author term, the function filter_author_link doesn't recognized the user from "post_author" as author of the post, #308;
  • Fixed: If the post doesn't have an author term, the function "get_multiple_authors" returns a WP_User instance (based on "post_author") even if the user is mapped to an author term, #306;
  • Fixed: In the function "is_multiple_author_for_post", recognize user as author of a post even if he doesn't have a term, #307;
  • Fixed: One test is trying to create a term which already exists, logging the error message: "A term with the name provided already exists";
  • Fixed: Fixed multiple footers displayed when both Free and Pro are activated, #312;
  • Fixed: Fix PHP error when an older version of YoastSEO is installed and the warning "not compatible YoastSEO" is showed;

v3.10.0

17 Dec 20:32
625966f
Compare
Choose a tag to compare

Changelog

  • Fixed: Changed the way we sync post_author column: Current user will only be set as author if no terms where found for the post, or there are only guest authors. If post_author is empty, we set it for the current user, creating an author term for it, #286.
  • Fixed: Duplicated queries for the same given email in the method MultipleAuthors\Classes\Author_Utils::get_author_term_id_by_email(). Added a cache for the query results and an option to ignore the cache, #293;
  • Fixed: Performance issue. Optimized some methods and modules loading for reducing the server overload and reduce duplicated queries. Some modules now are only loaded if the required plugin is installed, #297;
  • Fixed: Fix the path for the template-tags.php file when called by the author box, if not loaded yet;
  • Fixed: Only register admin hooks if in the admin, #297;
  • Fixed: Fixed JS warning about the variable being implicitly defined;
  • Fixed: Fixed compatibility issue with Select2 library loaded by WS Form Plugin, #292;
  • Fixed: Improved performance when opening the post edit page and quick edit panel for sites with thousands of authors;
  • Changed: Deprecated functions and classes now can be disabled if you define the constant "PUBLISHPRESS_AUTHORS_LOAD_DEPRECATED_LEGACY_CODE" as false. Default is true, #297;
  • Changed: CoAuthors' backward compatibility functions now can be disabled if you define the constant "PUBLISHPRESS_AUTHORS_LOAD_COAUTHORS_FUNCTIONS" as false. Default is true, #297;
  • Changed: Bylines' backward compatibility functions now can be disabled if you define the constant "PUBLISHPRESS_AUTHORS_LOAD_BYLINES_FUNCTIONS" as false. Default is true, #297;
  • Added: Added new maintenance task for syncing the authors' slug with the respective user's sanitized login (user_nicename). There is a new constant "PUBLISHPRESS_AUTHORS_SYNC_AUTHOR_SLUG_CHUNK_SIZE" for customizing the size of the chunk of authors to update at a time (default to 50), #287;
  • Added: Added new constant "PUBLISHPRESS_AUTHORS_SYNC_POST_AUTHOR_CHUNK_SIZE" for defining the size of the chunck of posts to convert authors in the maintenance task: Update author field on posts. Default to 10;
  • Removed: Removed the support to the filter "coauthors_auto_apply_template_tags", #297;

v3.9.0

25 Nov 19:22
2d6bfba
Compare
Choose a tag to compare

Changelog

  • Added: Added support to Bulk Edit for authors in the post list, #263 and #280;
  • Fixed: Fixed maintenance tasks to consider all the selected post types and not "post" only, #276;
  • Fixed: Fixed compatibility issue with the WP RSS Aggregator plugin, #278;
  • Fixed: Restored the posts count in the Authors and Users list, #275;

v3.8.1

05 Nov 17:54
3b33a61
Compare
Choose a tag to compare

Changelog

  • Fixed: Fixed the consistency of avatar dimensions between the img tag attributes and the CSS, #258;
  • Fixed: Fixed edit_posts permission check for the PublishPress calendar, #264;
  • Fixed: Restored the post count column in the Authors list, #95;