Changeset 3017280
- Timestamp:
- 01/04/2024 06:58:29 AM (2 years ago)
- Location:
- fastcomments
- Files:
-
- 40 added
- 2 edited
-
tags/3.14.0 (added)
-
tags/3.14.0/.gitignore (added)
-
tags/3.14.0/LICENSE (added)
-
tags/3.14.0/README.md (added)
-
tags/3.14.0/README.txt (added)
-
tags/3.14.0/admin (added)
-
tags/3.14.0/admin/fastcomments-admin-advanced-settings-view.js (added)
-
tags/3.14.0/admin/fastcomments-admin-advanced-settings-view.php (added)
-
tags/3.14.0/admin/fastcomments-admin-manual-sync-view.js (added)
-
tags/3.14.0/admin/fastcomments-admin-manual-sync-view.php (added)
-
tags/3.14.0/admin/fastcomments-admin-setup-view.js (added)
-
tags/3.14.0/admin/fastcomments-admin-setup-view.php (added)
-
tags/3.14.0/admin/fastcomments-admin-sso-view.css (added)
-
tags/3.14.0/admin/fastcomments-admin-sso-view.js (added)
-
tags/3.14.0/admin/fastcomments-admin-sso-view.php (added)
-
tags/3.14.0/admin/fastcomments-admin-support-view.php (added)
-
tags/3.14.0/admin/fastcomments-admin-view.php (added)
-
tags/3.14.0/admin/fastcomments-admin.css (added)
-
tags/3.14.0/admin/fastcomments-admin.php (added)
-
tags/3.14.0/admin/images (added)
-
tags/3.14.0/admin/images/api.png (added)
-
tags/3.14.0/admin/images/crown.png (added)
-
tags/3.14.0/admin/images/css.png (added)
-
tags/3.14.0/admin/images/debugging.png (added)
-
tags/3.14.0/admin/images/download.png (added)
-
tags/3.14.0/admin/images/home.png (added)
-
tags/3.14.0/admin/images/logo-50.png (added)
-
tags/3.14.0/admin/images/logo.png (added)
-
tags/3.14.0/admin/images/settings.png (added)
-
tags/3.14.0/admin/images/support.png (added)
-
tags/3.14.0/admin/images/sync-status.png (added)
-
tags/3.14.0/admin/images/sync.png (added)
-
tags/3.14.0/core (added)
-
tags/3.14.0/core/FastCommentsIntegrationCore.php (added)
-
tags/3.14.0/core/FastCommentsWordPressIntegration.php (added)
-
tags/3.14.0/fastcomments-wordpress-plugin.php (added)
-
tags/3.14.0/public (added)
-
tags/3.14.0/public/fastcomments-public.php (added)
-
tags/3.14.0/public/fastcomments-widget-view.php (added)
-
tags/3.14.0/uninstall.php (added)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/fastcomments-wordpress-plugin.php (modified) (11 diffs)
Legend:
- Unmodified
- Added
- Removed
-
fastcomments/trunk/README.txt
r3004829 r3017280 4 4 Requires at least: 4.6 5 5 Tested up to: 6.4.2 6 Stable tag: 3.1 3.06 Stable tag: 3.14.0 7 7 Requires PHP: 5.2.5 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html 10 10 11 A fast, live comment system that will delight your users and developers.11 A live, fast, privacy-focused commenting system. 12 12 13 13 FastComments prioritizes speed and user experience above all else. It doesn't spy on you or your users and has the features you care about. … … 88 88 == Changelog == 89 89 90 = 3.14.0 = 91 * Support for newer block-based themes. 92 90 93 = 3.13.0 = 91 94 * Comment section now respects post password protection requirements (it will not show). -
fastcomments/trunk/fastcomments-wordpress-plugin.php
r3004829 r3017280 3 3 Plugin Name: FastComments 4 4 Plugin URI: https://fastcomments.com 5 Description: Live Comments, Fast. A comment system that will delight your users and developers.6 Version: 3.1 3.05 Description: A live, fast, privacy-focused commenting system. 6 Version: 3.14.0 7 7 Author: winrid @ FastComments 8 8 License: GPL-2.0+ … … 14 14 } 15 15 16 $FASTCOMMENTS_VERSION = 3.1 30;16 $FASTCOMMENTS_VERSION = 3.140; 17 17 18 18 require_once plugin_dir_path(__FILE__) . 'admin/fastcomments-admin.php'; … … 22 22 23 23 // Returns the FastComments embed comments template 24 function fc_comments_template() { 24 function fc_comments_template() 25 { 25 26 $path = plugin_dir_path(__FILE__) . 'public/fastcomments-widget-view.php'; 26 27 if (!file_exists($path)) { … … 32 33 // Returns the FastComments embed comments template 33 34 // This method takes more arguments, like post id, but we found it not to be reliable. 34 function fc_comment_count_template($text_no_comments = "") { 35 function fc_comment_count_template($text_no_comments = "") 36 { 35 37 global $post; 36 38 $post_id = -1; … … 43 45 44 46 // Sets up the FastComments embed comment count script if needed. This is done this way, with wp_footer, to prevent loading an external script. 45 function fc_add_comment_count_scripts() { 47 function fc_add_comment_count_scripts() 48 { 46 49 global $post; 47 50 … … 56 59 57 60 // Sets up the FastComments embed comment count script if needed. This is done this way, with wp_footer, to prevent loading an external script. 58 function fc_add_comment_count_config() { 61 function fc_add_comment_count_config() 62 { 59 63 global $post; 60 64 … … 73 77 if (get_option('fastcomments_tenant_id')) { 74 78 add_filter('comments_template', 'fc_comments_template', 100); 79 function fc_comment_block_template($block_content, $parsed_block) 80 { 81 if ('core/comments' === $parsed_block['blockName'] && get_option('fastcomments_tenant_id')) { 82 $path = fc_comments_template(); 83 ob_start(); 84 require_once $path; 85 return ob_get_clean(); 86 } 87 return $block_content; 88 } 89 90 add_filter('pre_render_block', 'fc_comment_block_template', 100, 2); 75 91 add_filter('comments_number', 'fc_comment_count_template', 100); 76 92 add_filter('wp_enqueue_scripts', 'fc_add_comment_count_scripts', 100); … … 78 94 } 79 95 80 function fastcomments_cron() { 96 function fastcomments_cron() 97 { 81 98 require_once plugin_dir_path(__FILE__) . 'core/FastCommentsWordPressIntegration.php'; 82 99 $fastcomments = new FastCommentsWordPressIntegration(); … … 88 105 add_action('fastcomments_cron_hook', 'fastcomments_cron'); 89 106 90 function fastcomments_activate() { 107 function fastcomments_activate() 108 { 91 109 require_once plugin_dir_path(__FILE__) . 'core/FastCommentsWordPressIntegration.php'; 92 110 $fastcomments = new FastCommentsWordPressIntegration(); … … 94 112 } 95 113 96 function fastcomments_deactivate() { 114 function fastcomments_deactivate() 115 { 97 116 require_once plugin_dir_path(__FILE__) . 'core/FastCommentsWordPressIntegration.php'; 98 117 $fastcomments = new FastCommentsWordPressIntegration(); … … 100 119 } 101 120 102 function fastcomments_update() { 121 function fastcomments_update() 122 { 103 123 require_once plugin_dir_path(__FILE__) . 'core/FastCommentsWordPressIntegration.php'; 104 124 $fastcomments = new FastCommentsWordPressIntegration();
Note: See TracChangeset
for help on using the changeset viewer.