Skip to content

v3.10.0

Compare
Choose a tag to compare
@andergmartins andergmartins released this 17 Dec 20:32
· 2002 commits to master since this release
625966f

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;