Plugin Directory

Changeset 3458326


Ignore:
Timestamp:
02/10/2026 06:19:22 PM (7 weeks ago)
Author:
visiblefirst
Message:

Release 3.2.31 - Fix score sync array access, enable telemetry by default

Location:
visiblefirst
Files:
4 edited
6 copied

Legend:

Unmodified
Added
Removed
  • visiblefirst/tags/3.2.31/includes/class-visibl-core.php

    r3457294 r3458326  
    542542     */
    543543    public static function sync_scores_to_server() {
    544         // Only sync if user opted in to index
    545         if (!get_option('visibl_index_optin')) {
    546             return;
    547         }
     544        // Sync diagnostic data to server for VF Index
     545        // This is internal product telemetry, not marketing
    548546
    549547        $site_id = get_option('visibl_site_id', '');
     
    597595        foreach ($recent_posts as $post) {
    598596            $scores = self::get_visibility_score($post['ID']);
    599             if (!empty($scores)) {
    600                 $seo_scores[] = $scores['seo']['score'] ?? 0;
    601                 $smo_scores[] = $scores['smo']['score'] ?? 0;
    602                 $aeo_scores[] = $scores['aeo']['score'] ?? 0;
     597            if (!empty($scores) && isset($scores['scores'])) {
     598                $seo_scores[] = $scores['scores']['seo'] ?? 0;
     599                $smo_scores[] = $scores['scores']['smo'] ?? 0;
     600                $aeo_scores[] = $scores['scores']['ae'] ?? 0;
    603601
    604602                // Get focus keyword
     
    611609                    'post_type' => $post['post_type'],
    612610                    'focus_keyword' => $focus_keyword ?: '',
    613                     'seo' => $scores['seo']['score'] ?? 0,
    614                     'smo' => $scores['smo']['score'] ?? 0,
    615                     'aeo' => $scores['aeo']['score'] ?? 0,
     611                    'seo' => $scores['scores']['seo'] ?? 0,
     612                    'smo' => $scores['scores']['smo'] ?? 0,
     613                    'aeo' => $scores['scores']['ae'] ?? 0,
    616614                ];
    617615            }
  • visiblefirst/tags/3.2.31/readme.txt

    r3457623 r3458326  
    55Tested up to: 6.9
    66Requires PHP: 7.4
    7 Stable tag: 3.2.30
     7Stable tag: 3.2.31
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    394394== Changelog ==
    395395
     396= 3.2.31 =
     397* FIX: Score sync now correctly reports VF Index scores to server
     398* IMPROVED: Diagnostic telemetry enabled by default for better product insights
     399
    396400= 3.2.30 =
    397401* IMPROVED: Bulk tools now show "100 max per batch" limit
  • visiblefirst/tags/3.2.31/visiblefirst.php

    r3457623 r3458326  
    33 * Plugin Name: VisibleFirst
    44 * Description: AI + SEO + Social visibility in one plugin. Complete visibility optimization for WordPress.
    5  * Version: 3.2.30
     5 * Version: 3.2.31
    66 * Author: VisibleFirst
    77 * Author URI: https://visiblefirst.com
     
    1616
    1717// Plugin constants
    18 define('VISIBL_VERSION', '3.2.30');
     18define('VISIBL_VERSION', '3.2.31');
    1919define('VISIBL_PLUGIN_DIR', plugin_dir_path(__FILE__));
    2020define('VISIBL_PLUGIN_URL', plugin_dir_url(__FILE__));
  • visiblefirst/trunk/includes/class-visibl-core.php

    r3457294 r3458326  
    542542     */
    543543    public static function sync_scores_to_server() {
    544         // Only sync if user opted in to index
    545         if (!get_option('visibl_index_optin')) {
    546             return;
    547         }
     544        // Sync diagnostic data to server for VF Index
     545        // This is internal product telemetry, not marketing
    548546
    549547        $site_id = get_option('visibl_site_id', '');
     
    597595        foreach ($recent_posts as $post) {
    598596            $scores = self::get_visibility_score($post['ID']);
    599             if (!empty($scores)) {
    600                 $seo_scores[] = $scores['seo']['score'] ?? 0;
    601                 $smo_scores[] = $scores['smo']['score'] ?? 0;
    602                 $aeo_scores[] = $scores['aeo']['score'] ?? 0;
     597            if (!empty($scores) && isset($scores['scores'])) {
     598                $seo_scores[] = $scores['scores']['seo'] ?? 0;
     599                $smo_scores[] = $scores['scores']['smo'] ?? 0;
     600                $aeo_scores[] = $scores['scores']['ae'] ?? 0;
    603601
    604602                // Get focus keyword
     
    611609                    'post_type' => $post['post_type'],
    612610                    'focus_keyword' => $focus_keyword ?: '',
    613                     'seo' => $scores['seo']['score'] ?? 0,
    614                     'smo' => $scores['smo']['score'] ?? 0,
    615                     'aeo' => $scores['aeo']['score'] ?? 0,
     611                    'seo' => $scores['scores']['seo'] ?? 0,
     612                    'smo' => $scores['scores']['smo'] ?? 0,
     613                    'aeo' => $scores['scores']['ae'] ?? 0,
    616614                ];
    617615            }
  • visiblefirst/trunk/readme.txt

    r3457623 r3458326  
    55Tested up to: 6.9
    66Requires PHP: 7.4
    7 Stable tag: 3.2.30
     7Stable tag: 3.2.31
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    394394== Changelog ==
    395395
     396= 3.2.31 =
     397* FIX: Score sync now correctly reports VF Index scores to server
     398* IMPROVED: Diagnostic telemetry enabled by default for better product insights
     399
    396400= 3.2.30 =
    397401* IMPROVED: Bulk tools now show "100 max per batch" limit
  • visiblefirst/trunk/visiblefirst.php

    r3457623 r3458326  
    33 * Plugin Name: VisibleFirst
    44 * Description: AI + SEO + Social visibility in one plugin. Complete visibility optimization for WordPress.
    5  * Version: 3.2.30
     5 * Version: 3.2.31
    66 * Author: VisibleFirst
    77 * Author URI: https://visiblefirst.com
     
    1616
    1717// Plugin constants
    18 define('VISIBL_VERSION', '3.2.30');
     18define('VISIBL_VERSION', '3.2.31');
    1919define('VISIBL_PLUGIN_DIR', plugin_dir_path(__FILE__));
    2020define('VISIBL_PLUGIN_URL', plugin_dir_url(__FILE__));
Note: See TracChangeset for help on using the changeset viewer.