Changeset 3036609
- Timestamp:
- 02/16/2024 12:23:45 AM (2 years ago)
- Location:
- fastcomments
- Files:
-
- 40 added
- 5 edited
-
tags/3.15.0 (added)
-
tags/3.15.0/.gitignore (added)
-
tags/3.15.0/LICENSE (added)
-
tags/3.15.0/README.md (added)
-
tags/3.15.0/README.txt (added)
-
tags/3.15.0/admin (added)
-
tags/3.15.0/admin/fastcomments-admin-advanced-settings-view.js (added)
-
tags/3.15.0/admin/fastcomments-admin-advanced-settings-view.php (added)
-
tags/3.15.0/admin/fastcomments-admin-manual-sync-view.js (added)
-
tags/3.15.0/admin/fastcomments-admin-manual-sync-view.php (added)
-
tags/3.15.0/admin/fastcomments-admin-setup-view.js (added)
-
tags/3.15.0/admin/fastcomments-admin-setup-view.php (added)
-
tags/3.15.0/admin/fastcomments-admin-sso-view.css (added)
-
tags/3.15.0/admin/fastcomments-admin-sso-view.js (added)
-
tags/3.15.0/admin/fastcomments-admin-sso-view.php (added)
-
tags/3.15.0/admin/fastcomments-admin-support-view.php (added)
-
tags/3.15.0/admin/fastcomments-admin-view.php (added)
-
tags/3.15.0/admin/fastcomments-admin.css (added)
-
tags/3.15.0/admin/fastcomments-admin.php (added)
-
tags/3.15.0/admin/images (added)
-
tags/3.15.0/admin/images/api.png (added)
-
tags/3.15.0/admin/images/crown.png (added)
-
tags/3.15.0/admin/images/css.png (added)
-
tags/3.15.0/admin/images/debugging.png (added)
-
tags/3.15.0/admin/images/download.png (added)
-
tags/3.15.0/admin/images/home.png (added)
-
tags/3.15.0/admin/images/logo-50.png (added)
-
tags/3.15.0/admin/images/logo.png (added)
-
tags/3.15.0/admin/images/settings.png (added)
-
tags/3.15.0/admin/images/support.png (added)
-
tags/3.15.0/admin/images/sync-status.png (added)
-
tags/3.15.0/admin/images/sync.png (added)
-
tags/3.15.0/core (added)
-
tags/3.15.0/core/FastCommentsIntegrationCore.php (added)
-
tags/3.15.0/core/FastCommentsWordPressIntegration.php (added)
-
tags/3.15.0/fastcomments-wordpress-plugin.php (added)
-
tags/3.15.0/public (added)
-
tags/3.15.0/public/fastcomments-public.php (added)
-
tags/3.15.0/public/fastcomments-widget-view.php (added)
-
tags/3.15.0/uninstall.php (added)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/admin/fastcomments-admin-advanced-settings-view.php (modified) (3 diffs)
-
trunk/fastcomments-wordpress-plugin.php (modified) (2 diffs)
-
trunk/public/fastcomments-widget-view.php (modified) (2 diffs)
-
trunk/uninstall.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
fastcomments/trunk/README.txt
r3017280 r3036609 4 4 Requires at least: 4.6 5 5 Tested up to: 6.4.2 6 Stable tag: 3.1 4.06 Stable tag: 3.15.0 7 7 Requires PHP: 5.2.5 8 8 License: GPLv2 or later … … 88 88 == Changelog == 89 89 90 = 3.15.0 = 91 * Support for the Streaming Chat widget. You can change widgets under Advanced Settings. 92 90 93 = 3.14.0 = 91 94 * Support for newer block-based themes. -
fastcomments/trunk/admin/fastcomments-admin-advanced-settings-view.php
r2744374 r3036609 8 8 <?php 9 9 $updated = false; 10 if ( !empty($_POST['log-level']) && $_POST['log-level'] !== get_option('fastcomments_log_level')) {10 if (isset($_POST['log-level']) && $_POST['log-level'] !== get_option('fastcomments_log_level')) { 11 11 update_option('fastcomments_log_level', $_POST['log-level']); 12 $updated = true; 13 } 14 if (isset($_POST['widget']) && $_POST['widget'] !== get_option('fastcomments_widget')) { 15 update_option('fastcomments_widget', $_POST['widget']); 12 16 $updated = true; 13 17 } … … 28 32 <table class="form-table" role="presentation"> 29 33 <tbody> 34 <tr> 35 <th scope="row"> 36 <label for="widget">Widget</label> 37 </th> 38 <td> 39 <select name="widget" id="widget"> 40 <option value="0" <?php echo !get_option('fastcomments_widget') || get_option('fastcomments_widget') === "0" ? 'selected' : '' ?> > 41 Live Commenting 42 </option> 43 <option value="1" <?php echo get_option('fastcomments_widget') === "1" ? 'selected' : '' ?> > 44 Streaming Chat 45 </option> 46 </select> 47 <p class="description"> 48 Changes the type of commenting widget used. 49 </p> 50 </td> 51 </tr> 30 52 <tr> 31 53 <th scope="row"> … … 51 73 </select> 52 74 <p class="description"> 53 Changing the log level might be desired to lower the amount of logs FastComments sends to the PHP error log. 75 Changing the log level might be desired to lower the amount of logs FastComments sends to the 76 PHP error log. 54 77 </p> 55 78 </td> -
fastcomments/trunk/fastcomments-wordpress-plugin.php
r3017280 r3036609 4 4 Plugin URI: https://fastcomments.com 5 5 Description: A live, fast, privacy-focused commenting system. 6 Version: 3.1 4.06 Version: 3.15.0 7 7 Author: winrid @ FastComments 8 8 License: GPL-2.0+ … … 14 14 } 15 15 16 $FASTCOMMENTS_VERSION = 3.1 40;16 $FASTCOMMENTS_VERSION = 3.150; 17 17 18 18 require_once plugin_dir_path(__FILE__) . 'admin/fastcomments-admin.php'; -
fastcomments/trunk/public/fastcomments-widget-view.php
r3004829 r3036609 12 12 $cdn = FastCommentsPublic::getCDN(); 13 13 $site = FastCommentsPublic::getSite(); 14 wp_enqueue_script( 'fastcomments_widget_embed', "$cdn/js/embed-v2.min.js", array(), $FASTCOMMENTS_VERSION, false ); 14 $widgetType = get_option('fastcomments_widget'); 15 $constructorName = $widgetType === "1" ? 'FastCommentsLiveChat' : 'FastCommentsUI'; 16 $scriptName = $widgetType === "1" ? 'embed-live-chat' : 'embed-v2'; 17 wp_enqueue_script( 'fastcomments_widget_embed', "$cdn/js/$scriptName.min.js", array(), $FASTCOMMENTS_VERSION, false ); 15 18 global $post; 16 19 $config = FastCommentsPublic::get_config_for_post($post); … … 32 35 attempts++; 33 36 var widgetTarget = document.getElementById('fastcomments-widget'); 34 if (window. FastCommentsUI&& widgetTarget) {35 window. FastCommentsUI(widgetTarget, $jsonFcConfig);37 if (window.$constructorName && widgetTarget) { 38 window.$constructorName(widgetTarget, $jsonFcConfig); 36 39 return; 37 40 } -
fastcomments/trunk/uninstall.php
r2771905 r3036609 21 21 delete_option( 'fastcomments_site' ); 22 22 delete_option( 'fastcomments_cdn' ); 23 delete_option( 'fastcomments_widget' ); 23 24 24 25
Note: See TracChangeset
for help on using the changeset viewer.