Changeset 1956479
- Timestamp:
- 10/14/2018 10:37:21 AM (7 years ago)
- Location:
- wpstudio-testimonial-slider/trunk
- Files:
-
- 4 edited
-
genesis-testimonials.php (modified) (6 diffs)
-
inc/gts-cpt.php (modified) (2 diffs)
-
readme.md (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wpstudio-testimonial-slider/trunk/genesis-testimonials.php
r1834420 r1956479 4 4 * Plugin URI: http://wpstud.io/plugins 5 5 * Description: The Genesis Testimonials Slider is a simple-to-use plugin for adding Testimonials to your Genesis Theme, using a shortcode or a widget. 6 * Version: 1.2. 56 * Version: 1.2.6 7 7 * Author: Frank Schrijvers, WPStudio 8 8 * Author URI: http://www.wpstud.io … … 29 29 } 30 30 31 require_once ( ABSPATH . 'wp-admin/includes/plugin.php' );31 require_once ABSPATH . 'wp-admin/includes/plugin.php'; 32 32 33 33 add_action( 'init', 'wpstudio_load_gts_textdomain' ); … … 59 59 60 60 deactivate_plugins( plugin_basename( __FILE__ ) ); // Deactivate plugin. 61 wp_die( sprintf( __( 'Sorry, you can\'t activate %1$sGenesis Slide-in Widget unless you have installed the %3$sGenesis Framework%4$s. Go back to the %5$sPlugins Page%4$s.', ' genesis-overlay-widget' ), '<em>', '</em>', '<a href="http://www.studiopress.com/themes/genesis" target="_blank">', '</a>', '<a href="javascript:history.back()">' ) );61 wp_die( sprintf( __( 'Sorry, you can\'t activate %1$sGenesis Slide-in Widget unless you have installed the %3$sGenesis Framework%4$s. Go back to the %5$sPlugins Page%4$s.', 'wpstudio-testimonial-slider' ), '<em>', '</em>', '<a href="http://www.studiopress.com/themes/genesis" target="_blank">', '</a>', '<a href="javascript:history.back()">' ) ); 62 62 } 63 63 … … 66 66 deactivate_plugins( plugin_basename( __FILE__ ) ); // Deactivate plugin. 67 67 /* translators: Genesis Framework version check. */ 68 wp_die( sprintf( __( 'Sorry, you can\'t activate %1$sGenesis Slide-in Widget unless you have installed the %3$sGenesis %4$s%5$s. Go back to the %6$sPlugins Page%5$s.', ' genesis-overlay-widget' ), '<em>', '</em>', '<a href="http://www.studiopress.com/themes/genesis" target="_blank">', $latest, '</a>', '<a href="javascript:history.back()">' ) );68 wp_die( sprintf( __( 'Sorry, you can\'t activate %1$sGenesis Slide-in Widget unless you have installed the %3$sGenesis %4$s%5$s. Go back to the %6$sPlugins Page%5$s.', 'wpstudio-testimonial-slider' ), '<em>', '</em>', '<a href="http://www.studiopress.com/themes/genesis" target="_blank">', $latest, '</a>', '<a href="javascript:history.back()">' ) ); 69 69 70 70 } … … 83 83 } 84 84 85 add_action( 'after_switch_theme', 'wpstudio_gts_deactivate_check' );85 add_action( 'after_switch_theme', 'wpstudio_gts_deactivate_check', 10 ); 86 86 87 87 /** … … 103 103 function wpstudio_gts_init() { 104 104 105 require( dirname( __FILE__ ) . '/inc/gts-admin.php' ); 106 include( dirname( __FILE__ ) . '/inc/gts-company.php' ); 107 include( dirname( __FILE__ ) . '/inc/gts-rating.php' ); 108 include( dirname( __FILE__ ) . '/inc/gts-cpt.php' ); 109 include( dirname( __FILE__ ) . '/inc/gts-widget.php' ); 110 include( dirname( __FILE__ ) . '/inc/gts-shortcode.php' ); 111 new WPSTUDIO_gts_Settings(); 105 if ( function_exists( 'genesis_pre' ) ) { 106 107 require dirname( __FILE__ ) . '/inc/gts-admin.php'; 108 include dirname( __FILE__ ) . '/inc/gts-company.php'; 109 include dirname( __FILE__ ) . '/inc/gts-rating.php'; 110 include dirname( __FILE__ ) . '/inc/gts-cpt.php'; 111 include dirname( __FILE__ ) . '/inc/gts-widget.php'; 112 include dirname( __FILE__ ) . '/inc/gts-shortcode.php'; 113 new WPSTUDIO_gts_Settings(); 114 115 } 112 116 113 117 } -
wpstudio-testimonial-slider/trunk/inc/gts-cpt.php
r1834420 r1956479 42 42 ); 43 43 $args = array( 44 'public' => true,44 'public' => false, 45 45 'label' => __( 'Testimonial', 'wpstudio-testimonial-slider' ), 46 46 'description' => __( 'Testimonials', 'wpstudio-testimonial-slider' ), … … 48 48 'supports' => array( 'title', 'editor', 'thumbnail' ), 49 49 'hierarchical' => false, 50 'public' => true,51 50 'show_ui' => true, 52 51 'show_in_menu' => true, -
wpstudio-testimonial-slider/trunk/readme.md
r1834420 r1956479 5 5 * Requires at least: 3.6 6 6 * Tested up to: 4.9.4 7 * Stable tag: 1.2. 57 * Stable tag: 1.2.6 8 8 * License: GPLv2 or later 9 9 * License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 61 61 ## Changelog 62 62 63 **1.2.6** 64 65 - Bug fix: fixed check wich causes a error 500 if switched to an none Genesis theme. 66 - Tweak: removed permalinks testimonials 67 63 68 **1.2.5** 64 69 -
wpstudio-testimonial-slider/trunk/readme.txt
r1834420 r1956479 3 3 Tags: testimonials, testimonial, testimonials plugin, widget, genesis, slider, Genesis Framework, genesiswp 4 4 Requires at least: 3.6 5 Tested up to: 4.9. 46 Stable tag: 1.2. 55 Tested up to: 4.9.8 6 Stable tag: 1.2.6 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 60 60 == Changelog == 61 61 62 = 1.2.6 = 63 * Bug fix: fixed check wich causes a error 500 if switched to an none Genesis theme. 64 * Tweak: removed permalinks testimonials 65 62 66 = 1.2.5 = 63 67 * Update: fix for Genesis 2.6
Note: See TracChangeset
for help on using the changeset viewer.