diff --git a/wordpress/svn/assets/blueprints/blueprint.json b/wordpress/svn/assets/blueprints/blueprint.json index ff3b21b..e28fb34 100644 --- a/wordpress/svn/assets/blueprints/blueprint.json +++ b/wordpress/svn/assets/blueprints/blueprint.json @@ -13,7 +13,7 @@ "step": "installPlugin", "pluginZipFile": { "resource": "url", - "url": "https://downloads.wordpress.org/plugin/simplepdf-embed.1.2.1.zip" + "url": "https://downloads.wordpress.org/plugin/simplepdf-embed.1.2.2.zip" }, "options": { "activate": true diff --git a/wordpress/svn/trunk/README.txt b/wordpress/svn/trunk/README.txt index 1968bb6..aabb7e0 100644 --- a/wordpress/svn/trunk/README.txt +++ b/wordpress/svn/trunk/README.txt @@ -2,7 +2,7 @@ Contributors: bendersej Tags: pdf, pdf form, fill pdf, sign pdf, form submissions Tested up to: 7.1.2 -Stable tag: 1.2.1 +Stable tag: 1.2.2 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Requires at least: 5.8 @@ -27,7 +27,7 @@ With a SimplePDF account, visitors click Submit and the filled PDF lands in your * Your logo in the editor (Pro and above) * Filled PDFs saved to your own storage (S3 or Azure Blob Storage on Pro, SharePoint on Premium) -Every plan starts with a 7-day free trial: [see the plans](https://simplepdf.com/pricing?ref=wordpress). +Every plan starts with a 7-day free trial: [see the plans](https://simplepdf.com/pricing?ref=wordpress_plugin_directory). **Free, without an account** @@ -76,7 +76,7 @@ https://wordpress.simplepdf.co/ Without an account, visitors fill your PDF and download it. It is then up to them to send it to you. -With an account, they click Submit and the filled PDF lands in your dashboard, with an email alert or a webhook if you want one. You can export the answers to CSV or Excel, make fields required, and add your logo. [See the plans](https://simplepdf.com/pricing?ref=wordpress). +With an account, they click Submit and the filled PDF lands in your dashboard, with an email alert or a webhook if you want one. You can export the answers to CSV or Excel, make fields required, and add your logo. [See the plans](https://simplepdf.com/pricing?ref=wordpress_plugin_directory). = Where do the filled PDFs go? = @@ -127,13 +127,16 @@ The plugin and the script it bundles are open source: == External services == -This plugin uses [SimplePDF](https://simplepdf.com) to open your PDFs in an editor on your page. Filled PDFs stay in your visitors' browser, unless you have a SimplePDF account and they click Submit. The settings page also checks that your SimplePDF account exists. +This plugin uses [SimplePDF](https://simplepdf.com/?ref=wordpress_plugin_directory) to open your PDFs in an editor on your page. Filled PDFs stay in your visitors' browser, unless you have a SimplePDF account and they click Submit. The settings page also checks that your SimplePDF account exists. -* [Terms of service](https://simplepdf.com/terms-of-service) -* [Privacy policy](https://simplepdf.com/privacy-policy) +* [Terms of service](https://simplepdf.com/terms-of-service?ref=wordpress_plugin_directory) +* [Privacy policy](https://simplepdf.com/privacy-policy?ref=wordpress_plugin_directory) == Changelog == += 1.2.2 = +* Links from the plugin to simplepdf.com now say where they come from (the plugin's settings page or its WordPress.org listing), so we can see which of them help people. They carry nothing about your site or your visitors + = 1.2.1 = * The PDF links report now also lists the links in your Site Editor templates, template parts, synced patterns and navigation menus, like your home page, header and footer * It lists only what visitors can reach: published pages and posts, the drafts or private pages you picked to try it, and the templates, patterns and menus your site actually shows diff --git a/wordpress/svn/trunk/simplepdf-embed.php b/wordpress/svn/trunk/simplepdf-embed.php index c009923..50fb142 100644 --- a/wordpress/svn/trunk/simplepdf-embed.php +++ b/wordpress/svn/trunk/simplepdf-embed.php @@ -5,7 +5,7 @@ Author: SimplePDF Author URI: https://simplepdf.com Description: Visitors fill and sign your PDFs right on your site. With a SimplePDF account, every filled PDF comes back to you, automatically. -Version: 1.2.1 +Version: 1.2.2 License: GPL v2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html */ @@ -14,14 +14,13 @@ require_once __DIR__ . '/pdf-links.php'; -define('SIMPLEPDF_PLUGIN_VERSION', '1.2.1'); +define('SIMPLEPDF_PLUGIN_VERSION', '1.2.2'); define('SIMPLEPDF_SETTINGS_SCREEN', 'settings_page_simplepdf_settings'); define('SIMPLEPDF_POST_LIST_LIMIT', 300); define('SIMPLEPDF_PDF_PAGE_LIMIT', 100); define('SIMPLEPDF_PDF_TABLE_PAGE_SIZE', 20); define('SIMPLEPDF_WEB_EMBED_VERSION', '1.9.0'); define('SIMPLEPDF_REVIEW_URL', 'https://wordpress.org/support/plugin/simplepdf-embed/reviews/#new-post'); -define('SIMPLEPDF_PRICING_URL', 'https://simplepdf.com/pricing?ref=wordpress'); function simplepdf_settings_init() { add_submenu_page( @@ -363,6 +362,11 @@ function simplepdf_admin_css() { CSS; } +// A link to simplepdf.com from this settings page: the `ref` says where it came from, nothing about the visitor. +function simplepdf_site_url($path) { + return add_query_arg('ref', 'wordpress_admin_settings', 'https://simplepdf.com' . $path); +} + function simplepdf_external_link($url, $label) { return sprintf( '%s %s', @@ -379,7 +383,7 @@ function simplepdf_render_header() {
v @@ -1102,8 +1106,8 @@ function simplepdf_render_account_next_steps($account_address) { ?>