Changeset 3039312
- Timestamp:
- 02/21/2024 03:54:33 PM (6 months ago)
- Location:
- simple-feature-requests/trunk
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
simple-feature-requests/trunk/inc/class-core-autoloader.php
r2282410 r3039312 55 55 * 56 56 * 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.php58 57 */ 59 58 private static function autoload( $class_name ) { -
simple-feature-requests/trunk/inc/class-core-helpers.php
r2282410 r3039312 83 83 */ 84 84 public static function is_plugin_active( $plugin ) { 85 $ plugins = self::get_plugin_name_variations( $plugin );85 $( $plugin ); 86 86 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; 93 89 } 94 90 95 91 return false; 96 92 } … … 123 119 return false; 124 120 } 125 126 /**127 * Check variations of iconic plugins.128 *129 * @param string $plugin130 *131 * @return array132 */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 }149 121 } -
simple-feature-requests/trunk/inc/class-core-licence.php
r2993454 r3039312 204 204 public static function add_action_links( $links ) 205 205 { 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' ) ); 207 207 return $links; 208 208 } -
simple-feature-requests/trunk/inc/class-core-settings.php
r2636027 r3039312 45 45 46 46 /** 47 * Docs base url.47 * . 48 48 * 49 49 * @var string 50 50 */ 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"; 59 52 60 53 /** … … 118 111 */ 119 112 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'] ); 121 114 122 115 self::$settings_framework->add_settings_page( array( … … 163 156 164 157 /** 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. 166 161 */ 167 162 public static function clean_notices() { … … 172 167 remove_all_actions( 'admin_notices' ); 173 168 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 <?php308 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 <?php318 169 } 319 170 … … 376 227 377 228 /** 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 <?php397 }398 399 /**400 229 * Get docs URL. 401 230 * … … 405 234 */ 406 235 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(); 412 237 } 413 238 … … 432 257 ); 433 258 434 if ( current_user_can( 'manage_options' ) && ! defined( 'ICONIC_DISABLE_DASH' ) && ! defined( 'JCK_SFR_DISABLE_DASH' )) {259 if ( current_user_can( 'manage_options' ) ) { 435 260 $settings['sections']['licence'] = array( 436 261 'tab_id' => 'dashboard', … … 447 272 'default' => JCK_SFR_Core_Licence::admin_account_link(), 448 273 ), 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 ),456 274 ), 457 275 … … 471 289 'subtitle' => __( 'Get premium support with a valid license.', 'simple-feature-requests' ), 472 290 'type' => 'custom', 473 'default' => self::support_link(),291 'default' => ::support_link(), 474 292 ), 475 293 array( … … 478 296 'subtitle' => __( 'Read the plugin documentation.', 'simple-feature-requests' ), 479 297 'type' => 'custom', 480 'default' => self::documentation_link(),298 'default' => ::documentation_link(), 481 299 ), 482 300 ), … … 485 303 return $settings; 486 304 } 487 488 /**489 * Get support button.490 *491 * @return string492 */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 string501 */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 string510 */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 }514 305 } -
simple-feature-requests/trunk/inc/class-feature-request.php
r2636027 r3039312 195 195 'updated_votes_count' => null, 196 196 ); 197 197 198 $user = new JCK_SFR_User( $user_id ); 198 199 $vote = ( 'add' === $type ? $user->add_vote( $this->post->ID ) : $user->remove_vote( $this->post->ID ) ); 199 if ( !$vote['success'] ) {200 if ( !$vote['success'] ) { 200 201 return $vote; 201 202 } … … 383 384 printf( 'class="%s"', implode( ' ', array_map( 'esc_attr', $classes ) ) ); 384 385 } 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 385 402 386 403 } -
simple-feature-requests/trunk/inc/class-post-types.php
r2993454 r3039312 178 178 'name' => $options['plural'], 179 179 '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'] ), '' ), 189 189 'menu_name' => ( $options['menu_name'] ? $options['menu_name'] : $options['plural'] ), 190 190 ); -
simple-feature-requests/trunk/inc/class-settings.php
r2934593 r3039312 41 41 add_submenu_page( 42 42 'jck-sfr-settings', 43 'Add New',44 'Add New',43 , 44 , 45 45 'manage_options', 46 46 'post-new.php?post_type=cpt_feature_requests', … … 165 165 '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' ), 166 166 'type' => 'select', 167 'choices' => array(),167 'choices' => (), 168 168 'default' => '', 169 169 ), … … 223 223 ) ), 224 224 ); 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 225 253 $settings['sections']['general_credit'] = array( 226 254 'tab_id' => 'general', … … 233 261 'title' => __( 'Enable Credit', 'simple-feature-requests' ), 234 262 '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' => 'c heckbox',236 'default' => 1,263 'type' => 'c', 264 'default' => , 237 265 ) ), 238 266 ); … … 271 299 'type' => 'checkbox', 272 300 'default' => 0, 301 302 303 304 305 306 273 307 ) ), 274 308 ); … … 378 412 public static function get_page_options() 379 413 { 380 $return = array( __( 'Select a page...', ' iconic-ww' ) );414 $return = array( __( 'Select a page...', '' ) ); 381 415 $pages = get_pages( array( 382 416 'post_status' => 'publish,private,draft', … … 507 541 <?php 508 542 } 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 509 558 510 559 } -
simple-feature-requests/trunk/inc/class-template-hooks.php
r2636027 r3039312 236 236 { 237 237 $settings = JCK_SFR_Settings::get_settings(); 238 if ( empty($settings['general_credit_enable'])) {238 if ( ) { 239 239 return; 240 240 } -
simple-feature-requests/trunk/inc/class-template-methods.php
r2993454 r3039312 395 395 public static function back_to_archive_link() 396 396 { 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_() ); 398 398 ?> 399 399 <a href="<?php … … 408 408 </a> 409 409 <?php 410 //}411 410 } 412 411 -
simple-feature-requests/trunk/inc/vendor/freemius/includes/class-freemius.php
r2993454 r3039312 1358 1358 1359 1359 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 ) ) { 1362 1361 return; 1363 1362 } -
simple-feature-requests/trunk/inc/vendor/freemius/includes/class-fs-garbage-collector.php
r2995256 r3039312 282 282 283 283 foreach ( $users as $user_id => $user ) { 284 if ( ! isset( $user_has_install [ $user_id ] ) ) {284 if ( ! isset( $user_has_install[ $user_id ] ) ) { 285 285 unset( $users[ $user_id ] ); 286 286 -
simple-feature-requests/trunk/inc/vendor/freemius/start.php
r2993454 r3039312 16 16 * @var string 17 17 */ 18 $this_sdk_version = '2.6. 0';18 $this_sdk_version = '2.6.'; 19 19 20 20 #region SDK Selection Logic -------------------------------------------------------------------- … … 47 47 $file_path = fs_normalize_path( __FILE__ ); 48 48 $fs_root_path = dirname( $file_path ); 49 50 51 49 52 50 53 if ( … … 54 57 * @see theme-previews.php:wp_get_theme_preview_path() 55 58 * 56 * @todo If this behavior is fixed in the core, we will remove this workaround.59 * @todo . 57 60 * @since WP 6.3.0 58 61 */ 62 63 59 64 ( 60 65 'site-editor.php' === basename( $_SERVER['SCRIPT_FILENAME'] ) || -
simple-feature-requests/trunk/languages/simple-feature-requests.pot
r2426688 r3039312 102 102 msgstr "" 103 103 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:240105 msgid "View All Iconic Plugins"106 msgstr ""107 108 104 #: 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 109 105 msgid "Trusted by over 10,000 WooCommerce Businesses and Online Shops" … … 120 116 #: 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 121 117 msgid "Manage Licence & 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:259125 msgid "Thank you for choosing Iconic. We've put together some useful links to help you get started:"126 118 msgstr "" 127 119 … … 136 128 #. translators: Documentation URL. 137 129 #: 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>."130 msgid "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>." 139 131 msgstr "" 140 132 … … 165 157 #: 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 166 158 msgid "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:399170 msgid "Manage all of your Iconic plugins, supscriptions, renewals, and more."171 159 msgstr "" 172 160 -
simple-feature-requests/trunk/plugin-data.json
r2995256 r3039312 1 1 { 2 "version": "2. 2.6.1",3 "wp": "6. 3.2",2 "version": "2.", 3 "wp": "6..2", 4 4 "wp_requires": "4.9", 5 5 "woo": "", -
simple-feature-requests/trunk/readme.txt
r2995256 r3039312 1 1 === Simple Feature Requests Free - User Feedback Board === 2 Contributors: patrickgarman, freemius2 Contributors: patrickgarman, freemius 3 3 Donate link: https://simplefeaturerequests.com/pricing/?utm_source=SFR&utm_medium=wp.org&utm_campaign=Readme 4 4 Tags: feature request, customer feedback, user feedback, roadmap, idea management 5 5 Requires at least: 4.9 6 Tested up to: 6. 3.27 Stable tag: 2. 2.6.18 Requires PHP: 5.46 Tested up to: 6..2 7 Stable tag: 2. 8 Requires PHP: .4 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 18 18 Whatever method you use, chances are it costs you time *AND* money. 19 19 20 **Simple Feature Requests** aims to make the wholeprocess 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. 21 21 22 22 = Simple Feature Requests Free = … … 46 46 * [Multiple Boards](https://docs.simplefeaturerequests.com/pro-features/multiple-boards) for grouping feature requests. 47 47 * [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 48 50 49 51 [Upgrade to Pro](https://simplefeaturerequests.com/pricing/?utm_source=SFR&utm_medium=wp.org&utm_campaign=Readme) … … 130 132 == Changelog == 131 133 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) 135 Feature Request: Enable guest voting (Pro) 136 Enhancement: Updated localization strings 137 Enhancement: Updated branding to reflect Mindsize ownership 138 Enhancement: Update Freemius SDK to 2.6.2 139 Enhancement: Add ability to hide credits to Pro version 140 Enhancement: Make pro features more discoverable in free version 141 Bugfix: Back to board link goes to the board of the request. 142 Bugfix: 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) 136 148 [fix] Resolve an issue preventing new requests from being created 137 149 [fix] Resolve warning when votes_limits_reimburse_votes is unset. Props @surferking … … 143 155 [update] Freemius SDK update to 2.6.0 144 156 145 146 **v2.2.5.1** (2023-06-05)** 157 **v2.2.5.1** (2023-06-05) 147 158 [fix] Resolve SVN deploy issues 148 159 149 **v2.2.5** (2023-06-05) **160 **v2.2.5** (2023-06-05) 150 161 [update] Updated author 151 162 [update] Freemius SDK update to 2.5.10 152 163 153 **v2.2.4** (2022-03-02) **164 **v2.2.4** (2022-03-02) 154 165 [security] Security fix. 155 166 156 **v2.2.3** (2022-02-22) **167 **v2.2.3** (2022-02-22) 157 168 [fix] Fixed an issue preventing custom labels from being translatable 158 169 [fix] It's now possible to set the single and archive title tags in Simple Feature Requests Free … … 160 171 [fix] Corrected fatal error that sometimes occurred in Simple Feature Requests Free 161 172 162 **v2.2.2** (2021-11-11) **173 **v2.2.2** (2021-11-11) 163 174 [new] Added ability to organize requests by board, allowing multiple boards per site [pro] 164 175 [new] Added ability to rename 'Request' and 'Requests' to any other applicable label, e.g. 'Report' and 'Reports' [pro] … … 289 300 **v1.0.0** (2017-12-13) 290 301 Initial 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 5 5 * Plugin URI: https://simplefeaturerequests.com 6 6 * 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.17 * Version: 2. 8 8 * Author: Mindsize 9 9 * Author URI: https://mindsize.com … … 24 24 * @var string 25 25 */ 26 public static $version = "2. 2.6.1" ;26 public static $version = "2." ; 27 27 /** 28 28 * Full name … … 267 267 'version' => self::$version, 268 268 'menu_title' => JCK_SFR_Post_Types::get_menu_title(), 269 'page_title' => __( 'Simple Feature Requests', 'simple-feature-requests' ),270 269 'parent_slug' => false, 271 270 'capability' => 'manage_options', 272 'settings_path' => JCK_SFR_INC_PATH . 'admin/ settings.php',271 'settings_path' => JCK_SFR_INC_PATH . 'admin/s.php', 273 272 'option_group' => 'jck_sfr', 274 273 'docs' => array( -
simple-feature-requests/trunk/templates/photoswipe.php
r2636027 r3039312 17 17 <div class="pswp__counter"></div> 18 18 19 <button class="pswp__button pswp__button--close" title=" Close (Esc)"></button>19 <button class="pswp__button pswp__button--close" title=""></button> 20 20 21 <button class="pswp__button pswp__button--share" title=" Share"></button>21 <button class="pswp__button pswp__button--share" title=""></button> 22 22 23 <button class="pswp__button pswp__button--fs" title=" Toggle fullscreen"></button>23 <button class="pswp__button pswp__button--fs" title=""></button> 24 24 25 <button class="pswp__button pswp__button--zoom" title=" Zoom in/out"></button>25 <button class="pswp__button pswp__button--zoom" title=""></button> 26 26 27 27 <div class="pswp__preloader"> … … 38 38 </div> 39 39 40 <button class="pswp__button pswp__button--arrow--left" title=" Previous (arrow left)">40 <button class="pswp__button pswp__button--arrow--left" title=""> 41 41 </button> 42 42 43 <button class="pswp__button pswp__button--arrow--right" title=" Next (arrow right)">43 <button class="pswp__button pswp__button--arrow--right" title=""> 44 44 </button> 45 45
Note: See TracChangeset
for help on using the changeset viewer.