Plugin Directory

Changeset 3380660


Ignore:
Timestamp:
10/19/2025 12:03:47 AM (5 months ago)
Author:
marceljm
Message:

Quick Edit initially disabled

Location:
featured-image-from-url/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • featured-image-from-url/trunk/admin/column.php

    r3341179 r3380660  
    99function fifu_column() {
    1010    if (is_user_logged_in() && current_user_can('publish_posts')) {
     11        $first_activation = get_option('fifu_first_activation', false);
     12        if ($first_activation) {
     13            $url_count = (int) fifu_db_count_urls();
     14            if ($url_count === 0) {
     15                return;
     16            }
     17            update_option('fifu_first_activation', false);
     18        }
    1119        add_filter('manage_posts_columns', 'fifu_column_head');
    1220        add_filter('manage_pages_columns', 'fifu_column_head');
  • featured-image-from-url/trunk/admin/strings.php

    r3356282 r3380660  
    13271327    // bbpress
    13281328    $fifu['bbpress']['desc'] = function () {
    1329         _e("Enable the addition of featured images to forums, topics, and replies.", FIFU_SLUG);
     1329        _e("Enable the addition of remote images to forums, topics, replies, and activities.", FIFU_SLUG);
    13301330    };
    13311331
  • featured-image-from-url/trunk/featured-image-from-url.php

    r3373002 r3380660  
    55 * Plugin URI: https://fifu.app/
    66 * Description: Use remote media as the featured image and beyond.
    7  * Version: 5.2.9
     7 * Version: 5.3.0
    88 * Author: fifu.app
    99 * Author URI: https://fifu.app/
     
    103103            fifu_activate_actions();
    104104            fifu_set_author();
     105            fifu_flag_first_activation();
    105106            // record installed time per site for review timing
    106107            if (!get_option('fifu_installed_time'))
     
    114115        fifu_activate_actions();
    115116        fifu_set_author();
     117        fifu_flag_first_activation();
    116118        // Set redirect transient only for non-multisite
    117119        set_transient('fifu_redirect_to_settings', true, 30);
     
    137139    fifu_db_maybe_create_table_meta_in();
    138140    fifu_db_maybe_create_table_meta_out();
     141}
     142
     143function fifu_flag_first_activation() {
     144    if (false === get_option('fifu_first_activation', false)) {
     145        add_option('fifu_first_activation', true, '', 'no');
     146    }
    139147}
    140148
  • featured-image-from-url/trunk/includes/html/social-home.html

    r3352132 r3380660  
    11<!-- FIFU:meta:begin:home -->
    2 <meta property="og:image" content="<?php echo $url ?>" />
     2<meta property="og:image" content="<?php echo esc_attr(esc_url($url)) ?>" />
    33<!-- FIFU:meta:end:home -->
  • featured-image-from-url/trunk/readme.txt

    r3373002 r3380660  
    55Requires at least: 5.6
    66Tested up to: 6.8.3
    7 Stable tag: 5.2.9
     7Stable tag: 5.3.0
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    247247== Changelog ==
    248248
     249= 5.3.0 =
     250* Enhancement: Quick Edit column (PRO feature) not displayed initially for new users to avoid confusion; Enhancement: bbPress and BuddyBoss Platform (can now add images to activities).
     251
    249252= 5.2.9 =
    250253* New: multisite network menu; Enhancement: integration with the WPML Multilingual CMS plugin (when a post or product is duplicated, FIFU now duplicates its image data); Fix: Optimized Images (URLs not being included in structured data); Fix: possible syntax error on sites with very old PHP versions.
     
    274277* Fix: possible fatal error when activating or upgrading the plugin; Fix: potential undefined index/property notices.
    275278
    276 = 5.2.0 =
    277 * Enhancement: Image Not Found message displayed in the post editor when the image URL is invalid; Fix: vulnerability reported by Wordfence (improved validation of values added in FIFU fields via post editor for better security); Fix: potential undefined index notices.
    278 
    279279= others =
    280280* [more](https://fifu.app/changelog)
     
    283283== Upgrade Notice ==
    284284
    285 = 5.2.9 =
    286 * New: multisite network menu; Enhancement: integration with the WPML Multilingual CMS plugin (when a post or product is duplicated, FIFU now duplicates its image data); Fix: Optimized Images (URLs not being included in structured data); Fix: possible syntax error on sites with very old PHP versions.
     285= 5.3.0 =
     286* Enhancement: Quick Edit column (PRO feature) not displayed initially for new users to avoid confusion; Enhancement: bbPress and BuddyBoss Platform (can now add images to activities).
Note: See TracChangeset for help on using the changeset viewer.