Changeset 3749398
- Timestamp:
- 10/15/2026 10:10:12 PM (3 weeks ago)
- Location:
- footfall-reviews-by-autothink
- Files:
-
- 35 added
- 3 deleted
- 4 edited
-
tags/1.3.4 (added)
-
tags/1.3.4/LICENSE.txt (added)
-
tags/1.3.4/admin (added)
-
tags/1.3.4/admin/css (added)
-
tags/1.3.4/admin/css/ffrat-admin.1.3.4.586c29359d.css (added)
-
tags/1.3.4/admin/css/ffrat-admin.css (added)
-
tags/1.3.4/admin/images (added)
-
tags/1.3.4/admin/images/brand-wordmark.png (added)
-
tags/1.3.4/admin/images/menu-icon.svg (added)
-
tags/1.3.4/admin/js (added)
-
tags/1.3.4/admin/js/ffrat-admin.1.3.4.f3f668f974.js (added)
-
tags/1.3.4/admin/js/ffrat-admin.js (added)
-
tags/1.3.4/admin/widget-catalogue.generated.json (added)
-
tags/1.3.4/blocks (added)
-
tags/1.3.4/blocks/widget (added)
-
tags/1.3.4/blocks/widget/block.json (added)
-
tags/1.3.4/blocks/widget/index.1.3.4.e79ae7802b.js (added)
-
tags/1.3.4/blocks/widget/index.js (added)
-
tags/1.3.4/footfall-reviews-by-autothink.php (added)
-
tags/1.3.4/includes (added)
-
tags/1.3.4/includes/asset-files.generated.php (added)
-
tags/1.3.4/includes/class-ffrat-admin.php (added)
-
tags/1.3.4/includes/class-ffrat-api.php (added)
-
tags/1.3.4/includes/class-ffrat-assets.php (added)
-
tags/1.3.4/includes/class-ffrat-block.php (added)
-
tags/1.3.4/includes/class-ffrat-migrate.php (added)
-
tags/1.3.4/includes/class-ffrat-plugin.php (added)
-
tags/1.3.4/includes/class-ffrat-shortcode.php (added)
-
tags/1.3.4/languages (added)
-
tags/1.3.4/languages/footfall-reviews-by-autothink.pot (added)
-
tags/1.3.4/readme.txt (added)
-
tags/1.3.4/uninstall.php (added)
-
trunk/admin/css/ffrat-admin.1.3.3.586c29359d.css (deleted)
-
trunk/admin/css/ffrat-admin.1.3.4.586c29359d.css (added)
-
trunk/admin/js/ffrat-admin.1.3.3.63bbd58e6c.js (deleted)
-
trunk/admin/js/ffrat-admin.1.3.4.f3f668f974.js (added)
-
trunk/admin/js/ffrat-admin.js (modified) (1 diff)
-
trunk/blocks/widget/index.1.3.3.e79ae7802b.js (deleted)
-
trunk/blocks/widget/index.1.3.4.e79ae7802b.js (added)
-
trunk/footfall-reviews-by-autothink.php (modified) (4 diffs)
-
trunk/includes/asset-files.generated.php (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
footfall-reviews-by-autothink/trunk/admin/js/ffrat-admin.js
r3749388 r3749398 1 1 (function(){'use strict'; 2 var FFRAT_BUILD='1.3. 3';2 var FFRAT_BUILD='1.3.4'; 3 3 var catalogue=ffratAdmin.catalogue||{},state={library:catalogue.items||[],filters:catalogue.filters||[],source:'google',template:null,config:null,widgets:[],locations:[]},root=document.querySelector('.ffrat-wrap'),previewOrigin='https://footfallreviews.com';if(!root)return; 4 4 var reduced=window.matchMedia&&window.matchMedia('(prefers-reduced-motion: reduce)').matches; -
footfall-reviews-by-autothink/trunk/footfall-reviews-by-autothink.php
r3749388 r3749398 4 4 * Plugin URI: https://footfallreviews.com/widgets 5 5 * Description: Add customisable Google and Footfall review widgets to any WordPress page. 6 * Version: 1.3. 36 * Version: 1.3.4 7 7 * Author: Footfall Reviews (AutoThink) 8 8 * Author URI: https://footfallreviews.com … … 16 16 if ( ! defined( 'ABSPATH' ) ) { exit; } 17 17 18 // Another Footfall Reviews copy (older manual upload) is already loaded: stay dormant so nothing is 19 // declared twice, back up the connection, and ask the admin to deactivate the old copy. 20 if ( defined( 'FFRAT_FILE' ) ) { 18 // Another Footfall Reviews copy (older manual upload) is active or already loaded: stay dormant so 19 // nothing is declared twice in either load order, back up the connection, and ask the admin to remove it. 20 if ( ! function_exists( 'ffrat_other_copy_active' ) ) { 21 function ffrat_other_copy_active( $self ) { 22 $active = (array) get_option( 'active_plugins', array() ); 23 if ( is_multisite() ) { $active = array_merge( $active, array_keys( (array) get_site_option( 'active_sitewide_plugins', array() ) ) ); } 24 $mine = basename( dirname( $self ) ) . '/' . basename( $self ); 25 foreach ( $active as $basename ) { 26 $basename = (string) $basename; 27 if ( $basename !== $mine && false !== stripos( $basename, 'footfall' ) && false !== strpos( $basename, '/' ) ) { return true; } 28 } 29 return false; 30 } 31 } 32 if ( defined( 'FFRAT_FILE' ) || class_exists( 'FFRAT_Plugin', false ) || ffrat_other_copy_active( __FILE__ ) ) { 21 33 add_action( 'admin_init', 'ffrat_dormant_backup' ); 22 34 add_action( 'admin_notices', 'ffrat_dormant_notice' ); … … 34 46 } 35 47 36 define( 'FFRAT_VERSION', '1.3. 3' );48 define( 'FFRAT_VERSION', '1.3.4' ); 37 49 define( 'FFRAT_FILE', __FILE__ ); 38 50 define( 'FFRAT_DIR', plugin_dir_path( __FILE__ ) ); … … 47 59 require_once FFRAT_DIR . 'includes/class-ffrat-migrate.php'; 48 60 49 register_activation_hook( __FILE__, array( 'FFRAT_Migrate', 'on_activate' ) ); 50 register_deactivation_hook( __FILE__, 'ffrat_deactivate' ); 51 function ffrat_deactivate() { wp_clear_scheduled_hook( 'ffrat_daily_checkin' ); } 61 register_deactivation_hook( __FILE__, static function () { wp_clear_scheduled_hook( 'ffrat_daily_checkin' ); } ); 52 62 FFRAT_Migrate::boot(); 53 63 FFRAT_Plugin::instance()->boot(); -
footfall-reviews-by-autothink/trunk/includes/asset-files.generated.php
r3749388 r3749398 3 3 // GENERATED by scripts/sync-plugin-version.ts — do not edit. 4 4 return array( 5 'admin_js' => 'admin/js/ffrat-admin.1.3. 3.63bbd58e6c.js',6 'admin_css' => 'admin/css/ffrat-admin.1.3. 3.586c29359d.css',7 'block_js' => 'blocks/widget/index.1.3. 3.e79ae7802b.js',5 'admin_js' => 'admin/js/ffrat-admin.1.3.4.f3f668f974.js', 6 'admin_css' => 'admin/css/ffrat-admin.1.3.4.586c29359d.css', 7 'block_js' => 'blocks/widget/index.1.3.4.e79ae7802b.js', 8 8 ); -
footfall-reviews-by-autothink/trunk/readme.txt
r3749388 r3749398 5 5 Tested up to: 7.1 6 6 Requires PHP: 7.4 7 Stable tag: 1.3. 37 Stable tag: 1.3.4 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 93 93 == Changelog == 94 94 95 = 1.3.4 = 96 * Fixes a critical error when this version was installed while an older manually uploaded copy of Footfall Reviews was still active. The new copy now waits safely until the old one is removed. 97 95 98 = 1.3.3 = 96 99 * Now delivered through the WordPress.org plugin directory, so future updates appear in Dashboard → Updates like any other plugin. … … 205 208 == Upgrade Notice == 206 209 207 = 1.3. 3=208 Now delivered through the WordPress.org plugin directory, so future updates appear in Dashboard → Updates like any other plugin.210 = 1.3.4 = 211 Fixes a critical error when this version was installed while an older manually uploaded copy of Footfall Reviews was still active. The new copy now waits safely until the old one is removed.
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)