Plugin Directory

Changeset 3229680


Ignore:
Timestamp:
01/27/2025 02:41:50 PM (13 months ago)
Author:
rexdot
Message:

Version 3.1.4

Location:
portfolio-elementor/trunk
Files:
242 added
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • portfolio-elementor/trunk/classes/Powerfolio_Shortcode_Generator.php

    r3152188 r3229680  
    77
    88/**
    9  * Image Gallery Element
     9 * Powerfolio_Shortcode_Generator
    1010 *
    1111 */
     
    1313
    1414    public function __construct() {
    15         // allow users to disable this feature if needed
    16         $shortcode_generator_enabled = apply_filters( 'powerfolio_shortcode_generator_enabled', true );
     15        // I'm disabling this by default for now
     16        $shortcode_generator_enabled = apply_filters( 'powerfolio_shortcode_generator_enabled', false );
    1717
    1818        if ( $shortcode_generator_enabled == true ) {
     
    2323   
    2424    public function enqueue_shortcode_generator_scripts($hook) {
    25        
    2625        $allowed_hooks = apply_filters('powerfolio_allowed_tinymce_hooks', ['post.php', 'post-new.php']);
    2726
     
    3534        // Enqueue Font Awesome
    3635        wp_enqueue_style('font-awesome', 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');
    37 
    38         // Enqueue the shortcode generator script
    39         wp_enqueue_script( 'powerfolio-shortcode-generator', plugin_dir_url(__FILE__) . '../assets/js/powerfolio-shortcode-generator.js', array( 'jquery', 'wp-tinymce' ), false, true );
    4036
    4137        // Prepare hover_options and column_options
  • portfolio-elementor/trunk/portfolio-elementor.php

    r3152188 r3229680  
    22
    33/*
    4 Plugin Name: Portfolio & Image Gallery for Elementor | PowerFolio
     4Plugin Name: Portfolio & Image Gallery for Elementor | PowerFolio PRO
    55Plugin URI: https://powerfoliowp.com
    6 Description: Create customizable and filterable portfolio and image galleries in seconds using Elementor, Gutenberg blocks, or any page builder!
     6Description: Create portfolios and image galleries in seconds using Elementor, Gutenberg blocks, or any page builder!
    77Author: PWR Plugins
    88Text Domain: powerfolio
    9 Version: 3.1.2
     9Version: 3.1.4
    1010Author URI: https://pwrplugins.com
    1111*/
     
    2020    // DO NOT REMOVE THIS IF, IT IS ESSENTIAL FOR THE `function_exists` CALL ABOVE TO PROPERLY WORK.
    2121    if ( !function_exists( 'pe_fs' ) ) {
    22         // ... Freemius integration snippet ...
    2322        // Create a helper function for easy SDK access.
    2423        function pe_fs() {
    2524            global $pe_fs;
    2625            if ( !isset( $pe_fs ) ) {
    27                 // Include Freemius SDK.
    28                 require_once dirname( __FILE__ ) . '/freemius/start.php';
     26                // Include Composer autoloader
     27                require_once dirname( __FILE__ ) . '/vendor/autoload.php';
    2928                $pe_fs = fs_dynamic_init( array(
    3029                    'id'             => '7226',
     
    146145    }
    147146
    148     $current_theme = wp_get_theme();
    149     if ( $current_theme == 'Betheme' || $current_theme == 'OceanWP' ) {
    150         add_action( 'wp_enqueue_scripts', 'elpt_fix_packery_layout_themes', 99999 );
    151     }
     147    add_action( 'init', function () {
     148        $current_theme = wp_get_theme();
     149        if ( $current_theme == 'Betheme' || $current_theme == 'OceanWP' ) {
     150            add_action( 'wp_enqueue_scripts', 'elpt_fix_packery_layout_themes', 99999 );
     151        }
     152    } );
    152153}
    153154//load textdomain
  • portfolio-elementor/trunk/readme.txt

    r3152190 r3229680  
    22Contributors: dotrex, wppug, rexdot, freemius
    33Donate link:
    4 Tags: portfolio, filterable portfolio, image gallery, gallery, elementor
     4Tags: portfolio, filterable portfolio, portfolio gallery, responsive portfolio, image gallery, gallery, elementor
    55Requires at least: 4.0
    6 Tested up to: 6.6.2
     6Tested up to: 6.7.1
    77Requires PHP: 7.4
    8 Stable tag: trunk
     8Stable tag: 3.1.4
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1761763.1.1 - Security Hotfix
    1771773.1.2 - Update Freemius SDK / Fixed Undefined array key “pagination_postsperpage” PHP error
     1783.1.4 - Fixed issues with latest WP update / Updated Freemius SDK
Note: See TracChangeset for help on using the changeset viewer.