Skip to content

Releases: publishpress/PublishPress-Authors

v3.5.1

20 Aug 18:57
19ea5de
Compare
Choose a tag to compare

Changelog

  • Fixed: Avoid warnings regarding constants already defined;
  • Fixed: Fixed the cache for the get_multiple_authors function for archive pages, #190;
  • Fixed: Fixed fatal error Object of class WP_Error could not be converted to string, #182;
  • Fixed: Fixed the value for $author->display_name which was returning the value from the user object instead of the custom value set for the author, #183;
  • Fixed: Fixed Plugin::filter_user_has_cap() is passing a param to Util::get_current_post_type() which doesn't support params, #187;
  • Fixed: Fixed Plugin::filter_user_has_cap() to use the correct user, not the current one, #186;
  • Fixed: Removed leftovers from the deprecated capability: ppma_edit_orphan_post, #193;

3.5.0

06 Aug 16:48
4c4b427
Compare
Choose a tag to compare

Changelog

  • Added: Added a new widget to display all the authors, #76;
  • Added: Added option to display the username in the authors search field, #162;
  • Fixed: Fix compatibility with WooCommerce products, #169;
  • Fixed: Performance issue in the frontend. Added cache for queries that can run multiple times in the frontend, #171;
  • Fixed: Fix PHP notice on author page when user is not an author, #156;
  • Fixed: Fixed notice when a post doesn't exist after deleting the post, #167;

3.4.0

23 Jul 15:17
a987ee3
Compare
Choose a tag to compare

Changelog

  • Added: Add new filter "publishpress_authors_author_attribute" for customizing author attributes in the layouts;
  • Fixed: Fix syntax on the file Author_Editor.php removing an invalid char;

3.3.2

13 Jul 19:51
ee97f17
Compare
Choose a tag to compare

Changelog

  • Fixed: Fix the text domain loading, fixing the translations;
  • Fixed: Fix "orphan" authors when the mapped user is deleted, converting them in guest authors, #142;
  • Fixed: Fix infinity loop when user's and author's slug are different and you are trying to save an author profile, #143;
  • Fixed: Fix hardcoded table prefix from a query, #146;
  • Fixed: Fix error about missed Authors_Iterator class, #144;
  • Changed: Updated the min PHP version to 5.6;
  • Changed: Updated the WordPress tested up to version, to 5.4;

3.3.1

27 May 15:16
08e7e4c
Compare
Choose a tag to compare

Changelog

  • 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;
  • 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

05 May 18:58
b7da3ad
Compare
Choose a tag to compare

Changelog

  • 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: 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.4

13 Apr 17:03
c59d605
Compare
Choose a tag to compare

Changelog

  • 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-<author_slug>" (#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.3

17 Mar 14:03
e9653a4
Compare
Choose a tag to compare

Changelog

  • 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;
  • Added: Add top banner for the Pro version;

3.2.2

25 Feb 18:52
bf56d1d
Compare
Choose a tag to compare

Changelog

  • Fixed: Undefined class Authors_Iterator, #26;
  • Fixed: Error message related to Phing class file not found. Removed Phing from the package;

3.2.1

13 Feb 19:15
a1ee5be
Compare
Choose a tag to compare

Changelog

  • Fixed: Fixed the query for migrating posts' authors when installed for the first time;
  • Fixed: Fixed the assets URL for the plugin when it is installed in a folder different from wp-content/plugins
  • Fixed: Fixed the count of authors' posts using the correct field in the query: term_id. Issue #17;
  • Fixed: Fixed the query in the installer that look for posts without author's taxonomy to migrate;
  • Added: Added actions for before and after the settings fields: publishpress_authors_register_settings_before, publishpress_authors_register_settings_after;
  • Added: Added new filter: pp_authors_twig for extending the Twig environment object;
  • Changed: Cleanup the installer class;
  • Changed: Removed the CMB2 library since it is only used in the Pro plugins;
  • Changed: Refactored the code to support the Pro version;
  • Removed: Removed the CMB2 library dependency;