Plugin Directory

Changeset 3039312

Timestamp:
02/21/2024 03:54:33 PM (6 months ago)
Author:
blobaugh
Message:

v2.3.0

Feature Request: Enable guest voting (Pro)
Enhancement: Updated localization strings
Enhancement: Updated branding to reflect Mindsize ownership
Enhancement: Update Freemius SDK to 2.6.2
Enhancement: Add ability to hide credits to Pro version
Enhancement: Make pro features more discoverable in free version
Bugfix: Back to board link goes to the board of the request.
Bugfix: Fix deprecated instantiation for Merge Requests (Pro)

Location:
simple-feature-requests/trunk
Files:
17 edited

Legend:

Unmodified
Added
Removed
  • simple-feature-requests/trunk/inc/class-core-autoloader.php

    r2282410 r3039312  
    5555     *
    5656     * Classes should reside within /inc and follow the format of
    57      * Iconic_The_Name ~ class-the-name.php or {{class-prefix}}The_Name ~ class-the-name.php
    5857     */
    5958    private static function autoload( $class_name ) {
  • simple-feature-requests/trunk/inc/class-core-helpers.php

    r2282410 r3039312  
    8383     */
    8484    public static function is_plugin_active( $plugin ) {
    85         $plugins = self::get_plugin_name_variations( $plugin );
     85        $( $plugin );
    8686
    87         foreach ( $plugins as $plugin ) {
    88             $active = in_array( $plugin, (array) get_option( 'active_plugins', array() ) ) || self::is_plugin_active_for_network( $plugin );
    89 
    90             if ( $active ) {
    91                 return true;
    92             }
     87        if ( $active ) {
     88            return true;
    9389        }
    94 
     90       
    9591        return false;
    9692    }
     
    123119        return false;
    124120    }
    125 
    126     /**
    127      * Check variations of iconic plugins.
    128      *
    129      * @param string $plugin
    130      *
    131      * @return array
    132      */
    133     public static function get_plugin_name_variations( $plugin ) {
    134         $plugins = array( $plugin );
    135 
    136         if ( strpos( $plugin, 'iconic-' ) !== 0 ) {
    137             return $plugins;
    138         }
    139 
    140         $plugin_exploded = explode( '/', $plugin );
    141         $prefix_removed  = str_replace( 'iconic-', '', $plugin_exploded[0] );
    142 
    143         $plugins[] = $prefix_removed . $plugin_exploded[1];
    144         $plugins[] = $prefix_removed . '-premium/' . $plugin_exploded[1];
    145         $plugins[] = $plugin . '-premium/' . $plugin_exploded[1];
    146 
    147         return $plugins;
    148     }
    149121}
  • simple-feature-requests/trunk/inc/class-core-licence.php

    r2993454 r3039312  
    204204    public static function add_action_links( $links )
    205205    {
    206         $links[] = sprintf( '<a href="%s" target="_blank">%s</a>', self::$args['urls']['product'] . '/changelog/?utm_source=Iconic&utm_medium=Plugin&utm_campaign=simple-feature-requests&utm_content=changelog-link', __( 'Changelog', 'simple-feature-requests' ) );
     206        $links[] = sprintf( '<a href="%s" target="_blank">%s</a>', self::$args['urls']['product'] . '/changelog/?utm_source=&utm_medium=Plugin&utm_campaign=simple-feature-requests&utm_content=changelog-link', __( 'Changelog', 'simple-feature-requests' ) );
    207207        return $links;
    208208    }
  • simple-feature-requests/trunk/inc/class-core-settings.php

    r2636027 r3039312  
    4545
    4646    /**
    47      * Docs base url.
     47     * .
    4848     *
    4949     * @var string
    5050     */
    51     public static $docs_base = 'https://docs.iconicwp.com';
    52 
    53     /**
    54      * Iconic svg src.
    55      *
    56      * @var string
    57      */
    58     public static $iconic_svg = 'data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCINCgkgd2lkdGg9IjMwcHgiIGhlaWdodD0iMzUuNDU1cHgiIHZpZXdCb3g9IjAgMCAzMCAzNS40NTUiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDMwIDM1LjQ1NSIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+DQo8Zz4NCgk8Zz4NCgkJPHBvbHlnb24gcG9pbnRzPSIxMC45MSwzMy44MTggMTMuNjM2LDM1LjQ1NSAxMy42MzYsMTkuMDkxIDEwLjkxLDE3LjQ1NSAJCSIvPg0KCQk8cG9seWdvbiBwb2ludHM9IjE2LjM2MywzNS40NTUgMzAsMjcuMTY4IDMwLDIzLjk3NiAxNi4zNjMsMzIuMjYzIAkJIi8+DQoJCTxnPg0KCQkJPHBvbHlnb24gcG9pbnRzPSIxMi4zNSwxLjU5IDI1Ljk4Niw5Ljc3MiAyOC42MzcsOC4xODIgMTUsMCAJCQkiLz4NCgkJCTxwb2x5Z29uIHBvaW50cz0iNS40NTUsMzAuNTQ1IDguMTgyLDMyLjE4MiA4LjE4MiwxNS44MTggNS40NTUsMTQuMTgyIAkJCSIvPg0KCQkJPHBvbHlnb24gcG9pbnRzPSIxNi4zNjMsMjguOTIxIDMwLDIwLjYzNCAzMCwxNy40NDIgMTYuMzYzLDI1LjcyOSAJCQkiLz4NCgkJCTxwb2x5Z29uIHBvaW50cz0iNi44NzEsNC45ODQgMjAuNTA4LDEzLjE2NyAyMy4xNTgsMTEuNTc2IDkuNTIxLDMuMzk1IAkJCSIvPg0KCQkJPHBvbHlnb24gcG9pbnRzPSIyLjcyNywxMi41NDUgMCwxMC45MDkgMCwyNy4yNzMgMi43MjcsMjguOTA5IAkJCSIvPg0KCQkJPHBvbHlnb24gcG9pbnRzPSIxNi4zNjMsMjIuMzg4IDMwLDE0LjEgMzAsMTAuOTA5IDE2LjM2MywxOS4xOTYgCQkJIi8+DQoJCQk8cG9seWdvbiBwb2ludHM9IjEuMzkyLDguMTY1IDE1LjAyOCwxNi4zNDcgMTcuNjc4LDE0Ljc1NiA0LjA0Miw2LjU3NSAJCQkiLz4NCgkJPC9nPg0KCTwvZz4NCjwvZz4NCjwvc3ZnPg0K';
     51    public static $sfr_logo_svg = "data:image/svg+xml,%3Csvg xmlns:xlink='http://www.w3.org/1999/xlink' class='h-auto w-full md:mx-0' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 63.38 63.38' width='64' height='64'%3E%3Cg id='Layer_2' data-name='Layer 2'%3E%3Cg id='Layer_1-2' data-name='Layer 1'%3E%3Ccircle class='fill-primary-600' cx='31.69' cy='31.69' r='31.69' fill='%23DC1E54'%3E%3C/circle%3E%3Cpath class='fill-white' d='M34.41,15.7c.1-.33.22-.66.35-1s.15-.37.23-.55c.72-1.57,2-3.07,4-3.05,2.9.07,5.08,2.74,6.63,5,5.1,7.51,8.09,17.77,4.45,25.89-.71,1.57-2,3.12-4,3.11-2.08,0-3.73-1.31-5-2.83a32.43,32.43,0,0,0-8.51-1.05c-.09.79-1.11,6.93-4.81,10.19-.36.33-1.82,1.12-1.52-1.78S25,42.71,21.37,42.89a11.71,11.71,0,0,0-3.21.79H18a1.12,1.12,0,0,1-.26.08c-4.81.83-9-7.92-7.1-13.78.45-1.39,1.31-2.93,2.82-3.17a36.22,36.22,0,0,1,3.73-.95A40,40,0,0,0,34.41,15.7Zm5,1c-1.25,3.6-.61,7.79.39,11.71,1,4.1,2.58,8.38,5.72,11.1A12.28,12.28,0,0,0,46.08,37c.68-6.93-1.51-14.62-5.8-19.46C39.93,17.12,39.48,16.57,39.43,16.71Z' fill='%23FFFFFF'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E";
    5952
    6053    /**
     
    118111     */
    119112    public static function add_settings_page() {
    120         $default_title = sprintf( '<div style="padding-bottom: 15px;"><img width="24" height="28" style="display: inline-block; vertical-align: text-bottom; margin: 0 8px 0 0" src="%s"> %s by <a href="https://iconicwp.com/?utm_source=Iconic&utm_medium=Plugin&utm_campaign=simple-feature-requests&utm_content=settings-title" target="_blank">Iconic</a> <em style="opacity: 0.6; font-size: 80%%;">(v%s)</em></div>', esc_attr( self::$iconic_svg ), self::$args['title'], self::$args['version'] );
     113        $default_title = sprintf( '<div style="padding-bottom: 15px;"><img width="24" height="28" style="display: inline-block; vertical-align: text-bottom; margin: 0 8px 0 0" src="%s"> %s by <a href="https://_svg ), self::$args['title'], self::$args['version'] );
    121114
    122115        self::$settings_framework->add_settings_page( array(
     
    163156   
    164157    /**
    165      * Clean notices for our settings page.
     158     * Removes all notices from the admin page. This includes the standard WordPress upgrade notices, as well as notices set by other plugins.
     159     *
     160     * As a side effect, notices this plugin produces only on this page will be removed too. Of which, Freemius does have one it supplies.
    166161     */
    167162    public static function clean_notices() {
     
    172167        remove_all_actions( 'admin_notices' );
    173168        remove_all_actions( 'all_admin_notices' );
    174 
    175         add_action( 'admin_notices', array( self::$settings_framework, 'admin_notices' ), 50 );
    176         add_action( 'admin_notices', array( __CLASS__, 'hide_notices' ), 1 );
    177         add_action( 'admin_notices', array( __CLASS__, 'account_getting_started' ), 1 );
    178     }
    179 
    180     /**
    181      * Hide Iconic notices if set.
    182      */
    183     public static function hide_notices() {
    184         $hide_notice = filter_input( INPUT_GET, 'simple-feature-requests-hide-notice' );
    185 
    186         if ( empty( $hide_notice ) ) {
    187             return;
    188         }
    189 
    190         $notice_nonce = filter_input( INPUT_GET, '_' . self::$args['option_group_underscore'] . '_notice_nonce' );
    191 
    192         if ( ! wp_verify_nonce( $notice_nonce, self::$args['option_group_underscore'] . '_hide_notices_nonce' ) ) {
    193             wp_die( esc_html__( 'Action failed. Please refresh the page and retry.', 'woocommerce' ) );
    194         }
    195 
    196         update_user_meta( get_current_user_id(), 'dismissed_' . $hide_notice . '_notice', true );
    197     }
    198 
    199��    /**
    200      * Add getting started notice to settings pages.
    201      */
    202     public static function account_getting_started() {
    203         if ( ! self::is_settings_page() && ! self::is_settings_page( '-account' ) ) {
    204             return;
    205         }
    206 
    207         if ( empty( self::$args['docs']['getting-started'] ) ) {
    208             return;
    209         }
    210        
    211         if ( ! JCK_SFR_Core_Licence::has_valid_licence() ) {
    212             return;
    213         }
    214 
    215         $option_name = str_replace( '-', '_', self::$args['option_group'] ) . '_getting_started';
    216 
    217         if ( get_user_meta( get_current_user_id(), 'dismissed_' . $option_name . '_notice', true ) ) {
    218             return;
    219         }
    220         ?>
    221         <style>
    222             .iconic-notice {
    223                 padding: 35px 30px 35px 38px;
    224                 background-color: #fff;
    225                 margin: 20px 20px 20px 0;
    226                 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
    227                 font-size: 15px;
    228                 position: relative;
    229                 border: none;
    230                 border-radius: 0 4px 4px 0;
    231             }
    232 
    233             .iconic-notice:after {
    234                 content: "";
    235                 position: absolute;
    236                 top: 0;
    237                 left: 0;
    238                 bottom: 0;
    239                 height: 100%;
    240                 width: 8px;
    241                 background: linear-gradient(0deg,#5558DA 0%,#5EA8EF 100%);
    242             }
    243 
    244             .iconic-notice h2 {
    245                 margin: 0 0 1.2em;
    246                 font-size: 23px;
    247                 position: relative;
    248                 line-height: 1.2em;
    249             }
    250 
    251             .iconic-notice h3 {
    252                 margin: 0 0 1.5em;
    253             }
    254 
    255             .iconic-notice p,
    256             .iconic-notice li {
    257                 font-size: 15px;
    258             }
    259 
    260             .iconic-notice li {
    261                 margin: 0 0 10px;
    262             }
    263 
    264             .iconic-notice p,
    265             .iconic-notice ol,
    266             .iconic-notice ul {
    267                 margin-bottom: 2em;
    268             }
    269 
    270             .iconic-notice :last-child {
    271                 margin-bottom: 0;
    272             }
    273 
    274             .iconic-notice .notice-dismiss {
    275                 position: absolute;
    276                 top: 0;
    277                 right: 0;
    278                 padding: 10px 13px;
    279                 margin-top: 0;
    280                 font-size: 13px;
    281                 line-height: 20px;
    282                 text-decoration: none;
    283                 height: 20px;
    284                 z-index: 20;
    285             }
    286 
    287             .iconic-notice .notice-dismiss:before {
    288                 -webkit-transition: auto;
    289                 transition: all .1s ease-in-out;
    290                 margin: 0;
    291                 padding: 0;
    292                 display: inline-block;
    293                 vertical-align: top;
    294             }
    295         </style>
    296         <div class="iconic-notice iconic-notice--getting-started">
    297             <a class="woocommerce-message-close notice-dismiss" href="<?php echo esc_url( wp_nonce_url( add_query_arg( 'simple-feature-requests-hide-notice', $option_name ), self::$args['option_group_underscore'] . '_hide_notices_nonce', '_' . self::$args['option_group_underscore'] . '_notice_nonce' ) ); ?>">
    298                 <?php esc_html_e( 'Dismiss', 'woocommerce' ); ?>
    299             </a>
    300             <h2>Welcome to <?php echo esc_html( self::$args['title'] ); ?>!</a></h2>
    301             <p><?php esc_html_e( "Thank you for choosing Iconic. We've put together some useful links to help you get started:", 'simple-feature-requests' ); ?></p>
    302 
    303             <?php self::output_getting_started_links(); ?>
    304 
    305             <p>
    306                 <strong><?php esc_html_e( 'Need some help?', 'simple-feature-requests' ); ?></strong>
    307                 <?php
    308                 printf(
    309                     /* Translators: Documentation URL. */
    310                     wp_kses_post( __( 'Take a look at our <a href="%s?utm_source=Iconic&utm_medium=Plugin&utm_campaign=simple-feature-requests&utm_content=need-some-help" target="_blank">troubleshooting documentation</a>.', 'simple-feature-requests' ) ),
    311                     esc_url( self::get_docs_url( 'troubleshooting' ) )
    312                 );
    313                 ?>
    314                 <?php esc_html_e( 'There is a permanent link to the plugin documentation in the "Support" section below.', 'simple-feature-requests' ); ?>
    315             </p>
    316         </div>
    317         <?php
    318169    }
    319170
     
    376227
    377228    /**
    378      * Output getting started links.
    379      */
    380     public static function output_getting_started_links() {
    381         $links = self::get_doc_links();
    382 
    383         if ( empty( $links ) ) {
    384             return;
    385         }
    386         ?>
    387         <h3><?php esc_html_e( 'Getting Started', 'simple-feature-requests' ); ?></h3>
    388 
    389         <ol>
    390             <?php foreach ( $links as $link ) { ?>
    391                 <li>
    392                     <a href="<?php echo esc_url( self::get_docs_url() . $link['href'] ); ?>?utm_source=Iconic&utm_medium=Plugin&utm_campaign=simple-feature-requests&utm_content=getting-started-links" target="_blank"><?php echo esc_html( $link['title'] ); ?></a>
    393                 </li>
    394             <?php } ?>
    395         </ol>
    396         <?php
    397     }
    398 
    399     /**
    400229     * Get docs URL.
    401230     *
     
    405234     */
    406235    public static function get_docs_url( $type = false ) {
    407         if ( ! $type || 'base' === $type || ! isset( self::$args['docs'][ $type ] ) ) {
    408             return self::$docs_base;
    409         }
    410 
    411         return self::$docs_base . self::$args['docs'][ $type ];
     236        return JCK_SFR_Settings::documentation_link();
    412237    }
    413238
     
    432257        );
    433258
    434         if ( current_user_can( 'manage_options' ) && ! defined( 'ICONIC_DISABLE_DASH' ) && ! defined( 'JCK_SFR_DISABLE_DASH' ) ) {
     259        if ( current_user_can( 'manage_options' ) ) {
    435260            $settings['sections']['licence'] = array(
    436261                'tab_id'              => 'dashboard',
     
    447272                        'default'  => JCK_SFR_Core_Licence::admin_account_link(),
    448273                    ),
    449                     array(
    450                         'id'       => 'account',
    451                         'title'    => __( 'Your Account', 'simple-feature-requests' ),
    452                         'subtitle' => __( 'Manage all of your Iconic plugins, supscriptions, renewals, and more.', 'simple-feature-requests' ),
    453                         'type'     => 'custom',
    454                         'default'  => self::account_link(),
    455                     ),
    456274                ),
    457275
     
    471289                    'subtitle' => __( 'Get premium support with a valid license.', 'simple-feature-requests' ),
    472290                    'type'     => 'custom',
    473                     'default'  => self::support_link(),
     291                    'default'  => ::support_link(),
    474292                ),
    475293                array(
     
    478296                    'subtitle' => __( 'Read the plugin documentation.', 'simple-feature-requests' ),
    479297                    'type'     => 'custom',
    480                     'default'  => self::documentation_link(),
     298                    'default'  => ::documentation_link(),
    481299                ),
    482300            ),
     
    485303        return $settings;
    486304    }
    487 
    488     /**
    489      * Get support button.
    490      *
    491      * @return string
    492      */
    493     public static function support_link() {
    494         return sprintf( '<a href="%s" class="button button-secondary" target="_blank">%s</a>', 'https://iconicwp.com/support/?utm_source=Iconic&utm_medium=Plugin&utm_campaign=simple-feature-requests&utm_content=support-link', __( 'Submit Ticket', 'simple-feature-requests' ) );
    495     }
    496 
    497     /**
    498      * Get documentation button.
    499      *
    500      * @return string
    501      */
    502     public static function documentation_link() {
    503         return sprintf( '<a href="%s?utm_source=Iconic&utm_medium=Plugin&utm_campaign=simple-feature-requests&utm_content=documentation-link" class="button button-secondary" target="_blank">%s</a>', self::get_docs_url( 'collection' ), __( 'Read Documentation', 'simple-feature-requests' ) );
    504     }
    505 
    506     /**
    507      * Get account button.
    508      *
    509      * @return string
    510      */
    511     public static function account_link() {
    512         return sprintf( '<a href="%s" class="button button-secondary" target="_blank">%s</a>', 'https://iconicwp.com/account/?utm_source=Iconic&utm_medium=Plugin&utm_campaign=simple-feature-requests&utm_content=account-link', __( 'Manage Your Account', 'simple-feature-requests' ) );
    513     }
    514305}
  • simple-feature-requests/trunk/inc/class-feature-request.php

    r2636027 r3039312  
    195195            'updated_votes_count' => null,
    196196        );
     197
    197198        $user = new JCK_SFR_User( $user_id );
    198199        $vote = ( 'add' === $type ? $user->add_vote( $this->post->ID ) : $user->remove_vote( $this->post->ID ) );
    199         if ( !$vote['success'] ) {
     200        if ( !$vote['success'] ) {
    200201            return $vote;
    201202        }
     
    383384        printf( 'class="%s"', implode( ' ', array_map( 'esc_attr', $classes ) ) );
    384385    }
     386
     387
     388
     389
     390
     391
     392
     393
     394
     395
     396
     397
     398
     399
     400
     401
    385402
    386403}
  • simple-feature-requests/trunk/inc/class-post-types.php

    r2993454 r3039312  
    178178            'name'               => $options['plural'],
    179179            'singular_name'      => $options['singular'],
    180             'add_new'            => _x( 'Add New', 'iconic-advanced-layered-nav' ),
    181             'add_new_item'       => _x( sprintf( 'Add New %s', $options['singular'] ), 'iconic-advanced-layered-nav' ),
    182             'edit_item'          => _x( sprintf( 'Edit %s', $options['singular'] ), 'iconic-advanced-layered-nav' ),
    183             'new_item'           => _x( sprintf( 'New %s', $options['singular'] ), 'iconic-advanced-layered-nav' ),
    184             'view_item'          => _x( sprintf( 'View %s', $options['singular'] ), 'iconic-advanced-layered-nav' ),
    185             'search_items'       => _x( sprintf( 'Search %s', $options['plural'] ), 'iconic-advanced-layered-nav' ),
    186             'not_found'          => _x( sprintf( 'No %s found', strtolower( $options['plural'] ) ), 'iconic-advanced-layered-nav' ),
    187             'not_found_in_trash' => _x( sprintf( 'No %s found in Trash', strtolower( $options['plural'] ) ), 'iconic-advanced-layered-nav' ),
    188             'parent_item_colon'  => _x( sprintf( 'Parent %s:', $options['singular'] ), 'iconic-advanced-layered-nav' ),
     180            'add_new'            => _x( 'Add New', '' ),
     181            'add_new_item'       => _x( sprintf( 'Add New %s', $options['singular'] ), '' ),
     182            'edit_item'          => _x( sprintf( 'Edit %s', $options['singular'] ), '' ),
     183            'new_item'           => _x( sprintf( 'New %s', $options['singular'] ), '' ),
     184            'view_item'          => _x( sprintf( 'View %s', $options['singular'] ), '' ),
     185            'search_items'       => _x( sprintf( 'Search %s', $options['plural'] ), '' ),
     186            'not_found'          => _x( sprintf( 'No %s found', strtolower( $options['plural'] ) ), '' ),
     187            'not_found_in_trash' => _x( sprintf( 'No %s found in Trash', strtolower( $options['plural'] ) ), '' ),
     188            'parent_item_colon'  => _x( sprintf( 'Parent %s:', $options['singular'] ), '' ),
    189189            'menu_name'          => ( $options['menu_name'] ? $options['menu_name'] : $options['plural'] ),
    190190        );
  • simple-feature-requests/trunk/inc/class-settings.php

    r2934593 r3039312  
    4141        add_submenu_page(
    4242            'jck-sfr-settings',
    43             'Add New',
    44             'Add New',
     43            ,
     44            ,
    4545            'manage_options',
    4646            'post-new.php?post_type=cpt_feature_requests',
     
    165165            'subtitle' => __( 'Select the archive page for your feature requests. Make sure you add the [simple-feature-requests] shortcode to the selected page.', 'simple-feature-requests' ),
    166166            'type'     => 'select',
    167             'choices'  => array(),
     167            'choices'  => (),
    168168            'default'  => '',
    169169        ),
     
    223223        ) ),
    224224        );
     225
     226
     227
     228
     229
     230
     231
     232
     233
     234
     235
     236
     237
     238
     239
     240
     241
     242
     243
     244
     245
     246
     247
     248
     249
     250
     251
     252
    225253        $settings['sections']['general_credit'] = array(
    226254            'tab_id'              => 'general',
     
    233261            'title'    => __( 'Enable Credit', 'simple-feature-requests' ),
    234262            'subtitle' => __( 'When enabled, a "powered by" link will be displayed in the footer of the feature requests templates. Help us spread the word!', 'simple-feature-requests' ),
    235             'type'     => 'checkbox',
    236             'default'  => 1,
     263            'type'     => 'c',
     264            'default'  => ,
    237265        ) ),
    238266        );
     
    271299            'type'     => 'checkbox',
    272300            'default'  => 0,
     301
     302
     303
     304
     305
     306
    273307        ) ),
    274308        );
     
    378412    public static function get_page_options()
    379413    {
    380         $return = array( __( 'Select a page...', 'iconic-ww' ) );
     414        $return = array( __( 'Select a page...', '' ) );
    381415        $pages = get_pages( array(
    382416            'post_status' => 'publish,private,draft',
     
    507541        <?php
    508542    }
     543
     544
     545
     546
     547
     548
     549
     550
     551
     552
     553
     554
     555
     556
     557
    509558
    510559}
  • simple-feature-requests/trunk/inc/class-template-hooks.php

    r2636027 r3039312  
    236236    {
    237237        $settings = JCK_SFR_Settings::get_settings();
    238         if ( empty($settings['general_credit_enable']) ) {
     238        if ( ) {
    239239            return;
    240240        }
  • simple-feature-requests/trunk/inc/class-template-methods.php

    r2993454 r3039312  
    395395    public static function back_to_archive_link()
    396396    {
    397         $href = apply_filters( 'jck_sfr_archive_link', JCK_SFR_Post_Types::get_archive_url() );
     397        $href = apply_filters( 'jck_sfr_archive_link', JCK_SFR_() );
    398398        ?>
    399399        <a href="<?php
     
    408408        </a>
    409409        <?php
    410         //}
    411410    }
    412411
  • simple-feature-requests/trunk/inc/vendor/freemius/includes/class-freemius.php

    r2993454 r3039312  
    13581358
    13591359        function _run_garbage_collector() {
    1360             // @todo - Remove this check once the garbage collector is ready to be out of beta.
    1361             if ( true !== fs_get_optional_constant( 'WP_FS__ENABLE_GARBAGE_COLLECTOR', false ) ) {
     1360            if ( true !== fs_get_optional_constant( 'WP_FS__ENABLE_GARBAGE_COLLECTOR', true ) ) {
    13621361                return;
    13631362            }
  • simple-feature-requests/trunk/inc/vendor/freemius/includes/class-fs-garbage-collector.php

    r2995256 r3039312  
    282282
    283283            foreach ( $users as $user_id => $user ) {
    284                 if ( ! isset( $user_has_install[ $user_id ] ) ) {
     284                if ( ! isset( $user_has_install[ $user_id ] ) ) {
    285285                    unset( $users[ $user_id ] );
    286286
  • simple-feature-requests/trunk/inc/vendor/freemius/start.php

    r2993454 r3039312  
    1616     * @var string
    1717     */
    18     $this_sdk_version = '2.6.0';
     18    $this_sdk_version = '2.6.';
    1919
    2020    #region SDK Selection Logic --------------------------------------------------------------------
     
    4747    $file_path    = fs_normalize_path( __FILE__ );
    4848    $fs_root_path = dirname( $file_path );
     49
     50
     51
    4952
    5053    if (
     
    5457         * @see theme-previews.php:wp_get_theme_preview_path()
    5558         *
    56          * @todo If this behavior is fixed in the core, we will remove this workaround.
     59         * @todo .
    5760         * @since WP 6.3.0
    5861         */
     62
     63
    5964        (
    6065            'site-editor.php' === basename( $_SERVER['SCRIPT_FILENAME'] ) ||
  • simple-feature-requests/trunk/languages/simple-feature-requests.pot

    r2426688 r3039312  
    102102msgstr ""
    103103
    104 #: inc/class-core-cross-sells.php:241, svn/trunk/inc/class-core-cross-sells.php:241, svn/tags/1.0.4/inc/class-core-cross-sells.php:240, svn/tags/1.0.5/inc/class-core-cross-sells.php:240, svn/tags/1.0.6/inc/class-core-cross-sells.php:240, svn/tags/2.0.0/inc/class-core-cross-sells.php:240, svn/tags/2.0.1/inc/class-core-cross-sells.php:240, svn/tags/2.1.0/inc/class-core-cross-sells.php:241, svn/tags/2.1.1/inc/class-core-cross-sells.php:241, svn/tags/2.1.2/inc/class-core-cross-sells.php:241, svn/tags/1.0.5/trunk/inc/class-core-cross-sells.php:240
    105 msgid "View All Iconic Plugins"
    106 msgstr ""
    107 
    108104#: inc/class-core-cross-sells.php:246, svn/trunk/inc/class-core-cross-sells.php:246, svn/tags/2.1.0/inc/class-core-cross-sells.php:246, svn/tags/2.1.1/inc/class-core-cross-sells.php:246, svn/tags/2.1.2/inc/class-core-cross-sells.php:246
    109105msgid "Trusted by over 10,000 WooCommerce Businesses and Online Shops"
     
    120116#: inc/class-core-licence.php:208, svn/trunk/inc/class-core-licence.php:217, svn/tags/1.0.4/inc/class-core-licence.php:217, svn/tags/1.0.5/inc/class-core-licence.php:217, svn/tags/1.0.6/inc/class-core-licence.php:217, svn/tags/2.0.0/inc/class-core-licence.php:217, svn/tags/2.0.1/inc/class-core-licence.php:217, svn/tags/2.1.0/inc/class-core-licence.php:217, svn/tags/2.1.1/inc/class-core-licence.php:217, svn/tags/2.1.2/inc/class-core-licence.php:217, svn/tags/1.0.5/trunk/inc/class-core-licence.php:217
    121117msgid "Manage Licence &amp; Billing"
    122 msgstr ""
    123 
    124 #: inc/class-core-settings.php:301, svn/trunk/inc/class-core-settings.php:324, svn/tags/1.0.4/inc/class-core-settings.php:259, svn/tags/1.0.5/inc/class-core-settings.php:259, svn/tags/1.0.6/inc/class-core-settings.php:307, svn/tags/2.0.0/inc/class-core-settings.php:307, svn/tags/2.0.1/inc/class-core-settings.php:307, svn/tags/2.1.0/inc/class-core-settings.php:324, svn/tags/2.1.1/inc/class-core-settings.php:324, svn/tags/2.1.2/inc/class-core-settings.php:324, svn/tags/1.0.5/trunk/inc/class-core-settings.php:259
    125 msgid "Thank you for choosing Iconic. We've put together some useful links to help you get started:"
    126118msgstr ""
    127119
     
    136128#. translators: Documentation URL.
    137129#: inc/class-core-settings.php:310, svn/trunk/inc/class-core-settings.php:333, svn/tags/2.1.0/inc/class-core-settings.php:333, svn/tags/2.1.1/inc/class-core-settings.php:333, svn/tags/2.1.2/inc/class-core-settings.php:333
    138 msgid "Take a look at our <a href=\"%s?utm_source=Iconic&utm_medium=Plugin&utm_campaign=simple-feature-requests&utm_content=need-some-help\" target=\"_blank\">troubleshooting documentation</a>."
     130msgid "Take a look at our <a href=\"%s?utm_source=&utm_medium=Plugin&utm_campaign=simple-feature-requests&utm_content=need-some-help\" target=\"_blank\">troubleshooting documentation</a>."
    139131msgstr ""
    140132
     
    165157#: inc/class-core-settings.php:451, svn/trunk/inc/class-core-settings.php:474, svn/tags/1.0.4/inc/class-core-settings.php:398, svn/tags/1.0.5/inc/class-core-settings.php:398, svn/tags/1.0.6/inc/class-core-settings.php:446, svn/tags/2.0.0/inc/class-core-settings.php:446, svn/tags/2.0.1/inc/class-core-settings.php:446, svn/tags/2.1.0/inc/class-core-settings.php:474, svn/tags/2.1.1/inc/class-core-settings.php:474, svn/tags/2.1.2/inc/class-core-settings.php:474, svn/tags/1.0.5/trunk/inc/class-core-settings.php:398
    166158msgid "Your Account"
    167 msgstr ""
    168 
    169 #: inc/class-core-settings.php:452, svn/trunk/inc/class-core-settings.php:475, svn/tags/1.0.4/inc/class-core-settings.php:399, svn/tags/1.0.5/inc/class-core-settings.php:399, svn/tags/1.0.6/inc/class-core-settings.php:447, svn/tags/2.0.0/inc/class-core-settings.php:447, svn/tags/2.0.1/inc/class-core-settings.php:447, svn/tags/2.1.0/inc/class-core-settings.php:475, svn/tags/2.1.1/inc/class-core-settings.php:475, svn/tags/2.1.2/inc/class-core-settings.php:475, svn/tags/1.0.5/trunk/inc/class-core-settings.php:399
    170 msgid "Manage all of your Iconic plugins, supscriptions, renewals, and more."
    171159msgstr ""
    172160
  • simple-feature-requests/trunk/plugin-data.json

    r2995256 r3039312  
    11{
    2   "version": "2.2.6.1",
    3   "wp": "6.3.2",
     2  "version": "2.",
     3  "wp": "6..2",
    44  "wp_requires": "4.9",
    55  "woo": "",
  • simple-feature-requests/trunk/readme.txt

    r2995256 r3039312  
    11=== Simple Feature Requests Free - User Feedback Board ===
    2 Contributors: patrickgarman, freemius
     2Contributors: patrickgarman, freemius
    33Donate link: https://simplefeaturerequests.com/pricing/?utm_source=SFR&utm_medium=wp.org&utm_campaign=Readme
    44Tags: feature request, customer feedback, user feedback, roadmap, idea management
    55Requires at least: 4.9
    6 Tested up to: 6.3.2
    7 Stable tag: 2.2.6.1
    8 Requires PHP: 5.4
     6Tested up to: 6..2
     7Stable tag: 2.
     8Requires PHP: .4
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    1818Whatever method you use, chances are it costs you time *AND* money.
    1919
    20 **Simple Feature Requests** aims to make the whole process of collecting customer feedback and idea management *much* easier for you. Now you can let your users submit requests themselves and vote on the ones they want to see in your product --- all from within your existing WordPress website.
     20**Simple Feature Requests** aims to make the process of collecting customer feedback and idea management *much* easier for you. Now you can let your users submit requests themselves and vote on the ones they want to see in your product --- all from within your existing WordPress website.
    2121
    2222= Simple Feature Requests Free =
     
    4646* [Multiple Boards](https://docs.simplefeaturerequests.com/pro-features/multiple-boards) for grouping feature requests.
    4747* [Custom request labels](https://docs.simplefeaturerequests.com/pro-features/custom-labels) to allow you to rename 'request' and 'requests' to whatever is most appropriate for your use-case.
     48
     49
    4850
    4951[Upgrade to Pro](https://simplefeaturerequests.com/pricing/?utm_source=SFR&utm_medium=wp.org&utm_campaign=Readme)
     
    130132== Changelog ==
    131133
    132 **v2.2.6.1 (2023-11-13)**
    133 [fix] Adding missing Freemius garbage collector file causing a fatal error
    134 
    135 **v2.2.6** (2023-11-08)**
     134**v2.3.0** (2024-02-20)
     135Feature Request: Enable guest voting (Pro)
     136Enhancement: Updated localization strings
     137Enhancement: Updated branding to reflect Mindsize ownership
     138Enhancement: Update Freemius SDK to 2.6.2
     139Enhancement: Add ability to hide credits to Pro version
     140Enhancement: Make pro features more discoverable in free version
     141Bugfix: Back to board link goes to the board of the request.
     142Bugfix: Fix deprecated instantiation for Merge Requests (Pro)
     143
     144**v2.2.6.1** (2023-11-13)
     145[fix] Adding missing Freemius garbage collector file causing a fatal error [wporg]
     146
     147**v2.2.6** (2023-11-08)
    136148[fix] Resolve an issue preventing new requests from being created
    137149[fix] Resolve warning when votes_limits_reimburse_votes is unset. Props @surferking
     
    143155[update] Freemius SDK update to 2.6.0
    144156
    145 
    146 **v2.2.5.1** (2023-06-05)**
     157**v2.2.5.1** (2023-06-05)
    147158[fix] Resolve SVN deploy issues
    148159
    149 **v2.2.5** (2023-06-05)**
     160**v2.2.5** (2023-06-05)
    150161[update] Updated author
    151162[update] Freemius SDK update to 2.5.10
    152163
    153 **v2.2.4** (2022-03-02)**
     164**v2.2.4** (2022-03-02)
    154165[security] Security fix.
    155166
    156 **v2.2.3** (2022-02-22)**
     167**v2.2.3** (2022-02-22)
    157168[fix] Fixed an issue preventing custom labels from being translatable
    158169[fix] It's now possible to set the single and archive title tags in Simple Feature Requests Free
     
    160171[fix] Corrected fatal error that sometimes occurred in Simple Feature Requests Free
    161172
    162 **v2.2.2** (2021-11-11)**
     173**v2.2.2** (2021-11-11)
    163174[new] Added ability to organize requests by board, allowing multiple boards per site [pro]
    164175[new] Added ability to rename 'Request' and 'Requests' to any other applicable label, e.g. 'Report' and 'Reports' [pro]
     
    289300**v1.0.0** (2017-12-13)
    290301Initial release.
    291 
    292 == Upgrade Notice ==
    293 
    294 Take a look at the [new setup instructions](https://docs.simplefeaturerequests.com/getting-started/setup?utm_source=SFR&utm_medium=wp.org&utm_campaign=upgrade-notice) before upgrading to 2.0.0.
  • simple-feature-requests/trunk/simple-feature-requests.php

    r2995256 r3039312  
    55 * Plugin URI: https://simplefeaturerequests.com
    66 * Description: Collect and manage user feedback using your existing WordPress website. Prioritize the product features important to you and your customers.
    7  * Version: 2.2.6.1
     7 * Version: 2.
    88 * Author: Mindsize
    99 * Author URI: https://mindsize.com
     
    2424     * @var string
    2525     */
    26     public static  $version = "2.2.6.1" ;
     26    public static  $version = "2." ;
    2727    /**
    2828     * Full name
     
    267267            'version'       => self::$version,
    268268            'menu_title'    => JCK_SFR_Post_Types::get_menu_title(),
    269             'page_title'    => __( 'Simple Feature Requests', 'simple-feature-requests' ),
    270269            'parent_slug'   => false,
    271270            'capability'    => 'manage_options',
    272             'settings_path' => JCK_SFR_INC_PATH . 'admin/settings.php',
     271            'settings_path' => JCK_SFR_INC_PATH . 'admin/s.php',
    273272            'option_group'  => 'jck_sfr',
    274273            'docs'          => array(
  • simple-feature-requests/trunk/templates/photoswipe.php

    r2636027 r3039312  
    1717                <div class="pswp__counter"></div>
    1818
    19                 <button class="pswp__button pswp__button--close" title="Close (Esc)"></button>
     19                <button class="pswp__button pswp__button--close" title=""></button>
    2020
    21                 <button class="pswp__button pswp__button--share" title="Share"></button>
     21                <button class="pswp__button pswp__button--share" title=""></button>
    2222
    23                 <button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button>
     23                <button class="pswp__button pswp__button--fs" title=""></button>
    2424
    25                 <button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button>
     25                <button class="pswp__button pswp__button--zoom" title=""></button>
    2626
    2727                <div class="pswp__preloader">
     
    3838            </div>
    3939
    40             <button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)">
     40            <button class="pswp__button pswp__button--arrow--left" title="">
    4141            </button>
    4242
    43             <button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)">
     43            <button class="pswp__button pswp__button--arrow--right" title="">
    4444            </button>
    4545
Note: See TracChangeset for help on using the changeset viewer.