Changelogs for PublishPress Authors Pro
This changelog is for the Pro version of PublishPress Authors.
You can find the changelog for the free version by clicking this link to WordPress.org.
The format is based on [Keep a Changelog](https://keepachangelog.com/) and this project adheres to [Semantic Versioning](https://semver.org/).= [3.3.1] - 2020-05-27 =* Added: Added the static function "get_by_email" to the Author class for getting an author by his e-mail address; * Changed: Improved error messages; * Changed: Updated base plugin to 3.3.1; * Fixed: Fatal error for WP < 5.4 due to the function "is_favicon" not being defined; * Fixed: Fix the get_avatar_url output for authors with a custom avatar, #122; * Fixed: HTML entities were not rendered in the frontend using the default author layouts, #123; * Fixed: Secondary authors don't have the edit_others_posts capability for their own posts, #129; * Fixed: Improved integration with PublishPress adding support for multiple authors in the calendar. #129, #131; * Fixed: Updated the POT file;= [3.3.0] - 2020-05-05 =* Added: Some error messages are now added to the error log; * Added: Added links to the slug column in the authors list to open the authors page in the frontend; * Added: Added post data to the twig layout context - #112; * Added: Added multiple authors support to the Elementor Pro, adding new skins to the Posts and Archive Posts widgets; * Added: Added support to Divi's theme builder and dynamic data related to authors; * Changed: Updated base plugin to 3.3.0; * Changed: Reorganized the folder structure of the plugin moving the code to a "src" folder; * Changed: Guest authors are now identified by author->ID < 0, which corresponds to the term_id. If ID > 0, it is a user, otherwise, an author term. This increases the compatibility rate with standard author functions; * Fixed: Improved text and fixed typo in the data migration messages; * Fixed: Added pointer cursor when hovering the "x" for removing authors from the list; * Fixed: Fixed minor style issue in the Simple List layout CSS; * Fixed: Centered avatar and fixed minor style issues in the Centered layout; * Fixed: Removed the blank '-' char from the Simple List layout due to undefined "age" field; * Fixed: Error message when the installed Yoast SEO doesn't have the function add_piece_language; * Fixed: Detection of minimum required Yoast SEO version for the module to be activated, so the error message is not displayed if Yoast SEO is not installed; * Fixed: Yoast SEO structured data was not displaying pages data correctly; * Fixed: Yoast SEO structured data was not working well when a guest author was the first author in posts; * Fixed: Yoast SEO structured data with incorrect @id for pages; * Fixed: Fixed the method that implements the column for authors in the post list, to only run for enabled post types; * Fixed: Fixed PHP Deprecated error for non-static method being called statically in the Term_Editor class; * Fixed: Fixed the notice in the frontend saying the is_author was called incorrectly; * Fixed: Empty output for shortcodes if the layout doesn't exists. Added fallback layout and an error message in the error log; * Fixed: Wrong author data in the query for authors mapped to user; * Fixed: The get_author_posts_url function was not working for guest authors; * Fixed: The get_the_author_meta function was not working for guest authors; * Fixed: The get_the_author_posts_link function was not working for guest authors; * Fixed: The get_the_author function was not working for guest authors; * Fixed: The the_post function was not working well for posts with guest authors; * Fixed: The feed_links_extra function was not working for guest authors; * Fixed: For themes that dont't implement support for PublishPress Authors and multiple authors, we were displaying all the author names separated by comma, but only one link (due to the limitations imposed by the theme). Now we display only the first author and its respective link on those cases. The multiple authors can be added creating a child theme and adapting the code; * Fixed: The title for authors archive pages of guest authors; * Fixed: The author object is now compatible with the main properties of WP_User objects, so guest authors can be treated as users on most cases; * Fixed: The custom user_url is not returned for authors mapped to user;= [3.2.6] - 2020-04-13 =* Added: Button to migrate data from the Bylines (Daniel Bachhuber) plugin; * Added: Button to migrate data from the Byline (Matt Dulin) plugin; * Added: Added a body class for guest authors "author-" (#45); * Fixed: Fixed the error displayed on Windows servers when the constant DIRECTORY_SEPARATOR is not defined; * Fixed: Fixed compatibility with composer based sites; * Fixed: Broken body class for guest authors "author-" (#43); * Fixed: Wrong authors in the header of pages based on Genesis framework (#46); * Fixed: Empty author headline for guest authors (#47); * Fixed: Fixed some texts and style in the Co-authors plugin migration box; * Fixed: Wrong author data in the Yoast SEO schema for structured data (#77); * Fixed: Fixed author page title when using Yoast SEO (#80); * Fixed: Fix the result of the function get_the_author_posts_link for supporting multiple authors; * Changed: Renamed the name of the Widget, from Multiple Authors to Authors; * Changed: Updated the EDD integration library to 1.6.19 to fix an error related to invalid argument supplied for foreach; * Changed: Updated the base plugin to 3.2.4;= [3.2.5] - 2020-03-17 =* Fixed: Wrong URL for the file multiple-authors-widget.css; * Fixed: Fixed the author page for compatibility to the Genesis framework; * Added: Added new filter to bypass the installation and data migration on special cases; * Changed: Updated the base plugin to 3.2.4-alpha.1;= [3.2.4] - 2020-02-27 =* Fixed: Not showing update notifications;= [3.2.3] - 2020-02-27 =* Fixed: Fixed error message if installed over PublishPress Multiple Authors v3.1.0 or older versions;= [3.2.2] - 2020-02-27 =* Fixed: Performance issue and high CPU usage;= [3.2.1] - 2020-02-25 =* Changed: Updated the base plugin to 3.2.2; * Fixed: Undefined class Authors_Iterator, #26; * Fixed: Error message related to Phing class file not found. Removed Phing from the package;= [3.2.0] - 2020-02-13 =* Fixed: Fixed default capabilities for the layouts and custom fields menu; * Fixed: Fixed resetting password when user doesn't exists; * Added: Added option to migrate authors from Co-Authors Plus; * Added: Added methods to echo author and user meta in custom layouts; * Added: Added new capabilities for the menu items: ppma_manage_authors, ppma_manage_custom_fields, ppma_manage_layouts; * Added: Added filters for configuring the new capabilities: pp_multiple_authors_manage_custom_fields_cap, pp_multiple_authors_manage_layouts_cap, pp_multiple_authors_manage_authors_cap, pp_multiple_authors_manage_settings_cap; * Added: Added new bulk action to convert mapped authors to guest authors; * Added: Added current_user variable to show or create conditionals based on the user viewing the page; * Added: Added new function for checking user's capabilities in custom layouts: current_user_can; * Added: Added new function for getting the user's meta data in custom layouts: get_current_user_meta; * Added: Added compatibility with PublishPress Capabilities Pro for displaying the new capabilities (requires 1.9.2+); * Changed: Updated the base plugin to 3.2.1;= [3.1.0] - 2019-11-19 =* Added: Added support to the function "do_shortcode" in the custom layouts; * Added: Added a shortcode for testing the output in the frontend (ppma_test); * Added: Expose the method "author.has_custom_avatar" method on custom layouts; * Added: New argument for post ID in the action "pp_multiple_authors_show_author_box"; * Changed: Updated the EDD library; * Fixed: The React library is being downgraded (overridden) in WP 5.3;= [3.0.1] - 2019-10-01 =* Fixed: Backward compatibility issue with themes using the class PP_Multiple_authors_plugin and other legacy classes for custom layouts; * Fixed: Wrong size for avatars in Twenty Nineteen theme and probably other themes where the author avatar is using the CSS class "photo" instead of "avatar" for the image; * Fixed: JS error related to select2 being undefined; * Fixed: The author field was not working if no author was set for new posts; * Changed: Simplified the documentation on the sidebar for custom layouts;= [3.0.0] - 2019-09-24 =* Changed: Converted to a standalone plugin removing any dependency of PublishPress. Some constants and methods where renamed to avoid name collisions; * Added: Custom fields for authors; * Added: Custom layouts for customising the output; * Added: New filter for customising the rendered author box markup: pp_multiple_authors_author_box_rendered_markup; * Added: A warning message advising to update PressPermit Pro to the version 2.7.24 or later, if installed. This is not compatible with prior versions; * Added: Menu item specific for Authors; * Added: Settings field to hide the PublishPress brand in the admin; * Fixed: The shortcode was not supported in the archive page for displaying the author box; * Fixed: Incompatibility with legacy version of select2; * Fixed: PHP notice when the capability "ppma_edit_orphan_post" was not defined; * Fixed: WSOD in Gutenberg when a user tried to edit an orphan post (with no author); * Fixed: Some style issues related to settings fields and delete button on author fields; * Fixed: The query on author pages was catching diverse post types for logged in users with the capability ppma_edit_orphan_post; * Fixed: Error in the author page regarding the class Author not being found; * Fixed: Invalid rewrite rules being defined for custom post types, but not implemented; * Fixed: Author page displaying auto-drafts for logged in authors; * Fixed: Custom author's name being overwritten after select a mapped user; * Fixed: The query for deleting Guest authors is not detecting/deleting authors with custom avatar; * Fixed: Fix an issue related to wrong paths for assets in installations where ABSPATH = //; * Changed: Improved the settings page adding tabs; * Changed: The license key field was moved from PublishPress to the Multiple Authors Settings page; * Changed: The filter "pp_multiple_authors_filter_author_box_markup" is deprecated in favor of "pp_multiple_authors_author_box_rendered_markup"; * Changed: Posts and Pages are enabled by default for Multiple Authors; * Changed: Updated the POT file; * Changed: Updated the text of notices for maintenance actions;= [2.3.0] - 2019-02-11 =* Fixed the authors column removing it from unselected post types; * Fixed the social icons in the frontend if not logged in; * Fixed PT-BR translations (Thanks to Dionizio Bach); * Fixed hardcoded table names in some queries; * Added support to custom avatars for guest and user mapped authors; * Added new inline layout with avatar;= [2.2.0] - 2019-01-14 =* Added support for the attributes: "show_title" and "layout" in the shortcode "author_box"; * Added new layout: inline. This is good for using in theme builders or themes to replace standard author links. Fix support for Beaver Themer and Beaver Builder. * Removed the legacy field for the license key; * Fixed author metabox in the post form when the post has no author; * Fixed Author column in the post for no author; * Fixed the widget to not display anything if there is no author; * Added option to create posts with no author by default;= [2.1.3] - 2018-07-19 =*Fixed:** Fixed upload of media files in a post for "secondary" authors if using multiple authors;= [2.1.2] - 2018-06-27 =*Fixed:** Fixed the author link for guest authors when using the function get_author_posts_url; * Fixed the author display name for guest authors;= [2.1.1] - 2018-06-21 =*Fixed:** Fixed avatar after selecting an author for the post; * Fixed the author page, making it filter correctly the author's posts; * Fixed the permalinks structure after upgrading or installing the plugin; * Fixed the submenu for Author which appeared in other post types;= [2.1.0] - 2018-06-12 =*Fixed:** Fixed filter for custom output on author boxes; * Fixed PHP warnings; * Fixed the change of posts/authors to only modify the queries if the post type is selected; * Fixed menu structure when the calendar and other modules are disabled; * Fixed hardcoded version number when loading some scripts; * Fixed the author page if called without the author_id in the URL; * Fixed minor details in the style of pages; * Fixed migration of data when installing or updating to link correctly to posts; * Fixed the Author class adding the missed ID property; * Fixed fatal error when running 5.4, related to the Initialized class in the add-on framework library;*Changed:** Changed minimum version required of PublishPress to 1.14.0;*Added:** Added bulk action to update the author data for author with mapped users; * Added buttons in the settings to reset the authors terms (for maintenance). Multiple authors are removed from posts, Guest authors are removed. Authors are created from users selected as authors in the posts, defined in the post_author field, and from the specific roles, if configured; * Added chosen JS script for add-ons; * Added some error messages to the log when there is an issue looking for the author of the post;= [2.0.3] - 2018-05-18 =*Fixed:** Fixed a fatal error on some environments;= [2.0.2] - 2018-05-16 =*Fixed:** Fixed duplicated authors generated with a prefix "cap-" in the Author URL (slug); * Fixed a PHP warning in the calendar page related a non defined object; * Fixed a hardcoded table prefix and name in a query to get author by user id; * Fixed author'slug (author url) forcing it to be equals to the user's nicename, if mapped to a user - on saving and on install/upgrade; * Fixed the author_name param in the author link on the list of posts in the admin; * Fixed query of posts by author (front-end and back-end) - now it displays the correct posts related to the selected author; * Fixed conflict with CoAuthors Plus, if both plugins where activated. Related to a PHP Error about not being able to redefine an existent function; * Fixed the migration of data when installing and upgrading, now recognizing the correct version in the conditional; * Fixed the list of authors in the search box on posts to display only authors, removing users; * Fixed the migration of post authors to multiple authors terms; * Fixed query making sure to sanitize the user_id retrieved from the URL;*Changed:** Removed column "Count" from authors and users list; * Increased PublishPress minimum version required to 1.13.0;= [2.0.1] - 2018-05-14 =*Fixed:** Fixed the URL in the author link for guest authors; * Fixed the height of the avatars in some themes; * Fixed PHP warning when creating a new user; * Fixed PHP warning when opening a BuddyPress member page; * Fixed typo in the Email field description; * Fixed PHP warning when adding a widget before saving the plugins' settings after the update; * Fixed outdated .POT file; * Fixed PT-BR translation file;*Changed:** Author URL is now auto-populated after selecting a mapped user, and the field is disabled; * Removed Quick Edit for authors; * Minor improvement on styling for some form fields; * Updated language files; * Allow to create multiple authors mapped to the same user; * Removed outdated and wrong translations;*Added:** Added Mapped User field to the quick add form for Authors; * Added description to some fields and improved text to make their functioning clear; * Added support for the shortcodes in notifications which are related to authors, to display data from the multiple authors;= [2.0.0] - 2018-05-09 =*Added:** Added option to create guest authors; * Added submenu for Authors; * Added support for migrating from Bylines; * Added setting to change the style of the author box, with 3 layouts available (including in the widget); * Added more CSS classes to the elements in the author box to allow a more customized result; * Added option to display the email and website link for the author; * Added option to automatically convert new users of specific roles into authors; * Added button to edit the user on authors mapped to users;*Fixed:** Fixed support for custom post types; * Fixed PHP warnings about undefined properties; * Fixed compatibility with themes which support only co-authors; * Fixed JS error in the post form when Avatars are disabled in the Discussions settings; * Fixed author page to display the correct posts for the author; * Fixed the post page to display the multiple authors when using the get_the_author() method; * Fixed the posts counter in the authors page on the admin; * Fixed the posts counter in the users pages on the admin; * Fixed authors' avatars in the admin and frontend. Now it supports custom avatars defined by 3rd party plugins; * Fixed a PHP warning when the user doesn't have permissions to set the author;*Changed:** Fixed code style for files; * Reorganized files structure in the repository; * Changed requirement for PublishPress 1.12.0; * Removed module descriptions from some screens, to be more consistent and clearer; * Renamed author's slug fields and columns to "Author URL"; * Deprecated the method multiple_authors_wp_list_authors. Please, use get_the_authors();= [1.0.6] - 2018-02-07 =*Fixed:** Fixed license key validation and automatic updates;*Changed:** Rebranded to PublishPress;= [1.0.5] - 2017-10-16 =* Added: * Added field to change the title of the author box appended to the content;= [1.0.4] - 2017-10-11 =* Fixed: * Fixed the filter which checks if the post type is selected to enable the module;* Added: * Added field to customize the widget title;= [1.0.3] - 2017-08-31 =* Changed: * Implemented compatilbility with new Notification Workflows on PublishPress; * Changed design for multiple authors box in dashboard; * Removed Freemius integration;* Fixed: * Fixed conflict in the name of a method checking if PublishPress is active;= [1.0.2] - 2017-07-28 =* Fixed: * Fixed the widget syntax and title; * Fixed style of the list of authors, removing padding-left;= [1.0.1] - 2017-07-28 =* Fixed: * Fixed license validation= [1.0.0] - 2017-07-27 =* Changed: * Refactored CoAuthor Plus to match the new vendor and plugin name;* Added: * Added new widget to display the author box; * Added an option to display the author box automatically appended to the content. Eenabled by default, but can be disabled; * Added a shortcode to display the author box anywhere in the content; * Added an action to display the author box programatically: pp_multiple_authors_show_author_box; * Added a filter to customize the content of the author box: pp_multiple_authors_filter_author_box_markup; * Added a filter to customize when the author box will be displayed: pp_multiple_authors_filter_should_display_author_box* Fixed: * Fixed the avatar in the metabox to match the WP configuration;