Plugin Directory

Changeset 3459357


Ignore:
Timestamp:
02/11/2026 09:22:32 PM (6 weeks ago)
Author:
visiblefirst
Message:

Release 3.2.42 - Fix post list VF Score showing incorrect value

Location:
visiblefirst
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • visiblefirst/tags/3.2.42/includes/modules/seo/class-visibl-seo.php

    r3457294 r3459357  
    337337
    338338            case 'visibl_vf_score':
    339                 // Calculate combined VF score (average of SEO, SMO, AEO)
    340                 $seo = get_post_meta($post_id, '_visibl_seo_score', true) ?: 0;
    341                 $smo = get_post_meta($post_id, '_visibl_smo_score', true) ?: 0;
    342                 $aeo = get_post_meta($post_id, '_visibl_aeo_score', true) ?: 0;
    343                 $vf_score = round(($seo + $smo + $aeo) / 3);
     339                // Use pre-calculated VF score, or calculate from correct meta keys
     340                $vf_score = get_post_meta($post_id, '_visibl_pro_score', true);
     341                if (!$vf_score) {
     342                    $seo = get_post_meta($post_id, '_visibl_seo_score', true) ?: 0;
     343                    $smo = get_post_meta($post_id, '_visibl_smo_score', true) ?: 0;
     344                    $ae = get_post_meta($post_id, '_visibl_ae_score', true) ?: 0;
     345                    $vf_score = round(($seo + $smo + $ae) / 3);
     346                }
    344347                $color_class = Visibl_Core::get_score_color($vf_score);
    345348                printf('<strong><span class="visibl-score-badge %s">%d</span></strong>', esc_attr($color_class), intval($vf_score));
    346349                break;
     350
    347351
    348352            case 'visibl_optimize':
  • visiblefirst/tags/3.2.42/readme.txt

    r3459258 r3459357  
    55Tested up to: 6.9
    66Requires PHP: 7.4
    7 Stable tag: 3.2.41
     7Stable tag: 3.2.42
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    394394== Changelog ==
    395395
     396= 3.2.42 =
     397* FIX: Post list VF Score column now shows correct score (was using stale meta key)
     398
     399
    396400= 3.2.41 =
    397401* NEW: VF Index™ - See which AI platforms (ChatGPT, Claude, Gemini, Perplexity) know about your business
  • visiblefirst/tags/3.2.42/visiblefirst.php

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

    r3457294 r3459357  
    337337
    338338            case 'visibl_vf_score':
    339                 // Calculate combined VF score (average of SEO, SMO, AEO)
    340                 $seo = get_post_meta($post_id, '_visibl_seo_score', true) ?: 0;
    341                 $smo = get_post_meta($post_id, '_visibl_smo_score', true) ?: 0;
    342                 $aeo = get_post_meta($post_id, '_visibl_aeo_score', true) ?: 0;
    343                 $vf_score = round(($seo + $smo + $aeo) / 3);
     339                // Use pre-calculated VF score, or calculate from correct meta keys
     340                $vf_score = get_post_meta($post_id, '_visibl_pro_score', true);
     341                if (!$vf_score) {
     342                    $seo = get_post_meta($post_id, '_visibl_seo_score', true) ?: 0;
     343                    $smo = get_post_meta($post_id, '_visibl_smo_score', true) ?: 0;
     344                    $ae = get_post_meta($post_id, '_visibl_ae_score', true) ?: 0;
     345                    $vf_score = round(($seo + $smo + $ae) / 3);
     346                }
    344347                $color_class = Visibl_Core::get_score_color($vf_score);
    345348                printf('<strong><span class="visibl-score-badge %s">%d</span></strong>', esc_attr($color_class), intval($vf_score));
    346349                break;
     350
    347351
    348352            case 'visibl_optimize':
  • visiblefirst/trunk/readme.txt

    r3459258 r3459357  
    55Tested up to: 6.9
    66Requires PHP: 7.4
    7 Stable tag: 3.2.41
     7Stable tag: 3.2.42
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    394394== Changelog ==
    395395
     396= 3.2.42 =
     397* FIX: Post list VF Score column now shows correct score (was using stale meta key)
     398
     399
    396400= 3.2.41 =
    397401* NEW: VF Index™ - See which AI platforms (ChatGPT, Claude, Gemini, Perplexity) know about your business
  • visiblefirst/trunk/visiblefirst.php

    r3459258 r3459357  
    33 * Plugin Name: VisibleFirst
    44 * Description: AI + SEO + Social visibility in one plugin. Complete visibility optimization for WordPress.
    5  * Version: 3.2.41
     5 * Version: 3.2.42
    66 * Author: VisibleFirst
    77 * Author URI: https://visiblefirst.com
     
    1616
    1717// Plugin constants
    18 define('VISIBL_VERSION', '3.2.41');
     18define('VISIBL_VERSION', '3.2.42');
    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.