Skip to content

Latest commit

 

History

History
114 lines (82 loc) · 4.5 KB

File metadata and controls

114 lines (82 loc) · 4.5 KB

Changelog

This change log follows the Keep a Changelog standards. Versions follows Semantic Versioning.

  • Added Chinese translation (props @malsony!).
  • Updated German translation (props @lsinger!).
  • Expire semaphore lock to avoid permanently locked install.
  • New WP-CLI command:
    • prime: Forces WPGHS to fetch the latest commit and save it in the cache.
  • New filters:
    • wpghs_sync_branch: Branch the WordPress install should sync itself with.
    • wpghs_commit_msg_tag: Tag appended to the end of the commit message. Split from message with -. Used to determine if commit has been synced already.
  • These two new filters allow you to use WPGHS to keep multiple sites in sync.
    • This is an advanced feature. Your configuration may or may not be fully supported. Use at your own risk.
  • Eliminated some direct database calls in exchange for WP_Query usage.
  • Fix Database error handling
  • Fix bug where WPGHS would interfere with other plugins' AJAX hooks.
  • Fix transient key length to <40.
  • Major rewrite of the plugin internals.
    • Massively improved internal architecture.
    • Improved speed.
      • Upgraded caching implementation means updates happen faster.
  • Line-endings are now normalize to Unix-style.
    • New filter: wpghs_line_endings to set preferred line endings.
  • New filter: wpghs_pre_import_args
    • Called before post arguments are passed for an imported post.
  • New filter: wpghs_pre_import_meta
    • Called before post meta is imported from a post.
  • BREAKING: Remove reference to global $wpghs variable.
    • Use WordPress_GitHub_Sync::$instance instead.
  • Add German translation (props @lsinger).
  • Update folder names to default to untranslated.
  • Fix api bug where API call errors weren't getting kicked up to the calling method.
  • Fix deleting bug where posts that weren't present in the repo were being added.
  • Re-add validation of post before exporting.
    • Fixed bug where all post types/statuses were being exported.
  • Reverted busted SQL query
  • New Feature: Support importing posts from GitHub
  • New Feature: Support setting revision and new post users on import.
    • Note: There is a new setting, please selected a default/fallback user and saved the settings.
  • New Feature: Support displaying an "Edit|View on GitHub" link.
  • Update translation strings and implement pot file generation.
  • Redirect user away from settings page page after the import/export process starts.
  • Fix autoloader to be PHP 5.2 compatible.
  • Add WPGHS_Post as param to export content filter.
  • Add filters for content on import and export.
  • Hide password-protected posts from being exported to GitHub
  • Create post slug if WordPress hasn't created it yet (affects draft exporting)
  • Remove closure to enable PHP 5.2 compatibility (thanks @pdclark!)
  • Initial release
  • Supports full site sync, Markdown import/export, and custom post type & status support