Plugin Directory

Changeset 3468946


Ignore:
Timestamp:
02/24/2026 10:55:06 PM (4 weeks ago)
Author:
sc0ttkclark
Message:

Update to version 1.4.1 from GitHub

Location:
pods-beaver-builder-themer-add-on
Files:
2 deleted
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • pods-beaver-builder-themer-add-on/tags/1.4.1/classes/class-pods-beaver-page-data.php

    r3264183 r3468946  
    11<?php
     2
     3// Don't load directly.
     4if ( ! defined( 'ABSPATH' ) ) {
     5    die( '-1' );
     6}
    27
    38/**
     
    611 * @since 1.0
    712 */
    8 final class PodsBeaverPageData {
     13final class PodsBeaverPageData { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound
    914
    1015    /**
     
    455460            if ( empty( $fields ) ) {
    456461                $fields = [
     462                    // translators: %s is the name of the pod.
    457463                    '' => sprintf( __( 'No fields found for pod "%s"', 'pods-beaver-builder-themer-add-on' ), $pod_name ),
    458464                ];
  • pods-beaver-builder-themer-add-on/tags/1.4.1/includes/pods-page-data.php

    r3264183 r3468946  
    11<?php
     2
     3// Don't load directly.
     4if ( ! defined( 'ABSPATH' ) ) {
     5    die( '-1' );
     6}
     7
     8// phpcs:ignoreFile WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound
     9
    210/**
    311 * ***************************Documentation****************************
  • pods-beaver-builder-themer-add-on/tags/1.4.1/pods-beaver-themer.php

    r3264183 r3468946  
    11<?php
    22/**
    3  * Plugin Name: Pods Beaver Themer Add-On
    4  * Plugin URI: http://pods.io/
    5  * Description: Integration with Beaver Builder Themer (https://www.wpbeaverbuilder.com). Provides a UI for mapping Field Connections with Pods
    6  * Version: 1.3.8
    7  * Author: Quasel, Pods Framework Team
    8  * Author URI: http://pods.io/about/
    9  * Text Domain: pods-beaver-builder-themer-add-on
     3 * Pods Beaver Themer Add-On
     4 *
     5 * @package   Pods_Beaver_Themer
     6 * @author    Pods Framework Team
     7 * @copyright 2026 Pods Foundation, Inc
     8 * @license   GPL v2 or later
     9 *
     10 * Plugin Name:       Pods Beaver Themer Add-On
     11 * Plugin URI:        https://pods.io/
     12 * Requires Plugins:  pods
     13 * Description:       Integration with Beaver Builder Themer (https://www.wpbeaverbuilder.com). Provides a UI for mapping Field Connections with Pods
     14 * Version:           1.4.1
     15 * Author:            Quasel, Pods Framework Team
     16 * Author URI:        https://pods.io/about/
     17 * Text Domain:       pods-beaver-builder-themer-add-on
     18 * License:           GPL v2 or later
     19 * License URI:       https://www.gnu.org/licenses/gpl-2.0.html
     20 * Requires at least: 6.3
     21 * Requires PHP:      7.2
    1022 * GitHub Plugin URI: https://github.com/pods-framework/pods-beaver-builder-themer-add-on
    11  *
    12  * Copyright 2025  Pods Foundation, Inc  (email : contact@podsfoundation.org)
    13  *
    14  * This program is free software; you can redistribute it and/or modify
     23 * Primary Branch:    main
     24 */
     25
     26/*
     27 * This program is free software: you can redistribute it and/or modify
    1528 * it under the terms of the GNU General Public License as published by
    16  * the Free Software Foundation; either version 2 of the License, or
    17  * (at your option) any later version.
     29 * the Free Software Foundation, either version 2 of the License, or
     30 * any later version.
    1831 *
    1932 * This program is distributed in the hope that it will be useful,
    2033 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     34 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    2235 * GNU General Public License for more details.
    2336 *
    2437 * You should have received a copy of the GNU General Public License
    25  * along with this program; if not, write to the Free Software
    26  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    27  */
    28 
    29 /**
    30  * @package Pods\Beaver Themer
    31  */
    32 
    33 define( 'PODS_BEAVER_VERSION', '1.3.8' );
     38 * along with this program. If not, see https://www.gnu.org/licenses/gpl-2.0.html.
     39 */
     40
     41// Don't load directly.
     42if ( ! defined( 'ABSPATH' ) ) {
     43    die( '-1' );
     44}
     45
     46define( 'PODS_BEAVER_VERSION', '1.4.1' );
    3447define( 'PODS_BEAVER_FILE', __FILE__ );
    3548define( 'PODS_BEAVER_DIR', plugin_dir_path( PODS_BEAVER_FILE ) );
     
    6679
    6780
    68     add_filter( 'fl_builder_loop_before_query_settings', 'pods_beaver_loop_before_query_settings', 99, 2 );
     81    add_filter( 'fl_builder_loop_before_query_settings', 'pods_beaver_loop_before_query_settings', 99, 1 );
    6982
    7083    add_filter( 'fl_builder_get_layout_metadata', 'pods_beaver_update_module_settings_data_source', 10, 3 );
     
    221234            'default'     => 'no',
    222235            'help'        => __( 'Modify the custom query to use data from a pods relationship field', 'pods-beaver-builder-themer-add-on' ),
    223             'description' => __( '', 'pods-beaver-builder-themer-add-on' ),
    224236            'options'     => $options,
    225237            'toggle'      => $toggle,
     
    471483 */
    472484function pods_beaver_render_settings_field( $field, $name, $settings ) {
    473     if ( 'data_source' != $name ) {
     485    if (  !  ( str_ends_with( $name, '_data_source' ) ||  'data_source' === $name  ) ) {
    474486        return $field;
    475487    }
     
    519531}
    520532
    521 /**
    522  * Register add-on with Pods Freemius connection.
    523  *
    524  * @since 1.3.3
    525  */
    526 function pods_beaver_freemius() {
    527     try {
    528         fs_dynamic_init( [
    529             'id'               => '5349',
    530             'slug'             => 'pods-beaver-builder-themer-add-on',
    531             'type'             => 'plugin',
    532             'public_key'       => 'pk_d8a10a25a662419add4ff3fbcc493',
    533             'is_premium'       => false,
    534             'has_paid_plans'   => false,
    535             'is_org_compliant' => true,
    536             'parent'           => [
    537                 'id'         => '5347',
    538                 'slug'       => 'pods',
    539                 'public_key' => 'pk_737105490825babae220297e18920',
    540                 'name'       => 'Pods',
    541             ],
    542             'menu'             => [
    543                 'slug'        => 'pods-settings',
    544                 'contact'     => false,
    545                 'support'     => false,
    546                 'affiliation' => false,
    547                 'account'     => true,
    548                 'pricing'     => false,
    549                 'addons'      => true,
    550                 'parent'      => [
    551                     'slug' => 'pods',
    552                 ],
    553             ],
    554         ] );
    555     } catch ( \Exception $exception ) {
    556         return;
    557     }
    558 }
    559 
    560 add_action( 'pods_freemius_init', 'pods_beaver_freemius' );
     533add_filter( 'wp_plugin_check_ignore_files', static function ( $ignored_files ) {
     534    $pods_dev_files = [
     535            '.distignore',
     536            '.gitattributes',
     537            '.gitignore',
     538            '.phpcs.compat.xml',
     539            '.phpcs.xml',
     540            'composer.json',
     541            'phpcs.xml.dist',
     542            'phpstan.neon',
     543    ];
     544
     545    return array_merge( $ignored_files, $pods_dev_files );
     546} );
     547
     548add_filter( 'wp_plugin_check_ignore_directories', static function ( $ignored_dirs ) {
     549    $pods_dev_dirs = [
     550            '.git',
     551            '.github',
     552            '.wordpress-org',
     553            'assets',
     554    ];
     555
     556    return array_merge( $ignored_dirs, $pods_dev_dirs );
     557} );
  • pods-beaver-builder-themer-add-on/tags/1.4.1/readme.txt

    r3264183 r3468946  
    11=== Pods Beaver Themer Add-On ===
    2 Contributors: quasel, sc0ttkclark, jimtrue, smarterdigitalltd, keraweb, nicdford,
     2Contributors: quasel, sc0ttkclark, jimtrue, smarterdigitalltd, keraweb, nicdford
    33Donate link: https://friends.pods.io/
    44Tags: pods, beaver builder, beaver themer
    5 Requires at least: 5.7
    6 Tested up to: 6.8
    7 Requires PHP: 5.6
    8 Stable tag: 1.3.8
     5Requires at least: 6.3
     6Tested up to: 7.0
     7Requires PHP: 7.2
     8Stable tag: 1.4.1
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7272
    7373== Changelog ==
     74
     75= 1.4.1 - February 24th, 2026 =
     76
     77* New minimum requirements: WordPress 6.3 and PHP 7.2
     78* Fixed: Pods Relationship now showing correctly in component fields with support for Beaver Themer 1.5.2.2. #122 #123 (@codente)
     79* Tested and updated WordPress compatibility up to WP 7.0 (@sc0ttkclark)
     80
     81= 1.4.0 - February 24th, 2026 =
     82
     83* Deployment issue happened for this release, this is the same code as 1.4.1
    7484
    7585= 1.3.8 - March 30th, 2025 =
  • pods-beaver-builder-themer-add-on/trunk/classes/class-pods-beaver-page-data.php

    r3264183 r3468946  
    11<?php
     2
     3// Don't load directly.
     4if ( ! defined( 'ABSPATH' ) ) {
     5    die( '-1' );
     6}
    27
    38/**
     
    611 * @since 1.0
    712 */
    8 final class PodsBeaverPageData {
     13final class PodsBeaverPageData { // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound
    914
    1015    /**
     
    455460            if ( empty( $fields ) ) {
    456461                $fields = [
     462                    // translators: %s is the name of the pod.
    457463                    '' => sprintf( __( 'No fields found for pod "%s"', 'pods-beaver-builder-themer-add-on' ), $pod_name ),
    458464                ];
  • pods-beaver-builder-themer-add-on/trunk/includes/pods-page-data.php

    r3264183 r3468946  
    11<?php
     2
     3// Don't load directly.
     4if ( ! defined( 'ABSPATH' ) ) {
     5    die( '-1' );
     6}
     7
     8// phpcs:ignoreFile WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound
     9
    210/**
    311 * ***************************Documentation****************************
  • pods-beaver-builder-themer-add-on/trunk/pods-beaver-themer.php

    r3264183 r3468946  
    11<?php
    22/**
    3  * Plugin Name: Pods Beaver Themer Add-On
    4  * Plugin URI: http://pods.io/
    5  * Description: Integration with Beaver Builder Themer (https://www.wpbeaverbuilder.com). Provides a UI for mapping Field Connections with Pods
    6  * Version: 1.3.8
    7  * Author: Quasel, Pods Framework Team
    8  * Author URI: http://pods.io/about/
    9  * Text Domain: pods-beaver-builder-themer-add-on
     3 * Pods Beaver Themer Add-On
     4 *
     5 * @package   Pods_Beaver_Themer
     6 * @author    Pods Framework Team
     7 * @copyright 2026 Pods Foundation, Inc
     8 * @license   GPL v2 or later
     9 *
     10 * Plugin Name:       Pods Beaver Themer Add-On
     11 * Plugin URI:        https://pods.io/
     12 * Requires Plugins:  pods
     13 * Description:       Integration with Beaver Builder Themer (https://www.wpbeaverbuilder.com). Provides a UI for mapping Field Connections with Pods
     14 * Version:           1.4.1
     15 * Author:            Quasel, Pods Framework Team
     16 * Author URI:        https://pods.io/about/
     17 * Text Domain:       pods-beaver-builder-themer-add-on
     18 * License:           GPL v2 or later
     19 * License URI:       https://www.gnu.org/licenses/gpl-2.0.html
     20 * Requires at least: 6.3
     21 * Requires PHP:      7.2
    1022 * GitHub Plugin URI: https://github.com/pods-framework/pods-beaver-builder-themer-add-on
    11  *
    12  * Copyright 2025  Pods Foundation, Inc  (email : contact@podsfoundation.org)
    13  *
    14  * This program is free software; you can redistribute it and/or modify
     23 * Primary Branch:    main
     24 */
     25
     26/*
     27 * This program is free software: you can redistribute it and/or modify
    1528 * it under the terms of the GNU General Public License as published by
    16  * the Free Software Foundation; either version 2 of the License, or
    17  * (at your option) any later version.
     29 * the Free Software Foundation, either version 2 of the License, or
     30 * any later version.
    1831 *
    1932 * This program is distributed in the hope that it will be useful,
    2033 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     34 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    2235 * GNU General Public License for more details.
    2336 *
    2437 * You should have received a copy of the GNU General Public License
    25  * along with this program; if not, write to the Free Software
    26  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    27  */
    28 
    29 /**
    30  * @package Pods\Beaver Themer
    31  */
    32 
    33 define( 'PODS_BEAVER_VERSION', '1.3.8' );
     38 * along with this program. If not, see https://www.gnu.org/licenses/gpl-2.0.html.
     39 */
     40
     41// Don't load directly.
     42if ( ! defined( 'ABSPATH' ) ) {
     43    die( '-1' );
     44}
     45
     46define( 'PODS_BEAVER_VERSION', '1.4.1' );
    3447define( 'PODS_BEAVER_FILE', __FILE__ );
    3548define( 'PODS_BEAVER_DIR', plugin_dir_path( PODS_BEAVER_FILE ) );
     
    6679
    6780
    68     add_filter( 'fl_builder_loop_before_query_settings', 'pods_beaver_loop_before_query_settings', 99, 2 );
     81    add_filter( 'fl_builder_loop_before_query_settings', 'pods_beaver_loop_before_query_settings', 99, 1 );
    6982
    7083    add_filter( 'fl_builder_get_layout_metadata', 'pods_beaver_update_module_settings_data_source', 10, 3 );
     
    221234            'default'     => 'no',
    222235            'help'        => __( 'Modify the custom query to use data from a pods relationship field', 'pods-beaver-builder-themer-add-on' ),
    223             'description' => __( '', 'pods-beaver-builder-themer-add-on' ),
    224236            'options'     => $options,
    225237            'toggle'      => $toggle,
     
    471483 */
    472484function pods_beaver_render_settings_field( $field, $name, $settings ) {
    473     if ( 'data_source' != $name ) {
     485    if (  !  ( str_ends_with( $name, '_data_source' ) ||  'data_source' === $name  ) ) {
    474486        return $field;
    475487    }
     
    519531}
    520532
    521 /**
    522  * Register add-on with Pods Freemius connection.
    523  *
    524  * @since 1.3.3
    525  */
    526 function pods_beaver_freemius() {
    527     try {
    528         fs_dynamic_init( [
    529             'id'               => '5349',
    530             'slug'             => 'pods-beaver-builder-themer-add-on',
    531             'type'             => 'plugin',
    532             'public_key'       => 'pk_d8a10a25a662419add4ff3fbcc493',
    533             'is_premium'       => false,
    534             'has_paid_plans'   => false,
    535             'is_org_compliant' => true,
    536             'parent'           => [
    537                 'id'         => '5347',
    538                 'slug'       => 'pods',
    539                 'public_key' => 'pk_737105490825babae220297e18920',
    540                 'name'       => 'Pods',
    541             ],
    542             'menu'             => [
    543                 'slug'        => 'pods-settings',
    544                 'contact'     => false,
    545                 'support'     => false,
    546                 'affiliation' => false,
    547                 'account'     => true,
    548                 'pricing'     => false,
    549                 'addons'      => true,
    550                 'parent'      => [
    551                     'slug' => 'pods',
    552                 ],
    553             ],
    554         ] );
    555     } catch ( \Exception $exception ) {
    556         return;
    557     }
    558 }
    559 
    560 add_action( 'pods_freemius_init', 'pods_beaver_freemius' );
     533add_filter( 'wp_plugin_check_ignore_files', static function ( $ignored_files ) {
     534    $pods_dev_files = [
     535            '.distignore',
     536            '.gitattributes',
     537            '.gitignore',
     538            '.phpcs.compat.xml',
     539            '.phpcs.xml',
     540            'composer.json',
     541            'phpcs.xml.dist',
     542            'phpstan.neon',
     543    ];
     544
     545    return array_merge( $ignored_files, $pods_dev_files );
     546} );
     547
     548add_filter( 'wp_plugin_check_ignore_directories', static function ( $ignored_dirs ) {
     549    $pods_dev_dirs = [
     550            '.git',
     551            '.github',
     552            '.wordpress-org',
     553            'assets',
     554    ];
     555
     556    return array_merge( $ignored_dirs, $pods_dev_dirs );
     557} );
  • pods-beaver-builder-themer-add-on/trunk/readme.txt

    r3264183 r3468946  
    11=== Pods Beaver Themer Add-On ===
    2 Contributors: quasel, sc0ttkclark, jimtrue, smarterdigitalltd, keraweb, nicdford,
     2Contributors: quasel, sc0ttkclark, jimtrue, smarterdigitalltd, keraweb, nicdford
    33Donate link: https://friends.pods.io/
    44Tags: pods, beaver builder, beaver themer
    5 Requires at least: 5.7
    6 Tested up to: 6.8
    7 Requires PHP: 5.6
    8 Stable tag: 1.3.8
     5Requires at least: 6.3
     6Tested up to: 7.0
     7Requires PHP: 7.2
     8Stable tag: 1.4.1
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7272
    7373== Changelog ==
     74
     75= 1.4.1 - February 24th, 2026 =
     76
     77* New minimum requirements: WordPress 6.3 and PHP 7.2
     78* Fixed: Pods Relationship now showing correctly in component fields with support for Beaver Themer 1.5.2.2. #122 #123 (@codente)
     79* Tested and updated WordPress compatibility up to WP 7.0 (@sc0ttkclark)
     80
     81= 1.4.0 - February 24th, 2026 =
     82
     83* Deployment issue happened for this release, this is the same code as 1.4.1
    7484
    7585= 1.3.8 - March 30th, 2025 =
Note: See TracChangeset for help on using the changeset viewer.