Plugin Directory

Changeset 3732776


Ignore:
Timestamp:
10/07/2026 02:22:14 PM (3 weeks ago)
Author:
plugupp
Message:

Release 2.8.1

Location:
dynamic-og-image-generator/trunk
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • dynamic-og-image-generator/trunk/assets/shared/admin-controls.css

    r3715602 r3732776  
    3232 *     slot (`plugupp-field-slot-stack`): two companions shown one under the
    3333 *     other when their deciding control shows both.
     34 *   - 0.2.4 caps a field's text input at its field at every width (core's
     35 *     fixed widths become maxima), so a core `regular-text` in a narrow slot
     36 *     never runs past it.
    3437 *
    3538 * CANONICAL SOURCE - edit in _shared/shared-admin-controls/src/, re-run sync.sh.
    … …  
    130133        flex-wrap: nowrap;
    131134}
     135/* A field's text input is never wider than its field (0.2.4, 2026-09-27).
     136 * Core gives inputs fixed widths (`.regular-text` 25em, 350px; `.large-text`
     137 * 99%) and caps `.regular-text` at 100% only below its 782px breakpoint, so
     138 * above it a 350px input in a narrower field or slot ran past it: Folder
     139 * Flow's First breadcrumb text, 350px in a 232px slot beside its row of
     140 * buttons in a tab panel, ran 119px past the slot and 99px past the card, and
     141 * scrolled the page 79px sideways, at 783 (measured on both FFG staging
     142 * sites; tests/layout reproduces it). Core's width is now a maximum, never a
     143 * reason to run past the box, at every width. `calc( 100% - 2px )` leaves
     144 * room for core's `input { margin: 0 1px }`, so the input's margin box fills
     145 * the field exactly; a textarea has no margin.
     146 *
     147 * ZERO SPECIFICITY (`:where()`) IS LOAD-BEARING: the cap is only a default.
     148 * Any maximum already set wins over it, so nothing that had one changes: a
     149 * consumer's own cap on a field's textarea (FFG's 420px folder lists), core's
     150 * phone-band caps (`.small-text` 4.375em, `.regular-text` 100% where 0.2.2
     151 * removes the margins, `.form-table td` inputs none). A first cut at (0,2,1)
     152 * overrode them all (FFG's diff, 2026-09-27). A select keeps its own rule. */
     153:where(.plugupp-field) :where(input[type="text"], input[type="password"], input[type="email"], input[type="url"], input[type="number"], input[type="search"], input[type="tel"], input[type="date"], input[type="time"], input[type="datetime-local"], input[type="month"], input[type="week"], input:not([type])) {
     154        max-width: calc( 100% - 2px );
     155}
     156:where(.plugupp-field) :where(textarea) {
     157        max-width: 100%;
     158}
    132159/* Below core's 782px admin breakpoint the pair wraps (0.2.2, ruled
    133160 * 2026-09-27): a pair that never wraps ran 166px past the card, and scrolled
  • dynamic-og-image-generator/trunk/dynamic-og-image-generator.php

    r3715602 r3732776  
    55 * Plugin URI:        https://wordpress.org/plugins/dynamic-og-image-generator/
    66 * Description:       Automatically generates real screenshot-based Open Graph images for your pages and posts. No templates - actual screenshots of your site, cached locally and refreshed on a configurable schedule.
    7  * Version:           2.8.0
     7 * Version:           2.8.1
    88 * Requires at least: 6.0
    99 * Requires PHP:      7.4
    … …  
    116116    }
    117117    // Plugin constants
    118     define( 'DOIG_VERSION', '2.8.0' );
     118    define( 'DOIG_VERSION', '2.8.1' );
    119119    define( 'DOIG_PLUGIN_FILE', __FILE__ );
    120120    define( 'DOIG_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
    … …  
    139139    // assets are enqueued on DOIG's own screens only (DOIG_Admin::enqueue_assets
    140140    // and the Log UI's own enqueue on the Settings page).
    141     define( 'DOIG_ADMIN_CONTROLS_VERSION', '0.2.3' );
     141    define( 'DOIG_ADMIN_CONTROLS_VERSION', '0.2.4' );
    142142    require_once DOIG_PLUGIN_DIR . 'includes/class-admin-controls.php';
    143143    DOIG_Admin_Controls::boot( array(
  • dynamic-og-image-generator/trunk/includes/class-admin-controls.php

    r3715602 r3732776  
    4747
    4848        /** Component version (the VERSION file; sync.sh prints it). */
    49         const VERSION = '0.2.3';
     49        const VERSION = '0.2.4';
    5050
    5151        /**
  • dynamic-og-image-generator/trunk/readme.txt

    r3715602 r3732776  
    44Requires at least: 6.0
    55Tested up to: 7.1
    6 Stable tag: 2.8.0
     6Stable tag: 2.8.1
    77Requires PHP: 7.4
    88License: GPLv2 or later
    … …  
    131131
    132132== Changelog ==
     133
     134= 2.8.1 =
     135* Security: updated the Freemius SDK to 2.13.5, which includes security fixes.
     136* Fixed: a text box on the Settings page now always fits inside its setting, at every window width.
    133137
    134138= 2.8.0 =
  • dynamic-og-image-generator/trunk/vendor/freemius/includes/class-freemius.php

    r3596932 r3732776  
    45414541
    45424542            if ( $this->is_user_in_admin() ) {
    4543                 if ( $this->is_registered() && fs_request_has( 'purchase_completed' ) ) {
    4544                     $this->_admin_notices->add_sticky(
    4545                         sprintf(
    4546                         /* translators: %s: License type (e.g. you have a professional license) */
    4547                             $this->get_text_inline( 'You have purchased a %s license.', 'you-have-x-license' ),
    4548                             fs_request_get( 'purchased_plan' )
    4549                         ) .
    4550                         sprintf(
    4551                             $this->get_text_inline(" The %s's %sdownload link%s, license key, and installation instructions have been sent to %s. If you can't find the email after 5 min, please check your spam box.", 'post-purchase-email-sent-message' ),
    4552                             $this->get_module_label( true ),
    4553                             ( FS_Plugin::is_valid_id( $this->get_bundle_id() ) ? "products' " : '' ),
    4554                             ( FS_Plugin::is_valid_id( $this->get_bundle_id() ) ? 's' : '' ),
    4555                             sprintf(
    4556                                 '<strong>%s</strong>',
    4557                                 fs_request_get( 'purchase_email' )
    4558                             )
    4559                         ),
    4560                         'plan_purchased',
    4561                         $this->get_text_x_inline( 'Yee-haw', 'interjection expressing joy or exuberance', 'yee-haw' ) . '!'
    4562                     );
    4563                 }
    4564 
    45654543                if ( $this->is_addon() ) {
    45664544                    if ( ! $this->is_parent_plugin_installed() ) {
    … …  
    48644842                $code = empty( $result->error->code ) ? '' : " Code: {$result->error->code}";
    48654843
    4866                 $error_message .= "<b>{$result->error->message}{$code}</b>";
     4844                // We do not send HTML from exceptions from Freemius servers, but we escape it nonetheless.
     4845                $error_message .= "<b>" . esc_html( $result->error->message . $code ) . "</b>";
    48674846            } else {
    4868                 $error_message .= var_export( $result, true );
     4847                $error_message .= esc_html( var_export( $result, true ) );
    48694848            }
    48704849
    … …  
    67986777            }
    67996778
     6779            $escaped_email_address = esc_html( $email_address );
     6780
    68006781            $formatted_message_args = array(
    68016782                "<b>{$this->get_plugin_name()}</b>",
    6802                 "<b>{$email_address}</b>",
     6783                "<b>{$escaped_email_address}</b>",
    68036784            );
    68046785
    … …  
    68456826
    68466827                $formatted_message_args[] = ( ! empty( $support_email_address ) ) ?
    6847                     ( "<b>{$support_email_address}</b>" ) :
     6828                    ( "<b>" . esc_html( $support_email_address ) . "</b>" ) :
    68486829                    $this->get_text_x_inline(
    68496830                        "the product's support email address",
    … …  
    1756517546            }
    1756617547
     17548            // Only site administrators who can activate plugins may opt-in.
     17549            if ( ! $this->is_user_admin() ) {
     17550                return;
     17551            }
     17552
    1756717553            $has_pending_activation_confirmation_param = fs_request_has( 'pending_activation' );
    1756817554
    … …  
    1814418130                    $this->_admin_notices->add(
    1814518131                        sprintf( $this->get_text_inline( 'Couldn\'t activate %s.', 'could-not-activate-x' ), $this->get_plugin_name() ) . ' ' .
    18146                         $this->get_text_inline( 'Please contact us with the following message:', 'contact-us-with-error-message' ) . ' ' . '<b>' . $result->error->message . '</b>',
     18132                        $this->get_text_inline( 'Please contact us with the following message:', 'contact-us-with-error-message' ) . ' ' . '<b>' . esc_html( $result->error->message ) . '</b>',
    1814718133                        $this->get_text_x_inline( 'Oops', 'exclamation', 'oops' ) . '...',
    1814818134                        'error'
    … …  
    1826418250                    $this->_admin_notices->add(
    1826518251                        sprintf( $this->get_text_inline( 'Couldn\'t activate %s.', 'could-not-activate-x' ), $this->get_plugin_name() ) . ' ' .
    18266                         $this->get_text_inline( 'Please contact us with the following message:', 'contact-us-with-error-message' ) . ' ' . '<b>' . $error_message . '</b>',
     18252                        $this->get_text_inline( 'Please contact us with the following message:', 'contact-us-with-error-message' ) . ' ' . '<b>' . esc_html( $error_message ) . '</b>',
    1826718253                        $this->get_text_x_inline( 'Oops', 'exclamation', 'oops' ) . '...',
    1826818254                        'error'
    … …  
    1844118427                $this->_admin_notices->add(
    1844218428                    sprintf( $this->get_text_inline( 'Couldn\'t activate %s.', 'could-not-activate-x' ), $this->get_plugin_name() ) . ' ' .
    18443                     $this->get_text_inline( 'Please contact us with the following message:', 'contact-us-with-error-message' ) . ' ' . '<b>' . $parent_install->error->message . '</b>',
     18429                    $this->get_text_inline( 'Please contact us with the following message:', 'contact-us-with-error-message' ) . ' ' . '<b>' . esc_html( $parent_install->error->message ) . '</b>',
    1844418430                    $this->get_text_x_inline( 'Oops', 'exclamation', 'oops' ) . '...',
    1844518431                    'error'
    … …  
    2115921145                            // Authentication params are broken.
    2116021146                            $this->_admin_notices->add(
    21161                                 $this->get_text_inline( 'It seems like one of the authentication parameters is wrong. Update your Public Key, Secret Key & User ID, and try again.', 'wrong-authentication-param-message' ) . '<br> ' . $this->get_text_inline( 'Error received from the server:', 'server-error-message' ) . var_export( $result->error, true ),
     21147                                $this->get_text_inline( 'It seems like one of the authentication parameters is wrong. Update your Public Key, Secret Key & User ID, and try again.', 'wrong-authentication-param-message' ) . '<br> ' . $this->get_text_inline( 'Error received from the server:', 'server-error-message' ) . esc_html( var_export( $result->error, true ) ),
    2116221148                                '',
    2116321149                                'error'
    … …  
    2148021466                            sprintf(
    2148121467                                '<a href="%s">%s</a>',
    21482                                 $this->contact_url( 'bug' ),
     21468                                esc_url( $this->contact_url( 'bug' ) ),
    2148321469                                $this->get_text_inline( 'Please contact us here', 'contact-us-here' )
    2148421470                            ),
    … …  
    2157321559                '<div class="fs-api-request-error-details" style="display: none">' .
    2157421560                    '<strong>' . $this->get_text_inline( 'Error received from the server:', 'server-error-message' ) . '</strong><br>' .
    21575                     $result->error->message .
     21561                    esc_html( $result->error->message ) .
    2157621562                '</div>';
    2157721563
    … …  
    2167821664                        $this->get_text_inline( 'It looks like the license could not be activated.', 'license-activation-failed-message' ),
    2167921665                        ( is_object( $license ) && isset( $license->error ) ?
    21680                             $license->error->message :
     21666                            esc_html( $license->error->message ) :
    2168121667                            sprintf( '%s<br><code>%s</code>',
    2168221668                                $this->get_text_inline( 'Error received from the server:', 'server-error-message' ),
    21683                                 var_export( $license, true )
     21669                                esc_html( var_export( $license, true ) )
    2168421670                            )
    2168521671                        )
    … …  
    2176921755                $this->_admin_notices->add(
    2177021756                    $this->get_text_inline( 'It looks like the license deactivation failed.', 'license-deactivation-failed-message' ) . '<br> ' .
    21771                     $this->get_text_inline( 'Error received from the server:', 'server-error-message' ) . ' ' . var_export( $license->error, true ),
     21757                    $this->get_text_inline( 'Error received from the server:', 'server-error-message' ) . ' ' . esc_html( var_export( $license->error, true ) ),
    2177221758                    $hmm_text,
    2177321759                    'error'
    … …  
    2241822404                            sprintf(
    2241922405                                '<a href="%s" target="_blank" rel="noopener">%s</a>',
    22420                                 $this->get_account_url( 'download_latest' ),
     22406                                esc_url( $this->get_account_url( 'download_latest' ) ),
    2242122407                                sprintf(
    2242222408                                /* translators: %s: plan name (e.g. latest "Professional" version) */
    … …  
    2283622822                $this->_admin_notices->add( sprintf(
    2283722823                    $this->get_text_inline( 'Verification mail was just sent to %s. If you can\'t find it after 5 min, please check your spam box.', 'verification-email-sent-message' ),
    22838                     sprintf( '<a href="mailto:%1$s">%2$s</a>', esc_url( $this->_user->email ), $this->_user->email )
     22824                    sprintf( '<a href="mailto:%1$s">%2$s</a>', esc_url( $this->_user->email ), esc_html( $this->_user->email ) )
    2283922825                ) );
    2284022826            } else {
    … …  
    2316023146                            if ( $this->init_change_owner( $candidate_email, $transfer_type ) ) {
    2316123147                                if ( 'transfer' === $transfer_type ) {
    23162                                     $this->_admin_notices->add( sprintf( $this->get_text_inline( 'A confirmation email was just sent to %s. The email owner must confirm the update within the next 4 hours.', 'change-owner-request-sent-x-transfer' ), '<b>' . $this->_user->email . '</b>' ) );
     23148                                    $this->_admin_notices->add( sprintf( $this->get_text_inline( 'A confirmation email was just sent to %s. The email owner must confirm the update within the next 4 hours.', 'change-owner-request-sent-x-transfer' ), '<b>' . esc_html( $this->_user->email ) . '</b>' ) );
    2316323149                                } else {
    23164                                     $this->_admin_notices->add( sprintf( $this->get_text_inline( 'A confirmation email was just sent to %s. You must confirm the update within the next 4 hours. If you cannot find the email, please check your spam folder.', 'change-owner-request-sent-x' ), '<b>' . $this->_user->email . '</b>' ) );
     23150                                    $this->_admin_notices->add( sprintf( $this->get_text_inline( 'A confirmation email was just sent to %s. You must confirm the update within the next 4 hours. If you cannot find the email, please check your spam folder.', 'change-owner-request-sent-x' ), '<b>' . esc_html( $this->_user->email ) . '</b>' ) );
    2316523151                                }
    2316623152                            }
    … …  
    2317423160                            }
    2317523161
    23176                             $this->_admin_notices->add( sprintf( $this->get_text_inline( 'Thanks for confirming the ownership change. An email was just sent to %s for final approval.', 'change-owner-request_owner-confirmed' ), '<b>' . $candidate_email . '</b>' ) );
     23162                            $this->_admin_notices->add( sprintf( $this->get_text_inline( 'Thanks for confirming the ownership change. An email was just sent to %s for final approval.', 'change-owner-request_owner-confirmed' ), '<b>' . esc_html( $candidate_email ) . '</b>' ) );
    2317723163                            break;
    2317823164                        case 'candidate_confirmed':
    … …  
    2318023166                            if ( $this->complete_change_owner() ) {
    2318123167                                $this->_admin_notices->add_sticky(
    23182                                     sprintf( $this->get_text_inline( '%s is the new owner of the account.', 'change-owner-request_candidate-confirmed' ), '<b>' . $this->_user->email . '</b>' ),
     23168                                    sprintf( $this->get_text_inline( '%s is the new owner of the account.', 'change-owner-request_candidate-confirmed' ), '<b>' . esc_html( $this->_user->email ) . '</b>' ),
    2318323169                                    'ownership_changed',
    2318423170                                    $this->get_text_x_inline( 'Congrats', 'as congratulations', 'congrats' ) . '!'
  • dynamic-og-image-generator/trunk/vendor/freemius/includes/managers/class-fs-clone-manager.php

    r3570999 r3732776  
    12241224
    12251225                foreach ( $product_titles as $product_title ) {
    1226                     $products_list .= sprintf( '<li>%s</li>', $product_title );
     1226                    $products_list .= sprintf( '<li>%s</li>', esc_html( $product_title ) );
    12271227                }
    12281228
    … …  
    12321232                    $sites_list .= sprintf(
    12331233                        '<li><a href="%s" target="_blank">%s</a></li>',
    1234                         $site_url,
    1235                         fs_strip_url_protocol( $site_url )
     1234                        esc_url( $site_url ),
     1235                        esc_html( fs_strip_url_protocol( $site_url ) )
    12361236                    );
    12371237                }
    … …  
    12431243                sprintf(
    12441244                    '<a href="%s" target="_blank">%s</a>',
    1245                     $site_urls[0],
    1246                     fs_strip_url_protocol( $site_urls[0] )
     1245                    esc_url( $site_urls[0] ),
     1246                    esc_html( fs_strip_url_protocol( $site_urls[0] ) )
    12471247                ) :
    12481248                fs_text_inline( 'the above-mentioned sites', 'above-mentioned-sites' )) . '</b>';
    … …  
    12501250            $current_site_link = sprintf(
    12511251                '<b><a href="%s" target="_blank">%s</a></b>',
    1252                 $current_url,
    1253                 fs_strip_url_protocol( $current_url )
     1252                esc_url( $current_url ),
     1253                esc_html( fs_strip_url_protocol( $current_url ) )
    12541254            );
    12551255
    … …  
    13241324                // %1$s
    13251325                ( 1 === $total_products ?
    1326                     sprintf( '<b>%s</b>', $product_titles[0] ) :
     1326                    sprintf( '<b>%s</b>', esc_html( $product_titles[0] ) ) :
    13271327                    ( 1 === $total_sites ?
    13281328                        sprintf( '<div>%s</div>', $products_list ) :
  • dynamic-og-image-generator/trunk/vendor/freemius/start.php

    r3603072 r3732776  
    1616         * @var string
    1717         */
    18         $this_sdk_version = '2.13.4';
     18        $this_sdk_version = '2.13.5';
    1919
    2020        #region SDK Selection Logic --------------------------------------------------------------------
  • dynamic-og-image-generator/trunk/vendor/freemius/templates/add-ons.php

    r3570999 r3732776  
    123123                                                $open_addon = ( $open_addon || ( $open_addon_slug === $addon->slug ) );
    124124
    125                                                 $price     = 0;
    126                                                 $has_trial = false;
     125                                                $price         = 0;
     126                        $min_price     = 999999;
     127                                                $has_trial     = false;
    127128                                                $has_free_plan = false;
    128129                                                $has_paid_plan = false;
    … …  
    142143                                                                        }
    143144
    144 
    145145                                                                        $has_paid_plan = true;
    146146                                                                        $has_trial     = $has_trial || ( is_numeric( $plan->trial_period ) && ( $plan->trial_period > 0 ) );
    147147
    148                                                                         $min_price = 999999;
    149148                                                                        foreach ( $plan->pricing as $pricing ) {
    150149                                        $pricing = new FS_Pricing( $pricing );
    … …  
    164163                                                                                } else if ( $pricing->has_monthly() ) {
    165164                                                                                        $min_price = min( $min_price, 12 * $pricing->monthly_price );
    166                                                                                 }
     165                                                                                } else if ( $pricing->has_lifetime() ) {
     166                                            $min_price = min( $min_price, $pricing->lifetime_price );
     167                                        }
    167168                                                                        }
    168169
    … …  
    170171                                                                                $price = $min_price;
    171172                                                                        }
    172 
    173173                                                                }
    174174                                                        }
  • dynamic-og-image-generator/trunk/vendor/freemius/templates/pricing.php

    r3570999 r3732776  
    2525
    2626        $context_params = array(
     27        // Plugin information
    2728                'plugin_id'         => $fs->get_id(),
    2829                'plugin_public_key' => $fs->get_public_key(),
    2930                'plugin_version'    => $fs->get_plugin_version(),
     31
     32        // React pricing app context
     33        'contact_url'            => $fs->contact_url(),
     34        'is_production'          => ( defined( 'WP_FS__IS_PRODUCTION_MODE' ) ? WP_FS__IS_PRODUCTION_MODE : null ),
     35        'menu_slug'              => $fs->get_menu_slug(),
     36        'mode'                   => 'dashboard',
     37        'fs_wp_endpoint_url'     => WP_FS__ADDRESS,
     38        'request_handler_url'    => admin_url(
     39            'admin-ajax.php?' . http_build_query( array(
     40                'module_id' => $fs->get_id(),
     41                'action'    => $fs->get_ajax_action( 'pricing_ajax_action' ),
     42                'security'  => $fs->get_ajax_security( 'pricing_ajax_action' )
     43            ) )
     44        ),
     45        'selector'               => '#fs_pricing_wrapper',
     46        'unique_affix'           => $fs->get_unique_affix(),
     47        'show_annual_in_monthly' => $fs->apply_filters( 'pricing/show_annual_in_monthly', true ),
     48        'license'                => $fs->has_active_valid_license() ? $fs->_get_license() : null,
     49        'plugin_icon'            => $fs->get_local_icon_url(),
     50        'disable_single_package' => $fs->apply_filters( 'pricing/disable_single_package', false ),
    3051        );
    3152
    … …  
    5576        }
    5677
    57         $query_params = array_merge( $context_params, $_GET, array(
     78        $query_params = array_merge( $_GET, array(
    5879                'next'             => $fs->_get_sync_license_url( false, false ),
    59                 'plugin_version'   => $fs->get_plugin_version(),
    6080                // Billing cycle.
    6181                'billing_cycle'    => fs_request_get( 'billing_cycle', WP_FS__PERIOD_ANNUALLY ),
    … …  
    6484        'discounts_model'  => $fs->apply_filters( 'pricing/discounts_model', 'absolute' ),
    6585        ) );
     86
     87        $has_tabs = $fs->_add_tabs_before_content();
     88
     89        if ( $has_tabs ) {
     90                $query_params['tabs'] = 'true';
     91        }
     92
     93    $pricing_config = array_merge( $query_params, $context_params );
    6694
    6795    $pricing_js_url = fs_asset_url( $fs->get_pricing_js_path() );
    … …  
    73101        wp_enqueue_style( 'freemius-pricing', fs_asset_url( $pricing_css_path ) );
    74102    }
    75 
    76         $has_tabs = $fs->_add_tabs_before_content();
    77 
    78         if ( $has_tabs ) {
    79                 $query_params['tabs'] = 'true';
    80         }
    81103?>
    82104        <div id="fs_pricing" class="wrap fs-section fs-full-size-wrapper">
    83105        <div id="fs_pricing_wrapper" data-public-url="<?php echo trailingslashit( dirname( $pricing_js_url ) ) ?>"></div>
    84         <?php
    85         $pricing_config = array_merge( array(
    86             'contact_url'            => $fs->contact_url(),
    87             'is_production'          => ( defined( 'WP_FS__IS_PRODUCTION_MODE' ) ? WP_FS__IS_PRODUCTION_MODE : null ),
    88             'menu_slug'              => $fs->get_menu_slug(),
    89             'mode'                   => 'dashboard',
    90             'fs_wp_endpoint_url'     => WP_FS__ADDRESS,
    91             'request_handler_url'    => admin_url(
    92                 'admin-ajax.php?' . http_build_query( array(
    93                     'module_id' => $fs->get_id(),
    94                     'action'    => $fs->get_ajax_action( 'pricing_ajax_action' ),
    95                     'security'  => $fs->get_ajax_security( 'pricing_ajax_action' )
    96                 ) )
    97             ),
    98             'selector'               => '#fs_pricing_wrapper',
    99             'unique_affix'           => $fs->get_unique_affix(),
    100             'show_annual_in_monthly' => $fs->apply_filters( 'pricing/show_annual_in_monthly', true ),
    101             'license'                => $fs->has_active_valid_license() ? $fs->_get_license() : null,
    102             'plugin_icon'            => $fs->get_local_icon_url(),
    103             'disable_single_package' => $fs->apply_filters( 'pricing/disable_single_package', false ),
    104         ), $query_params );
    105 
    106         wp_add_inline_script( 'freemius-pricing', 'Freemius.pricing.new( ' . json_encode( $pricing_config ) . ' )' );
    107         ?>
     106        <?php wp_add_inline_script( 'freemius-pricing', 'Freemius.pricing.new( ' . json_encode( $pricing_config ) . ' )' ); ?>
    108107        </div>
    109108<?php
Note: See TracChangeset for help on using the changeset viewer.