Skip to content

1.5.2

Latest

Choose a tag to compare

@krugazul krugazul released this 30 Jul 12:28
· 2 commits to master since this release
Immutable release. Only release title and notes can be modified.

Added

  • "AND" search logic (Match All Keywords) and full-keyphrase/any-keyword search for Tour search.
  • Search by WETU "Identifier".
  • "Title" selectable as a sync option for accommodation/destination/tour even when auto-title-sync is disabled.
  • README.md added; regenerated .pot and added en_EN/en_US language files.

Updated

  • Text domain added/corrected on translation calls; load_plugin_textdomain() simplified to WordPress auto-discovery.
  • .distignore updated to exclude dev-only files from the release package.

Fixed

  • departs_from field now reconnects the destination correctly on tour import.
  • Title-update guard no longer triggers a PHP notice when the disable_*_title option isn't yet saved.
  • Removed the unused tester_init action and its debug methods.

Security

  • SQL injection: the "is image being used" lookup now uses $wpdb->prepare() instead of interpolating $post_id/$image_id directly into the query.
  • Added missing ABSPATH guard to the main importer class.
  • Replaced direct file_put_contents()/chmod( $tmp, '777' ) with $wp_filesystem->put_contents()/chmod( $tmp, FS_CHMOD_FILE ) for downloaded images.
  • $_GET['tab']/$_POST['type'] unslashed before sanitisation.

Full changelog: changelog.md