diff --git a/vendor/ayecode/ayecode-connect-helper/ayecode-connect-helper.php b/vendor/ayecode/ayecode-connect-helper/ayecode-connect-helper.php index 834b83fb8..6e8651f27 100644 --- a/vendor/ayecode/ayecode-connect-helper/ayecode-connect-helper.php +++ b/vendor/ayecode/ayecode-connect-helper/ayecode-connect-helper.php @@ -1,5 +1,4 @@ is_localhost() && current_user_can( 'manage_options' ) ) { - - // set default strings $default_strings = array( - 'connect_title' => __( "Thanks for choosing an AyeCode Product!" ), - 'connect_external' => __( "Please confirm you wish to connect your site?" ), - 'connect' => sprintf( __( "Have a license? Forget about entering license keys or downloading zip files, connect your site for instant access. %slearn more%s" ), "", "" ), - 'connect_button' => __( "Connect Site" ), - 'connecting_button' => __( "Connecting..." ), - 'error_localhost' => __( "This service will only work with a live domain, not a localhost." ), - 'error' => __( "Something went wrong, please refresh and try again." ), + 'connect_title' => __( "Thanks for choosing an AyeCode Product!", 'ayecode-connect' ), + 'connect_external' => __( "Please confirm you wish to connect your site?", 'ayecode-connect' ), + 'connect' => wp_sprintf( __( "Have a license? Forget about entering license keys or downloading zip files, connect your site for instant access. %slearn more%s", 'ayecode-connect' ), "", "" ), + 'connect_button' => __( "Connect Site", 'ayecode-connect' ), + 'connecting_button' => __( "Connecting...", 'ayecode-connect' ), + 'error_localhost' => __( "This service will only work with a live domain, not a localhost.", 'ayecode-connect' ), + 'error' => __( "Something went wrong, please refresh and try again.", 'ayecode-connect' ), ); $this->strings = array_merge( $default_strings, $strings ); - // set default pages $default_pages = array(); $this->pages = array_merge( $default_pages, $pages ); @@ -65,7 +60,6 @@ public function __construct( $strings = array(), $pages = array() ) { if ( ! has_action( 'wp_ajax_nopriv_ayecode_connect_helper_installed' ) ) { add_action( 'wp_ajax_nopriv_ayecode_connect_helper_installed', array( $this, 'ayecode_connect_helper_installed' ) ); } - } /** @@ -99,7 +93,6 @@ private function format_plugin_slug( $key ) { * Install and activate the AyeCode Connect Plugin */ public function ayecode_connect_install() { - // bail if localhost if ( $this->is_localhost() ) { wp_send_json_error( $this->strings['error_localhost'] ); @@ -302,19 +295,13 @@ public function ayecode_connect_install_notice() {

-

- +

- + - - + - pages ) ) { - // check if not active and connected if ( ! defined( 'AYECODE_CONNECT_VERSION' ) || ! get_option( 'ayecode_connect_blog_token' ) ) { $show = true; } - } return $show; } - } - } diff --git a/vendor/ayecode/ayecode-connect-helper/change-log.txt b/vendor/ayecode/ayecode-connect-helper/change-log.txt index f8572198e..2b0ae236b 100644 --- a/vendor/ayecode/ayecode-connect-helper/change-log.txt +++ b/vendor/ayecode/ayecode-connect-helper/change-log.txt @@ -1,2 +1,5 @@ += 1.0.4 - 2023-12-14 = +* Update textdomain - CHANGED + = 1.0.3 = * Added version comparisons so we know if the connect message will show or not - ADDED \ No newline at end of file diff --git a/vendor/ayecode/wp-ayecode-ui/change-log.txt b/vendor/ayecode/wp-ayecode-ui/change-log.txt index ef4f514d3..adcc38140 100644 --- a/vendor/ayecode/wp-ayecode-ui/change-log.txt +++ b/vendor/ayecode/wp-ayecode-ui/change-log.txt @@ -1,3 +1,7 @@ += 0.2.5 - 2023-12-14 = +* Update textdomain - CHANGED +* Inline CSS breaks p element in block editor - FIXED + = 0.2.4 = * Last ios fix broke standard image select from library - FIXED diff --git a/vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php b/vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php index d1717b7d4..ffd5a9bc0 100644 --- a/vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php +++ b/vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php @@ -35,7 +35,7 @@ class AyeCode_UI_Settings { * * @var string */ - public $version = '0.2.4'; + public $version = '0.2.5'; /** * Class textdomain. @@ -515,11 +515,6 @@ public function enqueue_style() { th, td, div, h2 { box-sizing: content-box; } - p { - font-size: 13px; - line-height: 1.5; - margin: 1em 0; - } h1, h2, h3, h4, h5, h6 { display: block; font-weight: 600; @@ -846,129 +841,118 @@ public function get_settings() { */ public function settings_page() { if ( ! current_user_can( 'manage_options' ) ) { - wp_die( __( 'You do not have sufficient permissions to access this page.', 'aui' ) ); + wp_die( __( 'You do not have sufficient permissions to access this page.', 'ayecode-connect' ) ); } $overrides = apply_filters( 'ayecode-ui-settings', array(), array(), array() ); ?>

name; ?>

-

+

-

-

+

+

alert(array( 'type'=> 'info', - 'content'=> __("Some options are disabled as your current theme is overriding them.",'aui') + 'content'=> __("Some options are disabled as your current theme is overriding them.", 'ayecode-connect' ) )); } ?>
- +
-

+

- + - + - +
/> -

+

-

(wp-admin)

+

(wp-admin)

- + - + - + -
-

+

-
-
version; ?>
- add_section('aui_settings', array( - 'title' => __('AyeCode UI','aui'), + 'title' => __('AyeCode UI', 'ayecode-connect' ), 'priority' => 120, )); @@ -1008,7 +992,7 @@ public function customizer_settings($wp_customize){ 'transport' => 'refresh', )); $wp_customize->add_control( new WP_Customize_Color_Control($wp_customize, 'color_primary', array( - 'label' => __('Primary Color','aui'), + 'label' => __('Primary Color', 'ayecode-connect' ), 'section' => 'aui_settings', 'settings' => 'aui_options[color_primary]', ))); @@ -1021,7 +1005,7 @@ public function customizer_settings($wp_customize){ 'transport' => 'refresh', )); $wp_customize->add_control( new WP_Customize_Color_Control($wp_customize, 'color_secondary', array( - 'label' => __('Secondary Color','aui'), + 'label' => __('Secondary Color', 'ayecode-connect' ), 'section' => 'aui_settings', 'settings' => 'aui_options[color_secondary]', ))); @@ -2135,71 +2119,71 @@ public function get_examples(){ */ public static function calendar_params() { $params = array( - 'month_long_1' => __( 'January', 'aui' ), - 'month_long_2' => __( 'February', 'aui' ), - 'month_long_3' => __( 'March', 'aui' ), - 'month_long_4' => __( 'April', 'aui' ), - 'month_long_5' => __( 'May', 'aui' ), - 'month_long_6' => __( 'June', 'aui' ), - 'month_long_7' => __( 'July', 'aui' ), - 'month_long_8' => __( 'August', 'aui' ), - 'month_long_9' => __( 'September', 'aui' ), - 'month_long_10' => __( 'October', 'aui' ), - 'month_long_11' => __( 'November', 'aui' ), - 'month_long_12' => __( 'December', 'aui' ), - 'month_s_1' => _x( 'Jan', 'January abbreviation', 'aui' ), - 'month_s_2' => _x( 'Feb', 'February abbreviation', 'aui' ), - 'month_s_3' => _x( 'Mar', 'March abbreviation', 'aui' ), - 'month_s_4' => _x( 'Apr', 'April abbreviation', 'aui' ), - 'month_s_5' => _x( 'May', 'May abbreviation', 'aui' ), - 'month_s_6' => _x( 'Jun', 'June abbreviation', 'aui' ), - 'month_s_7' => _x( 'Jul', 'July abbreviation', 'aui' ), - 'month_s_8' => _x( 'Aug', 'August abbreviation', 'aui' ), - 'month_s_9' => _x( 'Sep', 'September abbreviation', 'aui' ), - 'month_s_10' => _x( 'Oct', 'October abbreviation', 'aui' ), - 'month_s_11' => _x( 'Nov', 'November abbreviation', 'aui' ), - 'month_s_12' => _x( 'Dec', 'December abbreviation', 'aui' ), - 'day_s1_1' => _x( 'S', 'Sunday initial', 'aui' ), - 'day_s1_2' => _x( 'M', 'Monday initial', 'aui' ), - 'day_s1_3' => _x( 'T', 'Tuesday initial', 'aui' ), - 'day_s1_4' => _x( 'W', 'Wednesday initial', 'aui' ), - 'day_s1_5' => _x( 'T', 'Friday initial', 'aui' ), - 'day_s1_6' => _x( 'F', 'Thursday initial', 'aui' ), - 'day_s1_7' => _x( 'S', 'Saturday initial', 'aui' ), - 'day_s2_1' => __( 'Su', 'aui' ), - 'day_s2_2' => __( 'Mo', 'aui' ), - 'day_s2_3' => __( 'Tu', 'aui' ), - 'day_s2_4' => __( 'We', 'aui' ), - 'day_s2_5' => __( 'Th', 'aui' ), - 'day_s2_6' => __( 'Fr', 'aui' ), - 'day_s2_7' => __( 'Sa', 'aui' ), - 'day_s3_1' => __( 'Sun', 'aui' ), - 'day_s3_2' => __( 'Mon', 'aui' ), - 'day_s3_3' => __( 'Tue', 'aui' ), - 'day_s3_4' => __( 'Wed', 'aui' ), - 'day_s3_5' => __( 'Thu', 'aui' ), - 'day_s3_6' => __( 'Fri', 'aui' ), - 'day_s3_7' => __( 'Sat', 'aui' ), - 'day_s5_1' => __( 'Sunday', 'aui' ), - 'day_s5_2' => __( 'Monday', 'aui' ), - 'day_s5_3' => __( 'Tuesday', 'aui' ), - 'day_s5_4' => __( 'Wednesday', 'aui' ), - 'day_s5_5' => __( 'Thursday', 'aui' ), - 'day_s5_6' => __( 'Friday', 'aui' ), - 'day_s5_7' => __( 'Saturday', 'aui' ), - 'am_lower' => __( 'am', 'aui' ), - 'pm_lower' => __( 'pm', 'aui' ), - 'am_upper' => __( 'AM', 'aui' ), - 'pm_upper' => __( 'PM', 'aui' ), + 'month_long_1' => __( 'January', 'ayecode-connect' ), + 'month_long_2' => __( 'February', 'ayecode-connect' ), + 'month_long_3' => __( 'March', 'ayecode-connect' ), + 'month_long_4' => __( 'April', 'ayecode-connect' ), + 'month_long_5' => __( 'May', 'ayecode-connect' ), + 'month_long_6' => __( 'June', 'ayecode-connect' ), + 'month_long_7' => __( 'July', 'ayecode-connect' ), + 'month_long_8' => __( 'August', 'ayecode-connect' ), + 'month_long_9' => __( 'September', 'ayecode-connect' ), + 'month_long_10' => __( 'October', 'ayecode-connect' ), + 'month_long_11' => __( 'November', 'ayecode-connect' ), + 'month_long_12' => __( 'December', 'ayecode-connect' ), + 'month_s_1' => _x( 'Jan', 'January abbreviation', 'ayecode-connect' ), + 'month_s_2' => _x( 'Feb', 'February abbreviation', 'ayecode-connect' ), + 'month_s_3' => _x( 'Mar', 'March abbreviation', 'ayecode-connect' ), + 'month_s_4' => _x( 'Apr', 'April abbreviation', 'ayecode-connect' ), + 'month_s_5' => _x( 'May', 'May abbreviation', 'ayecode-connect' ), + 'month_s_6' => _x( 'Jun', 'June abbreviation', 'ayecode-connect' ), + 'month_s_7' => _x( 'Jul', 'July abbreviation', 'ayecode-connect' ), + 'month_s_8' => _x( 'Aug', 'August abbreviation', 'ayecode-connect' ), + 'month_s_9' => _x( 'Sep', 'September abbreviation', 'ayecode-connect' ), + 'month_s_10' => _x( 'Oct', 'October abbreviation', 'ayecode-connect' ), + 'month_s_11' => _x( 'Nov', 'November abbreviation', 'ayecode-connect' ), + 'month_s_12' => _x( 'Dec', 'December abbreviation', 'ayecode-connect' ), + 'day_s1_1' => _x( 'S', 'Sunday initial', 'ayecode-connect' ), + 'day_s1_2' => _x( 'M', 'Monday initial', 'ayecode-connect' ), + 'day_s1_3' => _x( 'T', 'Tuesday initial', 'ayecode-connect' ), + 'day_s1_4' => _x( 'W', 'Wednesday initial', 'ayecode-connect' ), + 'day_s1_5' => _x( 'T', 'Friday initial', 'ayecode-connect' ), + 'day_s1_6' => _x( 'F', 'Thursday initial', 'ayecode-connect' ), + 'day_s1_7' => _x( 'S', 'Saturday initial', 'ayecode-connect' ), + 'day_s2_1' => __( 'Su', 'ayecode-connect' ), + 'day_s2_2' => __( 'Mo', 'ayecode-connect' ), + 'day_s2_3' => __( 'Tu', 'ayecode-connect' ), + 'day_s2_4' => __( 'We', 'ayecode-connect' ), + 'day_s2_5' => __( 'Th', 'ayecode-connect' ), + 'day_s2_6' => __( 'Fr', 'ayecode-connect' ), + 'day_s2_7' => __( 'Sa', 'ayecode-connect' ), + 'day_s3_1' => __( 'Sun', 'ayecode-connect' ), + 'day_s3_2' => __( 'Mon', 'ayecode-connect' ), + 'day_s3_3' => __( 'Tue', 'ayecode-connect' ), + 'day_s3_4' => __( 'Wed', 'ayecode-connect' ), + 'day_s3_5' => __( 'Thu', 'ayecode-connect' ), + 'day_s3_6' => __( 'Fri', 'ayecode-connect' ), + 'day_s3_7' => __( 'Sat', 'ayecode-connect' ), + 'day_s5_1' => __( 'Sunday', 'ayecode-connect' ), + 'day_s5_2' => __( 'Monday', 'ayecode-connect' ), + 'day_s5_3' => __( 'Tuesday', 'ayecode-connect' ), + 'day_s5_4' => __( 'Wednesday', 'ayecode-connect' ), + 'day_s5_5' => __( 'Thursday', 'ayecode-connect' ), + 'day_s5_6' => __( 'Friday', 'ayecode-connect' ), + 'day_s5_7' => __( 'Saturday', 'ayecode-connect' ), + 'am_lower' => __( 'am', 'ayecode-connect' ), + 'pm_lower' => __( 'pm', 'ayecode-connect' ), + 'am_upper' => __( 'AM', 'ayecode-connect' ), + 'pm_upper' => __( 'PM', 'ayecode-connect' ), 'firstDayOfWeek' => (int) get_option( 'start_of_week' ), 'time_24hr' => false, - 'year' => __( 'Year', 'aui' ), - 'hour' => __( 'Hour', 'aui' ), - 'minute' => __( 'Minute', 'aui' ), - 'weekAbbreviation' => __( 'Wk', 'aui' ), - 'rangeSeparator' => __( ' to ', 'aui' ), - 'scrollTitle' => __( 'Scroll to increment', 'aui' ), - 'toggleTitle' => __( 'Click to toggle', 'aui' ) + 'year' => __( 'Year', 'ayecode-connect' ), + 'hour' => __( 'Hour', 'ayecode-connect' ), + 'minute' => __( 'Minute', 'ayecode-connect' ), + 'weekAbbreviation' => __( 'Wk', 'ayecode-connect' ), + 'rangeSeparator' => __( ' to ', 'ayecode-connect' ), + 'scrollTitle' => __( 'Scroll to increment', 'ayecode-connect' ), + 'toggleTitle' => __( 'Click to toggle', 'ayecode-connect' ) ); return apply_filters( 'ayecode_ui_calendar_params', $params ); @@ -2297,17 +2281,17 @@ public static function flatpickr_locale() { */ public static function select2_params() { $params = array( - 'i18n_select_state_text' => esc_attr__( 'Select an option…', 'aui' ), - 'i18n_no_matches' => _x( 'No matches found', 'enhanced select', 'aui' ), - 'i18n_ajax_error' => _x( 'Loading failed', 'enhanced select', 'aui' ), - 'i18n_input_too_short_1' => _x( 'Please enter 1 or more characters', 'enhanced select', 'aui' ), - 'i18n_input_too_short_n' => _x( 'Please enter %item% or more characters', 'enhanced select', 'aui' ), - 'i18n_input_too_long_1' => _x( 'Please delete 1 character', 'enhanced select', 'aui' ), - 'i18n_input_too_long_n' => _x( 'Please delete %item% characters', 'enhanced select', 'aui' ), - 'i18n_selection_too_long_1' => _x( 'You can only select 1 item', 'enhanced select', 'aui' ), - 'i18n_selection_too_long_n' => _x( 'You can only select %item% items', 'enhanced select', 'aui' ), - 'i18n_load_more' => _x( 'Loading more results…', 'enhanced select', 'aui' ), - 'i18n_searching' => _x( 'Searching…', 'enhanced select', 'aui' ) + 'i18n_select_state_text' => esc_attr__( 'Select an option…', 'ayecode-connect' ), + 'i18n_no_matches' => _x( 'No matches found', 'enhanced select', 'ayecode-connect' ), + 'i18n_ajax_error' => _x( 'Loading failed', 'enhanced select', 'ayecode-connect' ), + 'i18n_input_too_short_1' => _x( 'Please enter 1 or more characters', 'enhanced select', 'ayecode-connect' ), + 'i18n_input_too_short_n' => _x( 'Please enter %item% or more characters', 'enhanced select', 'ayecode-connect' ), + 'i18n_input_too_long_1' => _x( 'Please delete 1 character', 'enhanced select', 'ayecode-connect' ), + 'i18n_input_too_long_n' => _x( 'Please delete %item% characters', 'enhanced select', 'ayecode-connect' ), + 'i18n_selection_too_long_1' => _x( 'You can only select 1 item', 'enhanced select', 'ayecode-connect' ), + 'i18n_selection_too_long_n' => _x( 'You can only select %item% items', 'enhanced select', 'ayecode-connect' ), + 'i18n_load_more' => _x( 'Loading more results…', 'enhanced select', 'ayecode-connect' ), + 'i18n_searching' => _x( 'Searching…', 'enhanced select', 'ayecode-connect' ) ); return apply_filters( 'ayecode_ui_select2_params', $params ); @@ -2346,20 +2330,20 @@ public static function select2_locale() { public static function timeago_locale() { $params = array( 'prefix_ago' => '', - 'suffix_ago' => ' ' . _x( 'ago', 'time ago', 'aui' ), - 'prefix_after' => _x( 'after', 'time ago', 'aui' ) . ' ', + 'suffix_ago' => ' ' . _x( 'ago', 'time ago', 'ayecode-connect' ), + 'prefix_after' => _x( 'after', 'time ago', 'ayecode-connect' ) . ' ', 'suffix_after' => '', - 'seconds' => _x( 'less than a minute', 'time ago', 'aui' ), - 'minute' => _x( 'about a minute', 'time ago', 'aui' ), - 'minutes' => _x( '%d minutes', 'time ago', 'aui' ), - 'hour' => _x( 'about an hour', 'time ago', 'aui' ), - 'hours' => _x( 'about %d hours', 'time ago', 'aui' ), - 'day' => _x( 'a day', 'time ago', 'aui' ), - 'days' => _x( '%d days', 'time ago', 'aui' ), - 'month' => _x( 'about a month', 'time ago', 'aui' ), - 'months' => _x( '%d months', 'time ago', 'aui' ), - 'year' => _x( 'about a year', 'time ago', 'aui' ), - 'years' => _x( '%d years', 'time ago', 'aui' ), + 'seconds' => _x( 'less than a minute', 'time ago', 'ayecode-connect' ), + 'minute' => _x( 'about a minute', 'time ago', 'ayecode-connect' ), + 'minutes' => _x( '%d minutes', 'time ago', 'ayecode-connect' ), + 'hour' => _x( 'about an hour', 'time ago', 'ayecode-connect' ), + 'hours' => _x( 'about %d hours', 'time ago', 'ayecode-connect' ), + 'day' => _x( 'a day', 'time ago', 'ayecode-connect' ), + 'days' => _x( '%d days', 'time ago', 'ayecode-connect' ), + 'month' => _x( 'about a month', 'time ago', 'ayecode-connect' ), + 'months' => _x( '%d months', 'time ago', 'ayecode-connect' ), + 'year' => _x( 'about a year', 'time ago', 'ayecode-connect' ), + 'years' => _x( '%d years', 'time ago', 'ayecode-connect' ), ); $params = apply_filters( 'ayecode_ui_timeago_params', $params ); diff --git a/vendor/ayecode/wp-ayecode-ui/includes/components/class-aui-component-pagination.php b/vendor/ayecode/wp-ayecode-ui/includes/components/class-aui-component-pagination.php index da9feebae..75ebc2f8d 100644 --- a/vendor/ayecode/wp-ayecode-ui/includes/components/class-aui-component-pagination.php +++ b/vendor/ayecode/wp-ayecode-ui/includes/components/class-aui-component-pagination.php @@ -26,7 +26,7 @@ public static function get( $args = array() ) { 'mid_size' => 2, 'prev_text' => '', 'next_text' => '', - 'screen_reader_text' => __( 'Posts navigation','aui' ), + 'screen_reader_text' => __( 'Posts navigation', 'ayecode-connect' ), 'before_paging' => '', 'after_paging' => '', 'type' => 'array', diff --git a/vendor/ayecode/wp-deactivation-survey/change-log.txt b/vendor/ayecode/wp-deactivation-survey/change-log.txt index d34f8f0c2..5be79f31b 100644 --- a/vendor/ayecode/wp-deactivation-survey/change-log.txt +++ b/vendor/ayecode/wp-deactivation-survey/change-log.txt @@ -1,3 +1,6 @@ += 1.0.7 - 2023-12-14 = +* Update textdomain - CHANGED + = 1.0.6 = * changed remodal data attribute which was causing issue with shareaholic plugin - CHANGED diff --git a/vendor/ayecode/wp-deactivation-survey/plugin.php b/vendor/ayecode/wp-deactivation-survey/plugin.php index ae4a329fc..2210b669b 100644 --- a/vendor/ayecode/wp-deactivation-survey/plugin.php +++ b/vendor/ayecode/wp-deactivation-survey/plugin.php @@ -5,7 +5,7 @@ * @wordpress-plugin * Plugin Name: AyeCode Deactivation Survey Testing * Description: If you see this as a plugin something has gone wrong. - * Version: 1.0.5 + * Version: 1.0.7 * Author: AyeCode * Author URI: https://ayecode.io * Text Domain: ayecode-ds diff --git a/vendor/ayecode/wp-deactivation-survey/wp-deactivation-survey.php b/vendor/ayecode/wp-deactivation-survey/wp-deactivation-survey.php index de7f6861f..42d76e5d6 100644 --- a/vendor/ayecode/wp-deactivation-survey/wp-deactivation-survey.php +++ b/vendor/ayecode/wp-deactivation-survey/wp-deactivation-survey.php @@ -19,7 +19,7 @@ class AyeCode_Deactivation_Survey { public static $plugins; - public $version = "1.0.6"; + public $version = "1.0.7"; public static function instance( $plugin = array() ) { if ( ! isset( self::$instance ) && ! ( self::$instance instanceof AyeCode_Deactivation_Survey ) ) { @@ -55,19 +55,19 @@ public function scripts() { * We deliberately don't add textdomains here so that double textdomain warning is not given in theme review. */ wp_localize_script('ayecode-deactivation-survey', 'ayecodeds_deactivate_feedback_form_strings', array( - 'quick_feedback' => 'Quick Feedback', - 'foreword' => 'If you would be kind enough, please tell us why you\'re deactivating?', - 'better_plugins_name' => 'Please tell us which plugin?', - 'please_tell_us' => 'Please tell us the reason so we can improve the plugin', - 'do_not_attach_email' => 'Do not send my e-mail address with this feedback', - 'brief_description' => 'Please give us any feedback that could help us improve', - 'cancel' => 'Cancel', - 'skip_and_deactivate' => 'Skip & Deactivate', - 'submit_and_deactivate' => 'Submit & Deactivate', - 'please_wait' => 'Please wait', - 'get_support' => 'Get Support', - 'documentation' => 'Documentation', - 'thank_you' => 'Thank you!', + 'quick_feedback' => __( 'Quick Feedback', 'ayecode-connect' ), + 'foreword' => __( 'If you would be kind enough, please tell us why you\'re deactivating?', 'ayecode-connect' ), + 'better_plugins_name' => __( 'Please tell us which plugin?', 'ayecode-connect' ), + 'please_tell_us' => __( 'Please tell us the reason so we can improve the plugin', 'ayecode-connect' ), + 'do_not_attach_email' => __( 'Do not send my e-mail address with this feedback', 'ayecode-connect' ), + 'brief_description' => __( 'Please give us any feedback that could help us improve', 'ayecode-connect' ), + 'cancel' => __( 'Cancel', 'ayecode-connect' ), + 'skip_and_deactivate' => __( 'Skip & Deactivate', 'ayecode-connect' ), + 'submit_and_deactivate' => __( 'Submit & Deactivate', 'ayecode-connect' ), + 'please_wait' => __( 'Please wait', 'ayecode-connect' ), + 'get_support' => __( 'Get Support', 'ayecode-connect' ), + 'documentation' => __( 'Documentation', 'ayecode-connect' ), + 'thank_you' => __( 'Thank you!', 'ayecode-connect' ), )); // Plugins @@ -75,29 +75,25 @@ public function scripts() { // Reasons $defaultReasons = array( - 'suddenly-stopped-working' => 'The plugin suddenly stopped working', - 'plugin-broke-site' => 'The plugin broke my site', - 'plugin-setup-difficult' => 'Too difficult to setup', - 'plugin-design-difficult' => 'Too difficult to get the design i want', - 'no-longer-needed' => 'I don\'t need this plugin any more', - 'found-better-plugin' => 'I found a better plugin', - 'temporary-deactivation' => 'It\'s a temporary deactivation, I\'m troubleshooting', - 'other' => 'Other', + 'suddenly-stopped-working' => __( 'The plugin suddenly stopped working', 'ayecode-connect' ), + 'plugin-broke-site' => __( 'The plugin broke my site', 'ayecode-connect' ), + 'plugin-setup-difficult' => __( 'Too difficult to setup', 'ayecode-connect' ), + 'plugin-design-difficult' => __( 'Too difficult to get the design i want', 'ayecode-connect' ), + 'no-longer-needed' => __( 'I don\'t need this plugin any more', 'ayecode-connect' ), + 'found-better-plugin' => __( 'I found a better plugin', 'ayecode-connect' ), + 'temporary-deactivation' => __( 'It\'s a temporary deactivation, I\'m troubleshooting', 'ayecode-connect' ), + 'other' => __( 'Other', 'ayecode-connect' ), ); - foreach($plugins as $plugin) - { - $plugin->reasons = apply_filters('ayecode_deactivation_survey_reasons', $defaultReasons, $plugin); + foreach( $plugins as $plugin ) { + $plugin->reasons = apply_filters( 'ayecode_deactivation_survey_reasons', $defaultReasons, $plugin ); $plugin->url = home_url(); $plugin->activated = 0; } // Send plugin data wp_localize_script('ayecode-deactivation-survey', 'ayecodeds_deactivate_feedback_form_plugins', $plugins); - } - - } } \ No newline at end of file diff --git a/vendor/ayecode/wp-font-awesome-settings/change-log.txt b/vendor/ayecode/wp-font-awesome-settings/change-log.txt new file mode 100644 index 000000000..66b0a064e --- /dev/null +++ b/vendor/ayecode/wp-font-awesome-settings/change-log.txt @@ -0,0 +1,36 @@ += 1.1.7 - 2023-12-14 = +* Update textdomain - CHANGED + += 1.1.6 = +* Calling FA in wp_footer can cause issues on frontend - REVERTED + += 1.1.5 = +* Added constant for when pro enabled - ADDED + += 1.1.3 = +* Added JS files for iconpicker and added constant for URL for AyeCode-UI - ADDED + += 1.1.2 = +* Bumped the latest version to 6.3.0 - CHANGED + += 1.1.1 = +* Requires to re-save settings to load locally when option does not exists - FIXED + += 1.1.0 = +* Option added to load FontAwesome locally + += 1.0.15 = +* Font Awesome will now load in the FSE if enable din the backend + += 1.0.14 = +* Warning added for v6 pro requires kit and will now not work if official FA plugin installed + += 1.0.13 = +* RTL language support added + += 1.0.11 = +* Font Awesome Pro now supported +* Font Awesome Kits now supported + += 1.0.10 = +* Now able to pass wp.org theme check diff --git a/vendor/ayecode/wp-font-awesome-settings/wp-font-awesome-settings.php b/vendor/ayecode/wp-font-awesome-settings/wp-font-awesome-settings.php index 9809993f1..830b6022b 100644 --- a/vendor/ayecode/wp-font-awesome-settings/wp-font-awesome-settings.php +++ b/vendor/ayecode/wp-font-awesome-settings/wp-font-awesome-settings.php @@ -25,20 +25,6 @@ * A Class to be able to change settings for Font Awesome. * * Class WP_Font_Awesome_Settings - * @since 1.0.10 Now able to pass wp.org theme check. - * @since 1.0.11 Font Awesome Pro now supported. - * @since 1.0.11 Font Awesome Kits now supported. - * @since 1.0.13 RTL language support added. - * @since 1.0.14 Warning added for v6 pro requires kit and will now not work if official FA plugin installed. - * @since 1.0.15 Font Awesome will now load in the FSE if enable din the backend. - * @since 1.1.0 Option added to load FontAwesome locally. - * @since 1.1.1 Requires to re-save settings to load locally when option does not exists - FIXED. - * @since 1.1.2 Bumped the latest version to 6.3.0 - CHANGED. - * @since 1.1.3 Added JS files for iconpicker and added constant for URL for AyeCode-UI - ADDED. - * @since 1.1.5 Added constant for when pro enabled - ADDED. - * @since 1.1.6 Calling FA in wp_footer can cause issues on frontend - REVERTED - * @ver 1.1.6 - * @todo decide how to implement textdomain */ class WP_Font_Awesome_Settings { @@ -47,7 +33,7 @@ class WP_Font_Awesome_Settings { * * @var string */ - public $version = '1.1.6'; + public $version = '1.1.7'; /** * Class textdomain. @@ -175,23 +161,27 @@ public function init() { $this->settings = $this->get_settings(); - // check if the official plugin is active and use that instead if so. + // Check if the official plugin is active and use that instead if so. if ( ! defined( 'FONTAWESOME_PLUGIN_FILE' ) ) { + if ( $this->settings['enqueue'] == '' || $this->settings['enqueue'] == 'backend' ) { + add_action( 'admin_head', array( $this, 'add_generator' ), 99 ); + } - if ( $this->settings['type'] == 'CSS' ) { + if ( $this->settings['enqueue'] == '' || $this->settings['enqueue'] == 'frontend' ) { + add_action( 'wp_head', array( $this, 'add_generator' ), 99 ); + } + if ( $this->settings['type'] == 'CSS' ) { if ( $this->settings['enqueue'] == '' || $this->settings['enqueue'] == 'frontend' ) { add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_style' ), 5000 ); -// add_action( 'wp_footer', array( $this, 'enqueue_style' ), 5000 ); // not sure why this was added, seems to break frontend + //add_action( 'wp_footer', array( $this, 'enqueue_style' ), 5000 ); // not sure why this was added, seems to break frontend } if ( $this->settings['enqueue'] == '' || $this->settings['enqueue'] == 'backend' ) { add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_style' ), 5000 ); add_filter( 'block_editor_settings_all', array( $this, 'enqueue_editor_styles' ), 10, 2 ); } - } else { - if ( $this->settings['enqueue'] == '' || $this->settings['enqueue'] == 'frontend' ) { add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ), 5000 ); } @@ -421,7 +411,7 @@ public function get_settings() { */ public function settings_page() { if ( ! current_user_can( 'manage_options' ) ) { - wp_die( __( 'You do not have sufficient permissions to access this page.', 'font-awesome-settings' ) ); + wp_die( __( 'You do not have sufficient permissions to access this page.', 'ayecode-connect' ) ); } // a hidden way to force the update of the version number via api instead of waiting the 48 hours @@ -468,30 +458,30 @@ public function settings_page() { ?> settings['type'] != 'KIT' && ! empty( $this->settings['local'] ) && empty( $this->settings['pro'] ) ) { ?> has_local() ) { ?> -

+

-

+

- + - + - + - + + for="wpfas-pro"> - + + for="wpfas-dequeue"> @@ -599,12 +589,12 @@ public function settings_page() { -

+

-
version ); ?>
+
version ); ?>
-

+

-

","" ); ?>

+

","" ); ?>

download_package( $version, $value ); if ( is_wp_error( $response ) ) { - add_settings_error( 'general', 'fontawesome_download', __( 'ERROR:', 'font-awesome-settings' ) . ' ' . $response->get_error_message(), 'error' ); + add_settings_error( 'general', 'fontawesome_download', __( 'ERROR:', 'ayecode-connect' ) . ' ' . $response->get_error_message(), 'error' ); } } } @@ -780,7 +770,7 @@ public function update_option_wp_font_awesome_settings( $old_value, $new_value ) $response = $this->download_package( $new_version, $new_value ); if ( is_wp_error( $response ) ) { - add_settings_error( 'general', 'fontawesome_download', __( 'ERROR:', 'font-awesome-settings' ) . ' ' . $response->get_error_message(), 'error' ); + add_settings_error( 'general', 'fontawesome_download', __( 'ERROR:', 'ayecode-connect' ) . ' ' . $response->get_error_message(), 'error' ); } } } @@ -893,9 +883,9 @@ public function download_package( $version, $option = array() ) { $download_file = download_url( esc_url_raw( $url ) ); if ( is_wp_error( $download_file ) ) { - return new WP_Error( 'fontawesome_download_failed', __( $download_file->get_error_message(), 'font-awesome-settings' ) ); + return new WP_Error( 'fontawesome_download_failed', __( $download_file->get_error_message(), 'ayecode-connect' ) ); } else if ( empty( $download_file ) ) { - return new WP_Error( 'fontawesome_download_failed', __( 'Something went wrong in downloading the font awesome to store locally.', 'font-awesome-settings' ) ); + return new WP_Error( 'fontawesome_download_failed', __( 'Something went wrong in downloading the font awesome to store locally.', 'ayecode-connect' ) ); } $response = $this->extract_package( $download_file, $filename, true ); @@ -937,9 +927,9 @@ public function extract_package( $package, $dirname = '', $delete_package = fals $wp_filesystem = $this->get_wp_filesystem(); if ( empty( $wp_filesystem ) && isset( $wp_filesystem->errors ) && is_wp_error( $wp_filesystem->errors ) && $wp_filesystem->errors->get_error_code() ) { - return new WP_Error( 'fontawesome_filesystem_error', __( $wp_filesystem->errors->get_error_message(), 'font-awesome-settings' ) ); + return new WP_Error( 'fontawesome_filesystem_error', __( $wp_filesystem->errors->get_error_message(), 'ayecode-connect' ) ); } else if ( empty( $wp_filesystem ) ) { - return new WP_Error( 'fontawesome_filesystem_error', __( 'Failed to initialise WP_Filesystem while trying to download the Font Awesome package.', 'font-awesome-settings' ) ); + return new WP_Error( 'fontawesome_filesystem_error', __( 'Failed to initialise WP_Filesystem while trying to download the Font Awesome package.', 'ayecode-connect' ) ); } $fonts_dir = $this->get_fonts_dir(); @@ -956,7 +946,7 @@ public function extract_package( $package, $dirname = '', $delete_package = fals $wp_filesystem->delete( $fonts_tmp_dir, true ); if ( 'incompatible_archive' === $result->get_error_code() ) { - return new WP_Error( 'fontawesome_incompatible_archive', __( $result->get_error_message(), 'font-awesome-settings' ) ); + return new WP_Error( 'fontawesome_incompatible_archive', __( $result->get_error_message(), 'ayecode-connect' ) ); } return $result; @@ -975,7 +965,7 @@ public function extract_package( $package, $dirname = '', $delete_package = fals try { $return = $wp_filesystem->move( $extract_dir, $fonts_dir, true ); } catch ( Exception $e ) { - $return = new WP_Error( 'fontawesome_move_package', __( 'Fail to move font awesome package!', 'font-awesome-settings' ) ); + $return = new WP_Error( 'fontawesome_move_package', __( 'Fail to move font awesome package!', 'ayecode-connect' ) ); } if ( $wp_filesystem->is_dir( $fonts_tmp_dir ) ) { @@ -989,6 +979,28 @@ public function extract_package( $package, $dirname = '', $delete_package = fals return $return; } + + /** + * Output the version in the header. + */ + public function add_generator() { + $file = str_replace( array( "/", "\\" ), "/", realpath( __FILE__ ) ); + $plugins_dir = str_replace( array( "/", "\\" ), "/", realpath( WP_PLUGIN_DIR ) ); + + // Find source plugin/theme. + $source = array(); + if ( strpos( $file, $plugins_dir ) !== false ) { + $source = explode( "/", plugin_basename( $file ) ); + } else if ( function_exists( 'get_theme_root' ) ) { + $themes_dir = str_replace( array( "/", "\\" ), "/", realpath( get_theme_root() ) ); + + if ( strpos( $file, $themes_dir ) !== false ) { + $source = explode( "/", ltrim( str_replace( $themes_dir, "", $file ), "/" ) ); + } + } + + echo ''; + } } /** diff --git a/vendor/ayecode/wp-super-duper/change-log.txt b/vendor/ayecode/wp-super-duper/change-log.txt index 14860b629..7bec4c415 100644 --- a/vendor/ayecode/wp-super-duper/change-log.txt +++ b/vendor/ayecode/wp-super-duper/change-log.txt @@ -1,3 +1,8 @@ += 1.1.32 - 2023-12-14 = +* Update textdomain - CHANGED +* Escape placeholder t o prevent JS error - FIXED +* Site editor sidebar navigation auto closed - FIXED + = 1.1.31 = * Detect Bricks builder preview - ADDED diff --git a/vendor/ayecode/wp-super-duper/hello-world.php b/vendor/ayecode/wp-super-duper/hello-world.php index 2bfcab706..4fac38c10 100644 --- a/vendor/ayecode/wp-super-duper/hello-world.php +++ b/vendor/ayecode/wp-super-duper/hello-world.php @@ -23,7 +23,7 @@ public function __construct() { 'block-output' => array( // the block visual output elements as an array array( 'element' => 'p', - 'title' => __( 'Placeholder', 'hello-world' ), + 'title' => __( 'Placeholder', 'ayecode-connect' ), 'class' => '[%className%]', 'content' => 'Hello: [%after_text%]' // block properties can be added by wrapping them in [%name%] ) @@ -33,20 +33,20 @@ public function __construct() { // The calling class name 'base_id' => 'hello_world', // this is used as the widget id and the shortcode id. - 'name' => __( 'Hello World', 'hello-world' ), + 'name' => __( 'Hello World', 'ayecode-connect' ), // the name of the widget/block 'widget_ops' => array( 'classname' => 'hello-world-class', // widget class - 'description' => esc_html__( 'This is an example that will take a text parameter and output it after `Hello:`.', 'hello-world' ), + 'description' => esc_html__( 'This is an example that will take a text parameter and output it after `Hello:`.', 'ayecode-connect' ), // widget description ), 'no_wrap' => true, // This will prevent the widget being wrapped in the containing widget class div. 'arguments' => array( // these are the arguments that will be used in the widget, shortcode and block settings. 'after_text' => array( // this is the input name='' - 'title' => __( 'Text after hello:', 'hello-world' ), + 'title' => __( 'Text after hello:', 'ayecode-connect' ), // input title - 'desc' => __( 'This is the text that will appear after `Hello:`.', 'hello-world' ), + 'desc' => __( 'This is the text that will appear after `Hello:`.', 'ayecode-connect' ), // input description 'type' => 'text', // the type of input, test, select, checkbox etc. @@ -116,8 +116,8 @@ function _my_extra_arguments( $options ) { */ $options['arguments']['another_input'] = array( 'name' => 'another_input', // this is the input name='' - 'title' => __( 'Another input:', 'hello-world' ), // input title - 'desc' => __( 'This is an input added via filter.', 'hello-world' ), // input description + 'title' => __( 'Another input:', 'ayecode-connect' ), // input title + 'desc' => __( 'This is an input added via filter.', 'ayecode-connect' ), // input description 'type' => 'text', // the type of input, test, select, checkbox etc. 'placeholder' => 'Placeholder text', // the input placeholder text. 'desc_tip' => true, // if the input should show the widget description text as a tooltip. diff --git a/vendor/ayecode/wp-super-duper/map.php b/vendor/ayecode/wp-super-duper/map.php index c96268e54..0b99e5e78 100644 --- a/vendor/ayecode/wp-super-duper/map.php +++ b/vendor/ayecode/wp-super-duper/map.php @@ -22,13 +22,13 @@ public function __construct() { 'block-output' => array( // the block visual output elements as an array array( 'element' => 'p', - 'content' => __('A Google API key is required to use this block, we recommend installing our plugin which makes it easy and sets it globally, or you can set a key in the block settings sidebar: ','super-duper'), + 'content' => __('A Google API key is required to use this block, we recommend installing our plugin which makes it easy and sets it globally, or you can set a key in the block settings sidebar: ', 'ayecode-connect' ), //'element_require' => '"1"=='.get_option( 'rgmk_google_map_api_key', '"0"') ? '"0"' : '"1"', 'element_require' => get_option( 'rgmk_google_map_api_key', false) ? '1==0' : '1==1 && [%api_key%]==""', ), array( 'element' => 'a', - 'content' => __('API KEY for Google Maps','super-duper'), + 'content' => __('API KEY for Google Maps', 'ayecode-connect' ), 'element_require' => get_option( 'rgmk_google_map_api_key', false) ? '1==0' : '1==1 && [%api_key%]==""', 'href' => 'https://wordpress.org/plugins/api-key-for-google-maps/', ), @@ -45,7 +45,7 @@ public function __construct() { 'style' => '{overflow:"hidden", position:"relative"}', array( 'element' => 'iframe', - 'title' => __( 'Placeholderx', 'super-duper' ), + 'title' => __( 'Placeholderx', 'ayecode-connect' ), 'class' => '[%className%]', 'width' => '[%width%]', 'height' => '[%height%]', @@ -58,7 +58,7 @@ public function __construct() { ), array( 'element' => 'style', - 'content' => '.sd-map-iframe-cover:hover:before {background: #4a4a4a88; content: "'.__("Click here, Settings are in the block settings sidebar","super-duper").'";} .sd-map-iframe-cover:before{cursor: pointer; content: ""; width: 100%; height: 100%; position: absolute; top: 0; bottom: 0;padding-top: 33%; text-align: center; color: #fff; font-size: 20px; font-weight: bold;}', + 'content' => '.sd-map-iframe-cover:hover:before {background: #4a4a4a88; content: "'.__( 'Click here, Settings are in the block settings sidebar', 'ayecode-connect' ).'";} .sd-map-iframe-cover:before{cursor: pointer; content: ""; width: 100%; height: 100%; position: absolute; top: 0; bottom: 0;padding-top: 33%; text-align: center; color: #fff; font-size: 20px; font-weight: bold;}', 'element_require' => '[%type%]!="image"', ), ), @@ -66,26 +66,26 @@ public function __construct() { // The calling class name 'base_id' => 'sd_map', // this is used as the widget id and the shortcode id. - 'name' => __( 'Map', 'super-duper' ), + 'name' => __( 'Map', 'ayecode-connect' ), // the name of the widget/block 'widget_ops' => array( 'classname' => 'sd-map-class', // widget class - 'description' => esc_html__( 'This is an example that will take a text parameter and output it after `Hello:`.', 'hello-world' ), + 'description' => esc_html__( 'This is an example that will take a text parameter and output it after `Hello:`.', 'ayecode-connect' ), // widget description ), 'arguments' => array( // these are the arguments that will be used in the widget, shortcode and block settings. 'type' => array( - 'title' => __('Map Type:', 'geodirectory'), - 'desc' => __('Select the map type to use.', 'geodirectory'), + 'title' => __('Map Type:', 'ayecode-connect'), + 'desc' => __('Select the map type to use.', 'ayecode-connect'), 'type' => 'select', 'options' => array( - "image" => __('Static Image', 'geodirectory'), - "place" => __('Place', 'geodirectory'), -// "directions" => __('Directions', 'geodirectory'), -// "search" => __('Search', 'geodirectory'), -// "view" => __('View', 'geodirectory'), -// "streetview" => __('Streetview', 'geodirectory'), + "image" => __('Static Image', 'ayecode-connect'), + "place" => __('Place', 'ayecode-connect'), +// "directions" => __('Directions', 'ayecode-connect'), +// "search" => __('Search', 'ayecode-connect'), +// "view" => __('View', 'ayecode-connect'), +// "streetview" => __('Streetview', 'ayecode-connect'), ), 'default' => 'image', 'desc_tip' => true, @@ -93,8 +93,8 @@ public function __construct() { ), 'location' => array( 'type' => 'text', - 'title' => __( 'Location:', 'geodirectory' ), - 'desc' => __( 'Enter the location to show on the map, place, city, zip code or GPS.', 'geodirectory' ), + 'title' => __( 'Location:', 'ayecode-connect' ), + 'desc' => __( 'Enter the location to show on the map, place, city, zip code or GPS.', 'ayecode-connect' ), 'placeholder' => 'Place, city, zip code or GPS', 'desc_tip' => true, 'default' => 'Ireland', @@ -102,8 +102,8 @@ public function __construct() { ), 'static_width' => array( 'type' => 'number', - 'title' => __( 'Width:', 'geodirectory' ), - 'desc' => __( 'This is the width of the map, for static maps you can only use px values.', 'geodirectory' ), + 'title' => __( 'Width:', 'ayecode-connect' ), + 'desc' => __( 'This is the width of the map, for static maps you can only use px values.', 'ayecode-connect' ), 'placeholder' => '600', 'desc_tip' => true, 'default' => '600', @@ -116,8 +116,8 @@ public function __construct() { ), 'static_height' => array( 'type' => 'number', - 'title' => __( 'Height:', 'geodirectory' ), - 'desc' => __( 'This is the height of the map, for static maps you can only use px values.', 'geodirectory' ), + 'title' => __( 'Height:', 'ayecode-connect' ), + 'desc' => __( 'This is the height of the map, for static maps you can only use px values.', 'ayecode-connect' ), 'placeholder' => '400', 'desc_tip' => true, 'default' => '400', @@ -131,8 +131,8 @@ public function __construct() { ), 'width' => array( 'type' => 'text', - 'title' => __( 'Width:', 'geodirectory' ), - 'desc' => __( 'This is the width of the map, you can use % or px here.', 'geodirectory' ), + 'title' => __( 'Width:', 'ayecode-connect' ), + 'desc' => __( 'This is the width of the map, you can use % or px here.', 'ayecode-connect' ), 'placeholder' => '100%', 'desc_tip' => true, 'default' => '100%', @@ -141,8 +141,8 @@ public function __construct() { ), 'height' => array( 'type' => 'text', - 'title' => __( 'Height:', 'geodirectory' ), - 'desc' => __( 'This is the height of the map, you can use %, px or vh here.', 'geodirectory' ), + 'title' => __( 'Height:', 'ayecode-connect' ), + 'desc' => __( 'This is the height of the map, you can use %, px or vh here.', 'ayecode-connect' ), 'placeholder' => '425px', 'desc_tip' => true, 'default' => '425px', @@ -151,13 +151,13 @@ public function __construct() { ), 'maptype' => array( 'type' => 'select', - 'title' => __( 'Mapview:', 'geodirectory' ), - 'desc' => __( 'This is the type of map view that will be used by default.', 'geodirectory' ), + 'title' => __( 'Mapview:', 'ayecode-connect' ), + 'desc' => __( 'This is the type of map view that will be used by default.', 'ayecode-connect' ), 'options' => array( - "roadmap" => __( 'Road Map', 'geodirectory' ), - "satellite" => __( 'Satellite Map', 'geodirectory' ), -// "hybrid" => __( 'Hybrid Map', 'geodirectory' ), -// "terrain" => __( 'Terrain Map', 'geodirectory' ), + "roadmap" => __( 'Road Map', 'ayecode-connect' ), + "satellite" => __( 'Satellite Map', 'ayecode-connect' ), +// "hybrid" => __( 'Hybrid Map', 'ayecode-connect' ), +// "terrain" => __( 'Terrain Map', 'ayecode-connect' ), ), 'desc_tip' => true, 'default' => 'roadmap', @@ -165,8 +165,8 @@ public function __construct() { ), 'zoom' => array( 'type' => 'select', - 'title' => __( 'Zoom level:', 'geodirectory' ), - 'desc' => __( 'This is the zoom level of the map, `auto` is recommended.', 'geodirectory' ), + 'title' => __( 'Zoom level:', 'ayecode-connect' ), + 'desc' => __( 'This is the zoom level of the map, `auto` is recommended.', 'ayecode-connect' ), 'options' => range( 1, 19 ), 'placeholder' => '', 'desc_tip' => true, @@ -175,8 +175,8 @@ public function __construct() { ), 'api_key' => array( 'type' => 'text', - 'title' => __( 'Api Key:', 'geodirectory' ), - 'desc' => __( 'This is the height of the map, you can use %, px or vh here.', 'geodirectory' ), + 'title' => __( 'Api Key:', 'ayecode-connect' ), + 'desc' => __( 'This is the height of the map, you can use %, px or vh here.', 'ayecode-connect' ), 'placeholder' => '', 'desc_tip' => true, 'default' => '', diff --git a/vendor/ayecode/wp-super-duper/sd-functions.php b/vendor/ayecode/wp-super-duper/sd-functions.php index 159f6567b..c7cc2d67a 100644 --- a/vendor/ayecode/wp-super-duper/sd-functions.php +++ b/vendor/ayecode/wp-super-duper/sd-functions.php @@ -52,8 +52,8 @@ function sd_widget_exclude() { function sd_get_margin_input( $type = 'mt', $overwrite = array(), $include_negatives = true ) { global $aui_bs5; $options = array( - '' => __( 'None', 'super-duper' ), - 'auto' => __( 'auto', 'super-duper' ), + '' => __( 'None', 'ayecode-connect' ), + 'auto' => __( 'auto', 'ayecode-connect' ), '0' => '0', '1' => '1', '2' => '2', @@ -86,37 +86,37 @@ function sd_get_margin_input( $type = 'mt', $overwrite = array(), $include_negat $defaults = array( 'type' => 'select', - 'title' => __( 'Margin top', 'super-duper' ), + 'title' => __( 'Margin top', 'ayecode-connect' ), 'options' => $options, 'default' => '', 'desc_tip' => true, - 'group' => __( 'Wrapper Styles', 'super-duper' ), + 'group' => __( 'Wrapper Styles', 'ayecode-connect' ), ); // title if ( $type == 'mt' ) { - $defaults['title'] = __( 'Margin top', 'super-duper' ); + $defaults['title'] = __( 'Margin top', 'ayecode-connect' ); $defaults['icon'] = 'box-top'; $defaults['row'] = array( - 'title' => __( 'Margins', 'super-duper' ), + 'title' => __( 'Margins', 'ayecode-connect' ), 'key' => 'wrapper-margins', 'open' => true, 'class' => 'text-center', ); } elseif ( $type == 'mr' ) { - $defaults['title'] = __( 'Margin right', 'super-duper' ); + $defaults['title'] = __( 'Margin right', 'ayecode-connect' ); $defaults['icon'] = 'box-right'; $defaults['row'] = array( 'key' => 'wrapper-margins', ); } elseif ( $type == 'mb' ) { - $defaults['title'] = __( 'Margin bottom', 'super-duper' ); + $defaults['title'] = __( 'Margin bottom', 'ayecode-connect' ); $defaults['icon'] = 'box-bottom'; $defaults['row'] = array( 'key' => 'wrapper-margins', ); } elseif ( $type == 'ml' ) { - $defaults['title'] = __( 'Margin left', 'super-duper' ); + $defaults['title'] = __( 'Margin left', 'ayecode-connect' ); $defaults['icon'] = 'box-left'; $defaults['row'] = array( 'key' => 'wrapper-margins', @@ -139,7 +139,7 @@ function sd_get_margin_input( $type = 'mt', $overwrite = array(), $include_negat */ function sd_get_padding_input( $type = 'pt', $overwrite = array() ) { $options = array( - '' => __( 'None', 'super-duper' ), + '' => __( 'None', 'ayecode-connect' ), '0' => '0', '1' => '1', '2' => '2', @@ -157,37 +157,37 @@ function sd_get_padding_input( $type = 'pt', $overwrite = array() ) { $defaults = array( 'type' => 'select', - 'title' => __( 'Padding top', 'super-duper' ), + 'title' => __( 'Padding top', 'ayecode-connect' ), 'options' => $options, 'default' => '', 'desc_tip' => true, - 'group' => __( 'Wrapper Styles', 'super-duper' ), + 'group' => __( 'Wrapper Styles', 'ayecode-connect' ), ); // title if ( $type == 'pt' ) { - $defaults['title'] = __( 'Padding top', 'super-duper' ); + $defaults['title'] = __( 'Padding top', 'ayecode-connect' ); $defaults['icon'] = 'box-top'; $defaults['row'] = array( - 'title' => __( 'Padding', 'super-duper' ), + 'title' => __( 'Padding', 'ayecode-connect' ), 'key' => 'wrapper-padding', 'open' => true, 'class' => 'text-center', ); } elseif ( $type == 'pr' ) { - $defaults['title'] = __( 'Padding right', 'super-duper' ); + $defaults['title'] = __( 'Padding right', 'ayecode-connect' ); $defaults['icon'] = 'box-right'; $defaults['row'] = array( 'key' => 'wrapper-padding', ); } elseif ( $type == 'pb' ) { - $defaults['title'] = __( 'Padding bottom', 'super-duper' ); + $defaults['title'] = __( 'Padding bottom', 'ayecode-connect' ); $defaults['icon'] = 'box-bottom'; $defaults['row'] = array( 'key' => 'wrapper-padding', ); } elseif ( $type == 'pl' ) { - $defaults['title'] = __( 'Padding left', 'super-duper' ); + $defaults['title'] = __( 'Padding left', 'ayecode-connect' ); $defaults['icon'] = 'box-left'; $defaults['row'] = array( 'key' => 'wrapper-padding', @@ -214,18 +214,18 @@ function sd_get_border_input( $type = 'border', $overwrite = array() ) { $defaults = array( 'type' => 'select', - 'title' => __( 'Border', 'super-duper' ), + 'title' => __( 'Border', 'ayecode-connect' ), 'options' => array(), 'default' => '', 'desc_tip' => true, - 'group' => __( 'Wrapper Styles', 'super-duper' ), + 'group' => __( 'Wrapper Styles', 'ayecode-connect' ), ); // title if ( 'rounded' === $type ) { - $defaults['title'] = __( 'Border radius type', 'super-duper' ); + $defaults['title'] = __( 'Border radius type', 'ayecode-connect' ); $defaults['options'] = array( - '' => __( 'Default', 'super-duper' ), + '' => __( 'Default', 'ayecode-connect' ), 'rounded' => 'rounded', 'rounded-top' => 'rounded-top', 'rounded-right' => 'rounded-right', @@ -234,11 +234,11 @@ function sd_get_border_input( $type = 'border', $overwrite = array() ) { ); $defaults['element_require'] = '[%border%]'; } elseif ( 'rounded_size' === $type ) { - $defaults['title'] = __( 'Border radius size', 'super-duper' ); + $defaults['title'] = __( 'Border radius size', 'ayecode-connect' ); if ( $aui_bs5 ) { $defaults['options'] = array( - '' => __( 'Default', 'super-duper' ), + '' => __( 'Default', 'ayecode-connect' ), '0' => '0', '1' => '1', '2' => '2', @@ -249,16 +249,16 @@ function sd_get_border_input( $type = 'border', $overwrite = array() ) { ); } else { $defaults['options'] = array( - '' => __( 'Default', 'super-duper' ), - 'sm' => __( 'Small', 'super-duper' ), - 'lg' => __( 'Large', 'super-duper' ), + '' => __( 'Default', 'ayecode-connect' ), + 'sm' => __( 'Small', 'ayecode-connect' ), + 'lg' => __( 'Large', 'ayecode-connect' ), ); } $defaults['element_require'] = '[%border%]'; } elseif ( 'width' === $type ) { // BS% - $defaults['title'] = __( 'Border width', 'super-duper' ); + $defaults['title'] = __( 'Border width', 'ayecode-connect' ); $defaults['options'] = array( - '' => __( 'Default', 'super-duper' ), + '' => __( 'Default', 'ayecode-connect' ), 'border-2' => '2', 'border-3' => '3', 'border-4' => '4', @@ -266,9 +266,9 @@ function sd_get_border_input( $type = 'border', $overwrite = array() ) { ); $defaults['element_require'] = $aui_bs5 ? '[%border%]' : '1==2'; } elseif ( 'opacity' === $type ) { // BS% - $defaults['title'] = __( 'Border opacity', 'super-duper' ); + $defaults['title'] = __( 'Border opacity', 'ayecode-connect' ); $defaults['options'] = array( - '' => __( 'Default', 'super-duper' ), + '' => __( 'Default', 'ayecode-connect' ), 'border-opacity-75' => '75%', 'border-opacity-50' => '50%', 'border-opacity-25' => '25%', @@ -276,25 +276,25 @@ function sd_get_border_input( $type = 'border', $overwrite = array() ) { ); $defaults['element_require'] = $aui_bs5 ? '[%border%]' : '1==2'; } elseif ( 'type' === $type ) { - $defaults['title'] = __( 'Border show', 'super-duper' ); + $defaults['title'] = __( 'Border show', 'ayecode-connect' ); $defaults['options'] = array( - 'border' => __( 'Full (set color to show)', 'super-duper' ), - 'border-top' => __( 'Top', 'super-duper' ), - 'border-bottom' => __( 'Bottom', 'super-duper' ), - 'border-left' => __( 'Left', 'super-duper' ), - 'border-right' => __( 'Right', 'super-duper' ), - 'border-top-0' => __( '-Top', 'super-duper' ), - 'border-bottom-0' => __( '-Bottom', 'super-duper' ), - 'border-left-0' => __( '-Left', 'super-duper' ), - 'border-right-0' => __( '-Right', 'super-duper' ), + 'border' => __( 'Full (set color to show)', 'ayecode-connect' ), + 'border-top' => __( 'Top', 'ayecode-connect' ), + 'border-bottom' => __( 'Bottom', 'ayecode-connect' ), + 'border-left' => __( 'Left', 'ayecode-connect' ), + 'border-right' => __( 'Right', 'ayecode-connect' ), + 'border-top-0' => __( '-Top', 'ayecode-connect' ), + 'border-bottom-0' => __( '-Bottom', 'ayecode-connect' ), + 'border-left-0' => __( '-Left', 'ayecode-connect' ), + 'border-right-0' => __( '-Right', 'ayecode-connect' ), ); $defaults['element_require'] = '[%border%]'; } else { - $defaults['title'] = __( 'Border color', 'super-duper' ); + $defaults['title'] = __( 'Border color', 'ayecode-connect' ); $defaults['options'] = array( - '' => __( 'Default', 'super-duper' ), - '0' => __( 'None', 'super-duper' ), + '' => __( 'Default', 'ayecode-connect' ), + '0' => __( 'None', 'ayecode-connect' ), ) + sd_aui_colors(); } @@ -313,19 +313,19 @@ function sd_get_border_input( $type = 'border', $overwrite = array() ) { */ function sd_get_shadow_input( $type = 'shadow', $overwrite = array() ) { $options = array( - '' => __( 'None', 'super-duper' ), - 'shadow-sm' => __( 'Small', 'super-duper' ), - 'shadow' => __( 'Regular', 'super-duper' ), - 'shadow-lg' => __( 'Large', 'super-duper' ), + '' => __( 'None', 'ayecode-connect' ), + 'shadow-sm' => __( 'Small', 'ayecode-connect' ), + 'shadow' => __( 'Regular', 'ayecode-connect' ), + 'shadow-lg' => __( 'Large', 'ayecode-connect' ), ); $defaults = array( 'type' => 'select', - 'title' => __( 'Shadow', 'super-duper' ), + 'title' => __( 'Shadow', 'ayecode-connect' ), 'options' => $options, 'default' => '', 'desc_tip' => true, - 'group' => __( 'Wrapper Styles', 'super-duper' ), + 'group' => __( 'Wrapper Styles', 'ayecode-connect' ), ); $input = wp_parse_args( $overwrite, $defaults ); @@ -343,17 +343,17 @@ function sd_get_shadow_input( $type = 'shadow', $overwrite = array() ) { */ function sd_get_background_input( $type = 'bg', $overwrite = array() ) { $options = array( - '' => __( 'None', 'super-duper' ), - 'transparent' => __( 'Transparent', 'super-duper' ), + '' => __( 'None', 'ayecode-connect' ), + 'transparent' => __( 'Transparent', 'ayecode-connect' ), ) + sd_aui_colors(); $defaults = array( 'type' => 'select', - 'title' => __( 'Background color', 'super-duper' ), + 'title' => __( 'Background color', 'ayecode-connect' ), 'options' => $options, 'default' => '', 'desc_tip' => true, - 'group' => __( 'Wrapper Styles', 'super-duper' ), + 'group' => __( 'Wrapper Styles', 'ayecode-connect' ), ); $input = wp_parse_args( $overwrite, $defaults ); @@ -371,7 +371,7 @@ function sd_get_background_input( $type = 'bg', $overwrite = array() ) { */ function sd_get_opacity_input( $type = 'opacity', $overwrite = array() ) { $options = array( - '' => __( 'Default', 'super-duper' ), + '' => __( 'Default', 'ayecode-connect' ), 'opacity-10' => '10%', 'opacity-15' => '15%', 'opacity-25' => '25%', @@ -389,11 +389,11 @@ function sd_get_opacity_input( $type = 'opacity', $overwrite = array() ) { $defaults = array( 'type' => 'select', - 'title' => __( 'Opacity', 'super-duper' ), + 'title' => __( 'Opacity', 'ayecode-connect' ), 'options' => $options, 'default' => '', 'desc_tip' => true, - 'group' => __( 'Wrapper Styles', 'super-duper' ), + 'group' => __( 'Wrapper Styles', 'ayecode-connect' ), ); $input = wp_parse_args( $overwrite, $defaults ); @@ -414,25 +414,25 @@ function sd_get_background_inputs( $type = 'bg', $overwrite = array(), $overwrit $color_options = $include_button_colors ? sd_aui_colors( false, true, true, true ) : sd_aui_colors(); $options = array( - '' => __( 'None', 'super-duper' ), - 'transparent' => __( 'Transparent', 'super-duper' ), + '' => __( 'None', 'ayecode-connect' ), + 'transparent' => __( 'Transparent', 'ayecode-connect' ), ) + $color_options; if ( false !== $overwrite_color ) { - $options['custom-color'] = __( 'Custom Color', 'super-duper' ); + $options['custom-color'] = __( 'Custom Color', 'ayecode-connect' ); } if ( false !== $overwrite_gradient ) { - $options['custom-gradient'] = __( 'Custom Gradient', 'super-duper' ); + $options['custom-gradient'] = __( 'Custom Gradient', 'ayecode-connect' ); } $defaults = array( 'type' => 'select', - 'title' => __( 'Background Color', 'super-duper' ), + 'title' => __( 'Background Color', 'ayecode-connect' ), 'options' => $options, 'default' => '', 'desc_tip' => true, - 'group' => __( 'Background', 'super-duper' ), + 'group' => __( 'Background', 'ayecode-connect' ), ); if ( $overwrite !== false ) { @@ -444,11 +444,11 @@ function sd_get_background_inputs( $type = 'bg', $overwrite = array(), $overwrit $overwrite_color, array( 'type' => 'color', - 'title' => __( 'Custom color', 'super-duper' ), + 'title' => __( 'Custom color', 'ayecode-connect' ), 'placeholder' => '', 'default' => '#0073aa', 'desc_tip' => true, - 'group' => __( 'Background', 'super-duper' ), + 'group' => __( 'Background', 'ayecode-connect' ), 'element_require' => '[%' . $type . '%]=="custom-color"', ) ); @@ -459,11 +459,11 @@ function sd_get_background_inputs( $type = 'bg', $overwrite = array(), $overwrit $overwrite_gradient, array( 'type' => 'gradient', - 'title' => __( 'Custom gradient', 'super-duper' ), + 'title' => __( 'Custom gradient', 'ayecode-connect' ), 'placeholder' => '', 'default' => 'linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)', 'desc_tip' => true, - 'group' => __( 'Background', 'super-duper' ), + 'group' => __( 'Background', 'ayecode-connect' ), 'element_require' => '[%' . $type . '%]=="custom-gradient"', ) ); @@ -473,20 +473,20 @@ function sd_get_background_inputs( $type = 'bg', $overwrite = array(), $overwrit $input[ $type . '_image_fixed' ] = array( 'type' => 'checkbox', - 'title' => __( 'Fixed background', 'super-duper' ), + 'title' => __( 'Fixed background', 'ayecode-connect' ), 'default' => '', 'desc_tip' => true, - 'group' => ! empty( $overwrite_image['group'] ) ? $overwrite_image['group'] : __( 'Background', 'super-duper' ), + 'group' => ! empty( $overwrite_image['group'] ) ? $overwrite_image['group'] : __( 'Background', 'ayecode-connect' ), 'element_require' => '( [%' . $type . '%]=="" || [%' . $type . '%]=="custom-color" || [%' . $type . '%]=="custom-gradient" || [%' . $type . '%]=="transparent" )', ); $input[ $type . '_image_use_featured' ] = array( 'type' => 'checkbox', - 'title' => __( 'Use featured image', 'super-duper' ), + 'title' => __( 'Use featured image', 'ayecode-connect' ), 'default' => '', 'desc_tip' => true, - 'group' => ! empty( $overwrite_image['group'] ) ? $overwrite_image['group'] : __( 'Background', 'super-duper' ), + 'group' => ! empty( $overwrite_image['group'] ) ? $overwrite_image['group'] : __( 'Background', 'ayecode-connect' ), 'element_require' => '( [%' . $type . '%]=="" || [%' . $type . '%]=="custom-color" || [%' . $type . '%]=="custom-gradient" || [%' . $type . '%]=="transparent" )', ); @@ -495,11 +495,11 @@ function sd_get_background_inputs( $type = 'bg', $overwrite = array(), $overwrit $overwrite_image, array( 'type' => 'image', - 'title' => __( 'Custom image', 'super-duper' ), + 'title' => __( 'Custom image', 'ayecode-connect' ), 'placeholder' => '', 'default' => '', 'desc_tip' => true, - 'group' => __( 'Background', 'super-duper' ), + 'group' => __( 'Background', 'ayecode-connect' ), // 'element_require' => ' ![%' . $type . '_image_use_featured%] ' ) ); @@ -512,7 +512,7 @@ function sd_get_background_inputs( $type = 'bg', $overwrite = array(), $overwrit 'title' => '', 'placeholder' => '', 'default' => '', - 'group' => __( 'Background', 'super-duper' ), + 'group' => __( 'Background', 'ayecode-connect' ), ) ); @@ -523,7 +523,7 @@ function sd_get_background_inputs( $type = 'bg', $overwrite = array(), $overwrit 'title' => '', 'placeholder' => '', 'default' => '', - 'group' => __( 'Background', 'super-duper' ), + 'group' => __( 'Background', 'ayecode-connect' ), ) ); } @@ -542,43 +542,43 @@ function sd_get_background_inputs( $type = 'bg', $overwrite = array(), $overwrit function sd_get_shape_divider_inputs( $type = 'sd', $overwrite = array(), $overwrite_color = array(), $overwrite_gradient = array(), $overwrite_image = array() ) { $options = array( - '' => __( 'None', 'super-duper' ), - 'mountains' => __( 'Mountains', 'super-duper' ), - 'drops' => __( 'Drops', 'super-duper' ), - 'clouds' => __( 'Clouds', 'super-duper' ), - 'zigzag' => __( 'Zigzag', 'super-duper' ), - 'pyramids' => __( 'Pyramids', 'super-duper' ), - 'triangle' => __( 'Triangle', 'super-duper' ), - 'triangle-asymmetrical' => __( 'Triangle Asymmetrical', 'super-duper' ), - 'tilt' => __( 'Tilt', 'super-duper' ), - 'opacity-tilt' => __( 'Opacity Tilt', 'super-duper' ), - 'opacity-fan' => __( 'Opacity Fan', 'super-duper' ), - 'curve' => __( 'Curve', 'super-duper' ), - 'curve-asymmetrical' => __( 'Curve Asymmetrical', 'super-duper' ), - 'waves' => __( 'Waves', 'super-duper' ), - 'wave-brush' => __( 'Wave Brush', 'super-duper' ), - 'waves-pattern' => __( 'Waves Pattern', 'super-duper' ), - 'arrow' => __( 'Arrow', 'super-duper' ), - 'split' => __( 'Split', 'super-duper' ), - 'book' => __( 'Book', 'super-duper' ), + '' => __( 'None', 'ayecode-connect' ), + 'mountains' => __( 'Mountains', 'ayecode-connect' ), + 'drops' => __( 'Drops', 'ayecode-connect' ), + 'clouds' => __( 'Clouds', 'ayecode-connect' ), + 'zigzag' => __( 'Zigzag', 'ayecode-connect' ), + 'pyramids' => __( 'Pyramids', 'ayecode-connect' ), + 'triangle' => __( 'Triangle', 'ayecode-connect' ), + 'triangle-asymmetrical' => __( 'Triangle Asymmetrical', 'ayecode-connect' ), + 'tilt' => __( 'Tilt', 'ayecode-connect' ), + 'opacity-tilt' => __( 'Opacity Tilt', 'ayecode-connect' ), + 'opacity-fan' => __( 'Opacity Fan', 'ayecode-connect' ), + 'curve' => __( 'Curve', 'ayecode-connect' ), + 'curve-asymmetrical' => __( 'Curve Asymmetrical', 'ayecode-connect' ), + 'waves' => __( 'Waves', 'ayecode-connect' ), + 'wave-brush' => __( 'Wave Brush', 'ayecode-connect' ), + 'waves-pattern' => __( 'Waves Pattern', 'ayecode-connect' ), + 'arrow' => __( 'Arrow', 'ayecode-connect' ), + 'split' => __( 'Split', 'ayecode-connect' ), + 'book' => __( 'Book', 'ayecode-connect' ), ); $defaults = array( 'type' => 'select', - 'title' => __( 'Type', 'super-duper' ), + 'title' => __( 'Type', 'ayecode-connect' ), 'options' => $options, 'default' => '', 'desc_tip' => true, - 'group' => __( 'Shape Divider', 'super-duper' ), + 'group' => __( 'Shape Divider', 'ayecode-connect' ), ); $input[ $type ] = wp_parse_args( $overwrite, $defaults ); $input[ $type . '_notice' ] = array( 'type' => 'notice', - 'desc' => __( 'Parent element must be position `relative`', 'super-duper' ), + 'desc' => __( 'Parent element must be position `relative`', 'ayecode-connect' ), 'status' => 'warning', - 'group' => __( 'Shape Divider', 'super-duper' ), + 'group' => __( 'Shape Divider', 'ayecode-connect' ), 'element_require' => '[%' . $type . '%]!=""', ); @@ -586,33 +586,33 @@ function sd_get_shape_divider_inputs( $type = 'sd', $overwrite = array(), $overw $overwrite_color, array( 'type' => 'select', - 'title' => __( 'Position', 'super-duper' ), + 'title' => __( 'Position', 'ayecode-connect' ), 'options' => array( - 'top' => __( 'Top', 'super-duper' ), - 'bottom' => __( 'Bottom', 'super-duper' ), + 'top' => __( 'Top', 'ayecode-connect' ), + 'bottom' => __( 'Bottom', 'ayecode-connect' ), ), 'desc_tip' => true, - 'group' => __( 'Shape Divider', 'super-duper' ), + 'group' => __( 'Shape Divider', 'ayecode-connect' ), 'element_require' => '[%' . $type . '%]!=""', ) ); $options = array( - '' => __( 'None', 'super-duper' ), - 'transparent' => __( 'Transparent', 'super-duper' ), + '' => __( 'None', 'ayecode-connect' ), + 'transparent' => __( 'Transparent', 'ayecode-connect' ), ) + sd_aui_colors() + array( - 'custom-color' => __( 'Custom Color', 'super-duper' ), + 'custom-color' => __( 'Custom Color', 'ayecode-connect' ), ); $input[ $type . '_color' ] = wp_parse_args( $overwrite_color, array( 'type' => 'select', - 'title' => __( 'Color', 'super-duper' ), + 'title' => __( 'Color', 'ayecode-connect' ), 'options' => $options, 'desc_tip' => true, - 'group' => __( 'Shape Divider', 'super-duper' ), + 'group' => __( 'Shape Divider', 'ayecode-connect' ), 'element_require' => '[%' . $type . '%]!=""', ) ); @@ -621,11 +621,11 @@ function sd_get_shape_divider_inputs( $type = 'sd', $overwrite = array(), $overw $overwrite_color, array( 'type' => 'color', - 'title' => __( 'Custom color', 'super-duper' ), + 'title' => __( 'Custom color', 'ayecode-connect' ), 'placeholder' => '', 'default' => '#0073aa', 'desc_tip' => true, - 'group' => __( 'Shape Divider', 'super-duper' ), + 'group' => __( 'Shape Divider', 'ayecode-connect' ), 'element_require' => '[%' . $type . '_color%]=="custom-color" && [%' . $type . '%]!=""', ) ); @@ -634,7 +634,7 @@ function sd_get_shape_divider_inputs( $type = 'sd', $overwrite = array(), $overw $overwrite_gradient, array( 'type' => 'range', - 'title' => __( 'Width', 'super-duper' ), + 'title' => __( 'Width', 'ayecode-connect' ), 'placeholder' => '', 'default' => '200', 'desc_tip' => true, @@ -642,21 +642,21 @@ function sd_get_shape_divider_inputs( $type = 'sd', $overwrite = array(), $overw 'min' => 100, 'max' => 300, ), - 'group' => __( 'Shape Divider', 'super-duper' ), + 'group' => __( 'Shape Divider', 'ayecode-connect' ), 'element_require' => '[%' . $type . '%]!=""', ) ); $input[ $type . '_height' ] = array( 'type' => 'range', - 'title' => __( 'Height', 'super-duper' ), + 'title' => __( 'Height', 'ayecode-connect' ), 'default' => '100', 'desc_tip' => true, 'custom_attributes' => array( 'min' => 0, 'max' => 500, ), - 'group' => __( 'Shape Divider', 'super-duper' ), + 'group' => __( 'Shape Divider', 'ayecode-connect' ), 'element_require' => '[%' . $type . '%]!=""', ); @@ -683,28 +683,28 @@ function sd_get_shape_divider_inputs( $type = 'sd', $overwrite = array(), $overw $input[ $type . '_flip' ] = array( 'type' => 'checkbox', - 'title' => __( 'Flip', 'super-duper' ), + 'title' => __( 'Flip', 'ayecode-connect' ), 'default' => '', 'desc_tip' => true, - 'group' => __( 'Shape Divider', 'super-duper' ), + 'group' => __( 'Shape Divider', 'ayecode-connect' ), 'element_require' => sd_get_element_require_string( $requires, 'flip', 'sd' ), ); $input[ $type . '_invert' ] = array( 'type' => 'checkbox', - 'title' => __( 'Invert', 'super-duper' ), + 'title' => __( 'Invert', 'ayecode-connect' ), 'default' => '', 'desc_tip' => true, - 'group' => __( 'Shape Divider', 'super-duper' ), + 'group' => __( 'Shape Divider', 'ayecode-connect' ), 'element_require' => sd_get_element_require_string( $requires, 'invert', 'sd' ), ); $input[ $type . '_btf' ] = array( 'type' => 'checkbox', - 'title' => __( 'Bring to front', 'super-duper' ), + 'title' => __( 'Bring to front', 'ayecode-connect' ), 'default' => '', 'desc_tip' => true, - 'group' => __( 'Shape Divider', 'super-duper' ), + 'group' => __( 'Shape Divider', 'ayecode-connect' ), 'element_require' => '[%' . $type . '%]!=""', ); @@ -750,20 +750,20 @@ function sd_get_element_require_string( $args, $key, $type ) { */ function sd_get_text_color_input( $type = 'text_color', $overwrite = array(), $has_custom = false ) { $options = array( - '' => __( 'None', 'super-duper' ), + '' => __( 'None', 'ayecode-connect' ), ) + sd_aui_colors(); if ( $has_custom ) { - $options['custom'] = __( 'Custom color', 'super-duper' ); + $options['custom'] = __( 'Custom color', 'ayecode-connect' ); } $defaults = array( 'type' => 'select', - 'title' => __( 'Text color', 'super-duper' ), + 'title' => __( 'Text color', 'ayecode-connect' ), 'options' => $options, 'default' => '', 'desc_tip' => true, - 'group' => __( 'Typography', 'super-duper' ), + 'group' => __( 'Typography', 'ayecode-connect' ), ); $input = wp_parse_args( $overwrite, $defaults ); @@ -798,11 +798,11 @@ function sd_get_custom_color_input( $type = 'color_custom', $overwrite = array() $defaults = array( 'type' => 'color', - 'title' => __( 'Custom color', 'super-duper' ), + 'title' => __( 'Custom color', 'ayecode-connect' ), 'default' => '', 'placeholder' => '', 'desc_tip' => true, - 'group' => __( 'Typography', 'super-duper' ), + 'group' => __( 'Typography', 'ayecode-connect' ), ); if ( $parent_type ) { @@ -833,8 +833,8 @@ function sd_get_col_input( $type = 'col', $overwrite = array() ) { } } $options = array( - '' => __( 'Default', 'super-duper' ), - 'auto' => __( 'auto', 'super-duper' ), + '' => __( 'Default', 'ayecode-connect' ), + 'auto' => __( 'auto', 'ayecode-connect' ), '1' => '1/12', '2' => '2/12', '3' => '3/12', @@ -851,11 +851,11 @@ function sd_get_col_input( $type = 'col', $overwrite = array() ) { $defaults = array( 'type' => 'select', - 'title' => __( 'Column width', 'super-duper' ), + 'title' => __( 'Column width', 'ayecode-connect' ), 'options' => $options, 'default' => '', 'desc_tip' => true, - 'group' => __( 'Container', 'super-duper' ), + 'group' => __( 'Container', 'ayecode-connect' ), 'element_require' => '[%container%]=="col"', ); @@ -883,7 +883,7 @@ function sd_get_row_cols_input( $type = 'row_cols', $overwrite = array() ) { } } $options = array( - '' => __( 'auto', 'super-duper' ), + '' => __( 'auto', 'ayecode-connect' ), '1' => '1', '2' => '2', '3' => '3', @@ -894,11 +894,11 @@ function sd_get_row_cols_input( $type = 'row_cols', $overwrite = array() ) { $defaults = array( 'type' => 'select', - 'title' => __( 'Row columns', 'super-duper' ), + 'title' => __( 'Row columns', 'ayecode-connect' ), 'options' => $options, 'default' => '', 'desc_tip' => true, - 'group' => __( 'Container', 'super-duper' ), + 'group' => __( 'Container', 'ayecode-connect' ), 'element_require' => '[%container%]=="row"', ); @@ -926,19 +926,19 @@ function sd_get_text_align_input( $type = 'text_align', $overwrite = array() ) { } } $options = array( - '' => __( 'Default', 'super-duper' ), - 'text' . $device_size . '-left' => __( 'Left', 'super-duper' ), - 'text' . $device_size . '-right' => __( 'Right', 'super-duper' ), - 'text' . $device_size . '-center' => __( 'Center', 'super-duper' ), + '' => __( 'Default', 'ayecode-connect' ), + 'text' . $device_size . '-left' => __( 'Left', 'ayecode-connect' ), + 'text' . $device_size . '-right' => __( 'Right', 'ayecode-connect' ), + 'text' . $device_size . '-center' => __( 'Center', 'ayecode-connect' ), ); $defaults = array( 'type' => 'select', - 'title' => __( 'Text align', 'super-duper' ), + 'title' => __( 'Text align', 'ayecode-connect' ), 'options' => $options, 'default' => '', 'desc_tip' => true, - 'group' => __( 'Typography', 'super-duper' ), + 'group' => __( 'Typography', 'ayecode-connect' ), ); $input = wp_parse_args( $overwrite, $defaults ); @@ -965,7 +965,7 @@ function sd_get_display_input( $type = 'display', $overwrite = array() ) { } } $options = array( - '' => __( 'Default', 'super-duper' ), + '' => __( 'Default', 'ayecode-connect' ), 'd' . $device_size . '-none' => 'none', 'd' . $device_size . '-inline' => 'inline', 'd' . $device_size . '-inline-block' => 'inline-block', @@ -979,11 +979,11 @@ function sd_get_display_input( $type = 'display', $overwrite = array() ) { $defaults = array( 'type' => 'select', - 'title' => __( 'Display', 'super-duper' ), + 'title' => __( 'Display', 'ayecode-connect' ), 'options' => $options, 'default' => '', 'desc_tip' => true, - 'group' => __( 'Wrapper Styles', 'super-duper' ), + 'group' => __( 'Wrapper Styles', 'ayecode-connect' ), ); $input = wp_parse_args( $overwrite, $defaults ); @@ -1003,10 +1003,10 @@ function sd_get_text_justify_input( $type = 'text_justify', $overwrite = array() $defaults = array( 'type' => 'checkbox', - 'title' => __( 'Text justify', 'super-duper' ), + 'title' => __( 'Text justify', 'ayecode-connect' ), 'default' => '', 'desc_tip' => true, - 'group' => __( 'Typography', 'super-duper' ), + 'group' => __( 'Typography', 'ayecode-connect' ), ); $input = wp_parse_args( $overwrite, $defaults ); @@ -1026,43 +1026,43 @@ function sd_get_text_justify_input( $type = 'text_justify', $overwrite = array() function sd_aui_colors( $include_branding = false, $include_outlines = false, $outline_button_only_text = false, $include_translucent = false ) { $theme_colors = array(); - $theme_colors['primary'] = __( 'Primary', 'super-duper' ); - $theme_colors['secondary'] = __( 'Secondary', 'super-duper' ); - $theme_colors['success'] = __( 'Success', 'super-duper' ); - $theme_colors['danger'] = __( 'Danger', 'super-duper' ); - $theme_colors['warning'] = __( 'Warning', 'super-duper' ); - $theme_colors['info'] = __( 'Info', 'super-duper' ); - $theme_colors['light'] = __( 'Light', 'super-duper' ); - $theme_colors['dark'] = __( 'Dark', 'super-duper' ); - $theme_colors['black'] = __( 'Black', 'super-duper' ); - $theme_colors['white'] = __( 'White', 'super-duper' ); - $theme_colors['purple'] = __( 'Purple', 'super-duper' ); - $theme_colors['salmon'] = __( 'Salmon', 'super-duper' ); - $theme_colors['cyan'] = __( 'Cyan', 'super-duper' ); - $theme_colors['gray'] = __( 'Gray', 'super-duper' ); - $theme_colors['muted'] = __( 'Muted', 'super-duper' ); - $theme_colors['gray-dark'] = __( 'Gray dark', 'super-duper' ); - $theme_colors['indigo'] = __( 'Indigo', 'super-duper' ); - $theme_colors['orange'] = __( 'Orange', 'super-duper' ); + $theme_colors['primary'] = __( 'Primary', 'ayecode-connect' ); + $theme_colors['secondary'] = __( 'Secondary', 'ayecode-connect' ); + $theme_colors['success'] = __( 'Success', 'ayecode-connect' ); + $theme_colors['danger'] = __( 'Danger', 'ayecode-connect' ); + $theme_colors['warning'] = __( 'Warning', 'ayecode-connect' ); + $theme_colors['info'] = __( 'Info', 'ayecode-connect' ); + $theme_colors['light'] = __( 'Light', 'ayecode-connect' ); + $theme_colors['dark'] = __( 'Dark', 'ayecode-connect' ); + $theme_colors['black'] = __( 'Black', 'ayecode-connect' ); + $theme_colors['white'] = __( 'White', 'ayecode-connect' ); + $theme_colors['purple'] = __( 'Purple', 'ayecode-connect' ); + $theme_colors['salmon'] = __( 'Salmon', 'ayecode-connect' ); + $theme_colors['cyan'] = __( 'Cyan', 'ayecode-connect' ); + $theme_colors['gray'] = __( 'Gray', 'ayecode-connect' ); + $theme_colors['muted'] = __( 'Muted', 'ayecode-connect' ); + $theme_colors['gray-dark'] = __( 'Gray dark', 'ayecode-connect' ); + $theme_colors['indigo'] = __( 'Indigo', 'ayecode-connect' ); + $theme_colors['orange'] = __( 'Orange', 'ayecode-connect' ); if ( $include_outlines ) { - $button_only = $outline_button_only_text ? ' ' . __( '(button only)', 'super-duper' ) : ''; - $theme_colors['outline-primary'] = __( 'Primary outline', 'super-duper' ) . $button_only; - $theme_colors['outline-secondary'] = __( 'Secondary outline', 'super-duper' ) . $button_only; - $theme_colors['outline-success'] = __( 'Success outline', 'super-duper' ) . $button_only; - $theme_colors['outline-danger'] = __( 'Danger outline', 'super-duper' ) . $button_only; - $theme_colors['outline-warning'] = __( 'Warning outline', 'super-duper' ) . $button_only; - $theme_colors['outline-info'] = __( 'Info outline', 'super-duper' ) . $button_only; - $theme_colors['outline-light'] = __( 'Light outline', 'super-duper' ) . $button_only; - $theme_colors['outline-dark'] = __( 'Dark outline', 'super-duper' ) . $button_only; - $theme_colors['outline-white'] = __( 'White outline', 'super-duper' ) . $button_only; - $theme_colors['outline-purple'] = __( 'Purple outline', 'super-duper' ) . $button_only; - $theme_colors['outline-salmon'] = __( 'Salmon outline', 'super-duper' ) . $button_only; - $theme_colors['outline-cyan'] = __( 'Cyan outline', 'super-duper' ) . $button_only; - $theme_colors['outline-gray'] = __( 'Gray outline', 'super-duper' ) . $button_only; - $theme_colors['outline-gray-dark'] = __( 'Gray dark outline', 'super-duper' ) . $button_only; - $theme_colors['outline-indigo'] = __( 'Indigo outline', 'super-duper' ) . $button_only; - $theme_colors['outline-orange'] = __( 'Orange outline', 'super-duper' ) . $button_only; + $button_only = $outline_button_only_text ? ' ' . __( '(button only)', 'ayecode-connect' ) : ''; + $theme_colors['outline-primary'] = __( 'Primary outline', 'ayecode-connect' ) . $button_only; + $theme_colors['outline-secondary'] = __( 'Secondary outline', 'ayecode-connect' ) . $button_only; + $theme_colors['outline-success'] = __( 'Success outline', 'ayecode-connect' ) . $button_only; + $theme_colors['outline-danger'] = __( 'Danger outline', 'ayecode-connect' ) . $button_only; + $theme_colors['outline-warning'] = __( 'Warning outline', 'ayecode-connect' ) . $button_only; + $theme_colors['outline-info'] = __( 'Info outline', 'ayecode-connect' ) . $button_only; + $theme_colors['outline-light'] = __( 'Light outline', 'ayecode-connect' ) . $button_only; + $theme_colors['outline-dark'] = __( 'Dark outline', 'ayecode-connect' ) . $button_only; + $theme_colors['outline-white'] = __( 'White outline', 'ayecode-connect' ) . $button_only; + $theme_colors['outline-purple'] = __( 'Purple outline', 'ayecode-connect' ) . $button_only; + $theme_colors['outline-salmon'] = __( 'Salmon outline', 'ayecode-connect' ) . $button_only; + $theme_colors['outline-cyan'] = __( 'Cyan outline', 'ayecode-connect' ) . $button_only; + $theme_colors['outline-gray'] = __( 'Gray outline', 'ayecode-connect' ) . $button_only; + $theme_colors['outline-gray-dark'] = __( 'Gray dark outline', 'ayecode-connect' ) . $button_only; + $theme_colors['outline-indigo'] = __( 'Indigo outline', 'ayecode-connect' ) . $button_only; + $theme_colors['outline-orange'] = __( 'Orange outline', 'ayecode-connect' ) . $button_only; } if ( $include_branding ) { @@ -1070,23 +1070,23 @@ function sd_aui_colors( $include_branding = false, $include_outlines = false, $o } if ( $include_translucent ) { - $button_only = $outline_button_only_text ? ' ' . __( '(button only)', 'super-duper' ) : ''; - $theme_colors['translucent-primary'] = __( 'Primary translucent', 'super-duper' ) . $button_only; - $theme_colors['translucent-secondary'] = __( 'Secondary translucent', 'super-duper' ) . $button_only; - $theme_colors['translucent-success'] = __( 'Success translucent', 'super-duper' ) . $button_only; - $theme_colors['translucent-danger'] = __( 'Danger translucent', 'super-duper' ) . $button_only; - $theme_colors['translucent-warning'] = __( 'Warning translucent', 'super-duper' ) . $button_only; - $theme_colors['translucent-info'] = __( 'Info translucent', 'super-duper' ) . $button_only; - $theme_colors['translucent-light'] = __( 'Light translucent', 'super-duper' ) . $button_only; - $theme_colors['translucent-dark'] = __( 'Dark translucent', 'super-duper' ) . $button_only; - $theme_colors['translucent-white'] = __( 'White translucent', 'super-duper' ) . $button_only; - $theme_colors['translucent-purple'] = __( 'Purple translucent', 'super-duper' ) . $button_only; - $theme_colors['translucent-salmon'] = __( 'Salmon translucent', 'super-duper' ) . $button_only; - $theme_colors['translucent-cyan'] = __( 'Cyan translucent', 'super-duper' ) . $button_only; - $theme_colors['translucent-gray'] = __( 'Gray translucent', 'super-duper' ) . $button_only; - $theme_colors['translucent-gray-dark'] = __( 'Gray dark translucent', 'super-duper' ) . $button_only; - $theme_colors['translucent-indigo'] = __( 'Indigo translucent', 'super-duper' ) . $button_only; - $theme_colors['translucent-orange'] = __( 'Orange translucent', 'super-duper' ) . $button_only; + $button_only = $outline_button_only_text ? ' ' . __( '(button only)', 'ayecode-connect' ) : ''; + $theme_colors['translucent-primary'] = __( 'Primary translucent', 'ayecode-connect' ) . $button_only; + $theme_colors['translucent-secondary'] = __( 'Secondary translucent', 'ayecode-connect' ) . $button_only; + $theme_colors['translucent-success'] = __( 'Success translucent', 'ayecode-connect' ) . $button_only; + $theme_colors['translucent-danger'] = __( 'Danger translucent', 'ayecode-connect' ) . $button_only; + $theme_colors['translucent-warning'] = __( 'Warning translucent', 'ayecode-connect' ) . $button_only; + $theme_colors['translucent-info'] = __( 'Info translucent', 'ayecode-connect' ) . $button_only; + $theme_colors['translucent-light'] = __( 'Light translucent', 'ayecode-connect' ) . $button_only; + $theme_colors['translucent-dark'] = __( 'Dark translucent', 'ayecode-connect' ) . $button_only; + $theme_colors['translucent-white'] = __( 'White translucent', 'ayecode-connect' ) . $button_only; + $theme_colors['translucent-purple'] = __( 'Purple translucent', 'ayecode-connect' ) . $button_only; + $theme_colors['translucent-salmon'] = __( 'Salmon translucent', 'ayecode-connect' ) . $button_only; + $theme_colors['translucent-cyan'] = __( 'Cyan translucent', 'ayecode-connect' ) . $button_only; + $theme_colors['translucent-gray'] = __( 'Gray translucent', 'ayecode-connect' ) . $button_only; + $theme_colors['translucent-gray-dark'] = __( 'Gray dark translucent', 'ayecode-connect' ) . $button_only; + $theme_colors['translucent-indigo'] = __( 'Indigo translucent', 'ayecode-connect' ) . $button_only; + $theme_colors['translucent-orange'] = __( 'Orange translucent', 'ayecode-connect' ) . $button_only; } return apply_filters( 'sd_aui_colors', $theme_colors, $include_outlines, $include_branding ); @@ -1099,17 +1099,17 @@ function sd_aui_colors( $include_branding = false, $include_outlines = false, $o */ function sd_aui_branding_colors() { return array( - 'facebook' => __( 'Facebook', 'super-duper' ), - 'twitter' => __( 'Twitter', 'super-duper' ), - 'instagram' => __( 'Instagram', 'super-duper' ), - 'linkedin' => __( 'Linkedin', 'super-duper' ), - 'flickr' => __( 'Flickr', 'super-duper' ), - 'github' => __( 'GitHub', 'super-duper' ), - 'youtube' => __( 'YouTube', 'super-duper' ), - 'wordpress' => __( 'WordPress', 'super-duper' ), - 'google' => __( 'Google', 'super-duper' ), - 'yahoo' => __( 'Yahoo', 'super-duper' ), - 'vkontakte' => __( 'Vkontakte', 'super-duper' ), + 'facebook' => __( 'Facebook', 'ayecode-connect' ), + 'twitter' => __( 'Twitter', 'ayecode-connect' ), + 'instagram' => __( 'Instagram', 'ayecode-connect' ), + 'linkedin' => __( 'Linkedin', 'ayecode-connect' ), + 'flickr' => __( 'Flickr', 'ayecode-connect' ), + 'github' => __( 'GitHub', 'ayecode-connect' ), + 'youtube' => __( 'YouTube', 'ayecode-connect' ), + 'wordpress' => __( 'WordPress', 'ayecode-connect' ), + 'google' => __( 'Google', 'ayecode-connect' ), + 'yahoo' => __( 'Yahoo', 'ayecode-connect' ), + 'vkontakte' => __( 'Vkontakte', 'ayecode-connect' ), ); } @@ -1125,7 +1125,7 @@ function sd_aui_branding_colors() { function sd_get_container_class_input( $type = 'container', $overwrite = array() ) { $options = array( - 'container' => __( 'container (default)', 'super-duper' ), + 'container' => __( 'container (default)', 'ayecode-connect' ), 'container-sm' => 'container-sm', 'container-md' => 'container-md', 'container-lg' => 'container-lg', @@ -1141,16 +1141,16 @@ function sd_get_container_class_input( $type = 'container', $overwrite = array() 'card-footer' => 'card-footer', 'list-group' => 'list-group', 'list-group-item' => 'list-group-item', - '' => __( 'no container class', 'super-duper' ), + '' => __( 'no container class', 'ayecode-connect' ), ); $defaults = array( 'type' => 'select', - 'title' => __( 'Type', 'super-duper' ), + 'title' => __( 'Type', 'ayecode-connect' ), 'options' => $options, 'default' => '', 'desc_tip' => true, - 'group' => __( 'Container', 'super-duper' ), + 'group' => __( 'Container', 'ayecode-connect' ), ); $input = wp_parse_args( $overwrite, $defaults ); @@ -1169,7 +1169,7 @@ function sd_get_container_class_input( $type = 'container', $overwrite = array() function sd_get_position_class_input( $type = 'position', $overwrite = array() ) { $options = array( - '' => __( 'Default', 'super-duper' ), + '' => __( 'Default', 'ayecode-connect' ), 'position-static' => 'static', 'position-relative' => 'relative', 'position-absolute' => 'absolute', @@ -1182,11 +1182,11 @@ function sd_get_position_class_input( $type = 'position', $overwrite = array() ) $defaults = array( 'type' => 'select', - 'title' => __( 'Position', 'super-duper' ), + 'title' => __( 'Position', 'ayecode-connect' ), 'options' => $options, 'default' => '', 'desc_tip' => true, - 'group' => __( 'Wrapper Styles', 'super-duper' ), + 'group' => __( 'Wrapper Styles', 'ayecode-connect' ), ); $input = wp_parse_args( $overwrite, $defaults ); @@ -1203,7 +1203,7 @@ function sd_get_position_class_input( $type = 'position', $overwrite = array() ) function sd_get_absolute_position_input( $type = 'absolute_position', $overwrite = array() ) { $options = array( - '' => __( 'Default', 'super-duper' ), + '' => __( 'Default', 'ayecode-connect' ), 'top-left' => 'top-left', 'top-center' => 'top-center', 'top-right' => 'top-right', @@ -1217,11 +1217,11 @@ function sd_get_absolute_position_input( $type = 'absolute_position', $overwrite $defaults = array( 'type' => 'select', - 'title' => __( 'Absolute Position', 'super-duper' ), + 'title' => __( 'Absolute Position', 'ayecode-connect' ), 'options' => $options, 'default' => '', 'desc_tip' => true, - 'group' => __( 'Wrapper Styles', 'super-duper' ), + 'group' => __( 'Wrapper Styles', 'ayecode-connect' ), 'element_require' => '[%position%]=="position-absolute"', ); @@ -1242,26 +1242,26 @@ function sd_get_sticky_offset_input( $type = 'top', $overwrite = array() ) { $defaults = array( 'type' => 'number', - 'title' => __( 'Sticky offset', 'super-duper' ), - //'desc' => __( 'Sticky offset', 'super-duper' ), + 'title' => __( 'Sticky offset', 'ayecode-connect' ), + //'desc' => __( 'Sticky offset', 'ayecode-connect' ), 'default' => '', 'desc_tip' => true, - 'group' => __( 'Wrapper Styles', 'super-duper' ), + 'group' => __( 'Wrapper Styles', 'ayecode-connect' ), 'element_require' => '[%position%]=="sticky" || [%position%]=="sticky-top"', ); // title if ( $type == 'top' ) { - $defaults['title'] = __( 'Top offset', 'super-duper' ); + $defaults['title'] = __( 'Top offset', 'ayecode-connect' ); $defaults['icon'] = 'box-top'; $defaults['row'] = array( - 'title' => __( 'Sticky offset', 'super-duper' ), + 'title' => __( 'Sticky offset', 'ayecode-connect' ), 'key' => 'sticky-offset', 'open' => true, 'class' => 'text-center', ); } elseif ( $type == 'bottom' ) { - $defaults['title'] = __( 'Bottom offset', 'super-duper' ); + $defaults['title'] = __( 'Bottom offset', 'ayecode-connect' ); $defaults['icon'] = 'box-bottom'; $defaults['row'] = array( 'key' => 'sticky-offset', @@ -1285,7 +1285,7 @@ function sd_get_sticky_offset_input( $type = 'top', $overwrite = array() ) { function sd_get_font_size_input( $type = 'font_size', $overwrite = array(), $has_custom = false ) { global $aui_bs5; - $options[] = __( 'Inherit from parent', 'super-duper' ); + $options[] = __( 'Inherit from parent', 'ayecode-connect' ); if ( $aui_bs5 ) { // responsive font sizes $options['fs-base'] = 'fs-base (body default)'; @@ -1323,16 +1323,16 @@ function sd_get_font_size_input( $type = 'font_size', $overwrite = array(), $has } if ( $has_custom ) { - $options['custom'] = __( 'Custom size', 'super-duper' ); + $options['custom'] = __( 'Custom size', 'ayecode-connect' ); } $defaults = array( 'type' => 'select', - 'title' => __( 'Font size', 'super-duper' ), + 'title' => __( 'Font size', 'ayecode-connect' ), 'options' => $options, 'default' => '', 'desc_tip' => true, - 'group' => __( 'Typography', 'super-duper' ), + 'group' => __( 'Typography', 'ayecode-connect' ), ); $input = wp_parse_args( $overwrite, $defaults ); @@ -1352,7 +1352,7 @@ function sd_get_font_custom_size_input( $type = 'font_size_custom', $overwrite = $defaults = array( 'type' => 'number', - 'title' => __( 'Font size (rem)', 'super-duper' ), + 'title' => __( 'Font size (rem)', 'ayecode-connect' ), 'default' => '', 'placeholder' => '1.25', 'custom_attributes' => array( @@ -1361,7 +1361,7 @@ function sd_get_font_custom_size_input( $type = 'font_size_custom', $overwrite = 'max' => '100', ), 'desc_tip' => true, - 'group' => __( 'Typography', 'super-duper' ), + 'group' => __( 'Typography', 'ayecode-connect' ), ); if ( $parent_type ) { @@ -1385,7 +1385,7 @@ function sd_get_font_line_height_input( $type = 'font_line_height', $overwrite = $defaults = array( 'type' => 'number', - 'title' => __( 'Font Line Height', 'super-duper' ), + 'title' => __( 'Font Line Height', 'ayecode-connect' ), 'default' => '', 'placeholder' => '1.75', 'custom_attributes' => array( @@ -1394,7 +1394,7 @@ function sd_get_font_line_height_input( $type = 'font_line_height', $overwrite = 'max' => '100', ), 'desc_tip' => true, - 'group' => __( 'Typography', 'super-duper' ), + 'group' => __( 'Typography', 'ayecode-connect' ), ); $input = wp_parse_args( $overwrite, $defaults ); @@ -1437,7 +1437,7 @@ function sd_get_font_size_input_group( $type = 'font_size', $overwrite = array() function sd_get_font_weight_input( $type = 'font_weight', $overwrite = array() ) { $options = array( - '' => __( 'Inherit', 'super-duper' ), + '' => __( 'Inherit', 'ayecode-connect' ), 'font-weight-bold' => 'bold', 'font-weight-bolder' => 'bolder', 'font-weight-normal' => 'normal', @@ -1453,11 +1453,11 @@ function sd_get_font_weight_input( $type = 'font_weight', $overwrite = array() ) $defaults = array( 'type' => 'select', - 'title' => __( 'Appearance', 'super-duper' ), + 'title' => __( 'Appearance', 'ayecode-connect' ), 'options' => $options, 'default' => '', 'desc_tip' => true, - 'group' => __( 'Typography', 'super-duper' ), + 'group' => __( 'Typography', 'ayecode-connect' ), ); $input = wp_parse_args( $overwrite, $defaults ); @@ -1476,19 +1476,19 @@ function sd_get_font_weight_input( $type = 'font_weight', $overwrite = array() ) function sd_get_font_case_input( $type = 'font_weight', $overwrite = array() ) { $options = array( - '' => __( 'Default', 'super-duper' ), - 'text-lowercase' => __( 'lowercase', 'super-duper' ), - 'text-uppercase' => __( 'UPPERCASE', 'super-duper' ), - 'text-capitalize' => __( 'Capitalize', 'super-duper' ), + '' => __( 'Default', 'ayecode-connect' ), + 'text-lowercase' => __( 'lowercase', 'ayecode-connect' ), + 'text-uppercase' => __( 'UPPERCASE', 'ayecode-connect' ), + 'text-capitalize' => __( 'Capitalize', 'ayecode-connect' ), ); $defaults = array( 'type' => 'select', - 'title' => __( 'Letter case', 'super-duper' ), + 'title' => __( 'Letter case', 'ayecode-connect' ), 'options' => $options, 'default' => '', 'desc_tip' => true, - 'group' => __( 'Typography', 'super-duper' ), + 'group' => __( 'Typography', 'ayecode-connect' ), ); $input = wp_parse_args( $overwrite, $defaults ); @@ -1508,17 +1508,17 @@ function sd_get_font_case_input( $type = 'font_weight', $overwrite = array() ) { function sd_get_font_italic_input( $type = 'font_italic', $overwrite = array() ) { $options = array( - '' => __( 'No', 'super-duper' ), - 'font-italic' => __( 'Yes', 'super-duper' ), + '' => __( 'No', 'ayecode-connect' ), + 'font-italic' => __( 'Yes', 'ayecode-connect' ), ); $defaults = array( 'type' => 'select', - 'title' => __( 'Font italic', 'super-duper' ), + 'title' => __( 'Font italic', 'ayecode-connect' ), 'options' => $options, 'default' => '', 'desc_tip' => true, - 'group' => __( 'Typography', 'super-duper' ), + 'group' => __( 'Typography', 'ayecode-connect' ), ); $input = wp_parse_args( $overwrite, $defaults ); @@ -1538,11 +1538,11 @@ function sd_get_anchor_input( $type = 'anchor', $overwrite = array() ) { $defaults = array( 'type' => 'text', - 'title' => __( 'HTML anchor', 'super-duper' ), - 'desc' => __( 'Enter a word or two — without spaces — to make a unique web address just for this block, called an “anchor.” Then, you’ll be able to link directly to this section of your page.', 'super-duper' ), + 'title' => __( 'HTML anchor', 'ayecode-connect' ), + 'desc' => __( 'Enter a word or two — without spaces — to make a unique web address just for this block, called an “anchor.” Then, you’ll be able to link directly to this section of your page.', 'ayecode-connect' ), 'default' => '', 'desc_tip' => true, - 'group' => __( 'Advanced', 'super-duper' ), + 'group' => __( 'Advanced', 'ayecode-connect' ), ); $input = wp_parse_args( $overwrite, $defaults ); @@ -1562,11 +1562,11 @@ function sd_get_class_input( $type = 'css_class', $overwrite = array() ) { $defaults = array( 'type' => 'text', - 'title' => __( 'Additional CSS class(es)', 'super-duper' ), - 'desc' => __( 'Separate multiple classes with spaces.', 'super-duper' ), + 'title' => __( 'Additional CSS class(es)', 'ayecode-connect' ), + 'desc' => __( 'Separate multiple classes with spaces.', 'ayecode-connect' ), 'default' => '', 'desc_tip' => true, - 'group' => __( 'Advanced', 'super-duper' ), + 'group' => __( 'Advanced', 'ayecode-connect' ), ); $input = wp_parse_args( $overwrite, $defaults ); @@ -1585,23 +1585,23 @@ function sd_get_class_input( $type = 'css_class', $overwrite = array() ) { function sd_get_hover_animations_input( $type = 'hover_animations', $overwrite = array() ) { $options = array( - '' => __( 'none', 'super-duper' ), - 'hover-zoom' => __( 'Zoom', 'super-duper' ), - 'hover-shadow' => __( 'Shadow', 'super-duper' ), - 'hover-move-up' => __( 'Move up', 'super-duper' ), - 'hover-move-down' => __( 'Move down', 'super-duper' ), - 'hover-move-left' => __( 'Move left', 'super-duper' ), - 'hover-move-right' => __( 'Move right', 'super-duper' ), + '' => __( 'none', 'ayecode-connect' ), + 'hover-zoom' => __( 'Zoom', 'ayecode-connect' ), + 'hover-shadow' => __( 'Shadow', 'ayecode-connect' ), + 'hover-move-up' => __( 'Move up', 'ayecode-connect' ), + 'hover-move-down' => __( 'Move down', 'ayecode-connect' ), + 'hover-move-left' => __( 'Move left', 'ayecode-connect' ), + 'hover-move-right' => __( 'Move right', 'ayecode-connect' ), ); $defaults = array( 'type' => 'select', 'multiple' => true, - 'title' => __( 'Hover Animations', 'super-duper' ), + 'title' => __( 'Hover Animations', 'ayecode-connect' ), 'options' => $options, 'default' => '', 'desc_tip' => true, - 'group' => __( 'Hover Animations', 'super-duper' ), + 'group' => __( 'Hover Animations', 'ayecode-connect' ), ); $input = wp_parse_args( $overwrite, $defaults ); @@ -1620,7 +1620,7 @@ function sd_get_flex_align_items_input( $type = 'align-items', $overwrite = arra } } $options = array( - '' => __( 'Default', 'super-duper' ), + '' => __( 'Default', 'ayecode-connect' ), 'align-items' . $device_size . '-start' => 'align-items-start', 'align-items' . $device_size . '-end' => 'align-items-end', 'align-items' . $device_size . '-center' => 'align-items-center', @@ -1630,11 +1630,11 @@ function sd_get_flex_align_items_input( $type = 'align-items', $overwrite = arra $defaults = array( 'type' => 'select', - 'title' => __( 'Vertical Align Items', 'super-duper' ), + 'title' => __( 'Vertical Align Items', 'ayecode-connect' ), 'options' => $options, 'default' => '', 'desc_tip' => true, - 'group' => __( 'Wrapper Styles', 'super-duper' ), + 'group' => __( 'Wrapper Styles', 'ayecode-connect' ), 'element_require' => ' ( ( [%container%]=="row" ) || ( [%display%]=="d-flex" || [%display_md%]=="d-md-flex" || [%display_lg%]=="d-lg-flex" ) ) ', ); @@ -1673,7 +1673,7 @@ function sd_get_flex_justify_content_input( $type = 'flex_justify_content', $ove } } $options = array( - '' => __( 'Default', 'super-duper' ), + '' => __( 'Default', 'ayecode-connect' ), 'justify-content' . $device_size . '-start' => 'justify-content-start', 'justify-content' . $device_size . '-end' => 'justify-content-end', 'justify-content' . $device_size . '-center' => 'justify-content-center', @@ -1683,11 +1683,11 @@ function sd_get_flex_justify_content_input( $type = 'flex_justify_content', $ove $defaults = array( 'type' => 'select', - 'title' => __( 'Justify content', 'super-duper' ), + 'title' => __( 'Justify content', 'ayecode-connect' ), 'options' => $options, 'default' => '', 'desc_tip' => true, - 'group' => __( 'Wrapper Styles', 'super-duper' ), + 'group' => __( 'Wrapper Styles', 'ayecode-connect' ), 'element_require' => '( ( [%container%]=="row" ) || ( [%display%]=="d-flex" || [%display_md%]=="d-md-flex" || [%display_lg%]=="d-lg-flex" ) ) ', ); @@ -1727,7 +1727,7 @@ function sd_get_flex_align_self_input( $type = 'flex_align_self', $overwrite = a } } $options = array( - '' => __( 'Default', 'super-duper' ), + '' => __( 'Default', 'ayecode-connect' ), 'align-items' . $device_size . '-start' => 'align-items-start', 'align-items' . $device_size . '-end' => 'align-items-end', 'align-items' . $device_size . '-center' => 'align-items-center', @@ -1737,11 +1737,11 @@ function sd_get_flex_align_self_input( $type = 'flex_align_self', $overwrite = a $defaults = array( 'type' => 'select', - 'title' => __( 'Align Self', 'super-duper' ), + 'title' => __( 'Align Self', 'ayecode-connect' ), 'options' => $options, 'default' => '', 'desc_tip' => true, - 'group' => __( 'Wrapper Styles', 'super-duper' ), + 'group' => __( 'Wrapper Styles', 'ayecode-connect' ), 'element_require' => ' [%container%]=="col" ', ); @@ -1780,7 +1780,7 @@ function sd_get_flex_order_input( $type = 'flex_order', $overwrite = array() ) { } } $options = array( - '' => __( 'Default', 'super-duper' ), + '' => __( 'Default', 'ayecode-connect' ), ); $i = 0; @@ -1791,11 +1791,11 @@ function sd_get_flex_order_input( $type = 'flex_order', $overwrite = array() ) { $defaults = array( 'type' => 'select', - 'title' => __( 'Flex Order', 'super-duper' ), + 'title' => __( 'Flex Order', 'ayecode-connect' ), 'options' => $options, 'default' => '', 'desc_tip' => true, - 'group' => __( 'Wrapper Styles', 'super-duper' ), + 'group' => __( 'Wrapper Styles', 'ayecode-connect' ), 'element_require' => ' [%container%]=="col" ', ); @@ -1853,7 +1853,7 @@ function sd_get_flex_wrap_input( $type = 'flex_wrap', $overwrite = array() ) { } } $options = array( - '' => __( 'Default', 'super-duper' ), + '' => __( 'Default', 'ayecode-connect' ), 'flex' . $device_size . '-nowrap' => 'nowrap', 'flex' . $device_size . '-wrap' => 'wrap', 'flex' . $device_size . '-wrap-reverse' => 'wrap-reverse', @@ -1861,11 +1861,11 @@ function sd_get_flex_wrap_input( $type = 'flex_wrap', $overwrite = array() ) { $defaults = array( 'type' => 'select', - 'title' => __( 'Flex wrap', 'super-duper' ), + 'title' => __( 'Flex wrap', 'ayecode-connect' ), 'options' => $options, 'default' => '', 'desc_tip' => true, - 'group' => __( 'Wrapper Styles', 'super-duper' ), + 'group' => __( 'Wrapper Styles', 'ayecode-connect' ), ); $input = wp_parse_args( $overwrite, $defaults ); @@ -1901,7 +1901,7 @@ function sd_get_float_input( $type = 'float', $overwrite = array() ) { } } $options = array( - '' => __( 'Default', 'super-duper' ), + '' => __( 'Default', 'ayecode-connect' ), 'float' . $device_size . '-start' => 'left', 'float' . $device_size . '-end' => 'right', 'float' . $device_size . '-none' => 'none', @@ -1909,11 +1909,11 @@ function sd_get_float_input( $type = 'float', $overwrite = array() ) { $defaults = array( 'type' => 'select', - 'title' => __( 'Float', 'super-duper' ), + 'title' => __( 'Float', 'ayecode-connect' ), 'options' => $options, 'default' => '', 'desc_tip' => true, - 'group' => __( 'Wrapper Styles', 'super-duper' ), + 'group' => __( 'Wrapper Styles', 'ayecode-connect' ), ); $input = wp_parse_args( $overwrite, $defaults ); @@ -1930,7 +1930,7 @@ function sd_get_float_input( $type = 'float', $overwrite = array() ) { function sd_get_zindex_input( $type = 'zindex', $overwrite = array() ) { $options = array( - '' => __( 'Default', 'super-duper' ), + '' => __( 'Default', 'ayecode-connect' ), 'zindex-0' => '0', 'zindex-1' => '1', 'zindex-5' => '5', @@ -1939,11 +1939,11 @@ function sd_get_zindex_input( $type = 'zindex', $overwrite = array() ) { $defaults = array( 'type' => 'select', - 'title' => __( 'Z-index', 'super-duper' ), + 'title' => __( 'Z-index', 'ayecode-connect' ), 'options' => $options, 'default' => '', 'desc_tip' => true, - 'group' => __( 'Wrapper Styles', 'super-duper' ), + 'group' => __( 'Wrapper Styles', 'ayecode-connect' ), ); $input = wp_parse_args( $overwrite, $defaults ); @@ -1960,20 +1960,20 @@ function sd_get_zindex_input( $type = 'zindex', $overwrite = array() ) { function sd_get_overflow_input( $type = 'overflow', $overwrite = array() ) { $options = array( - '' => __( 'Default', 'super-duper' ), - 'overflow-auto' => __( 'Auto', 'super-duper' ), - 'overflow-hidden' => __( 'Hidden', 'super-duper' ), - 'overflow-visible' => __( 'Visible', 'super-duper' ), - 'overflow-scroll' => __( 'Scroll', 'super-duper' ), + '' => __( 'Default', 'ayecode-connect' ), + 'overflow-auto' => __( 'Auto', 'ayecode-connect' ), + 'overflow-hidden' => __( 'Hidden', 'ayecode-connect' ), + 'overflow-visible' => __( 'Visible', 'ayecode-connect' ), + 'overflow-scroll' => __( 'Scroll', 'ayecode-connect' ), ); $defaults = array( 'type' => 'select', - 'title' => __( 'Overflow', 'super-duper' ), + 'title' => __( 'Overflow', 'ayecode-connect' ), 'options' => $options, 'default' => '', 'desc_tip' => true, - 'group' => __( 'Wrapper Styles', 'super-duper' ), + 'group' => __( 'Wrapper Styles', 'ayecode-connect' ), ); $input = wp_parse_args( $overwrite, $defaults ); @@ -1991,12 +1991,12 @@ function sd_get_max_height_input( $type = 'max_height', $overwrite = array() ) { $defaults = array( 'type' => 'text', - 'title' => __( 'Max height', 'super-duper' ), + 'title' => __( 'Max height', 'ayecode-connect' ), 'value' => '', 'default' => '', 'placeholder' => '', 'desc_tip' => true, - 'group' => __( 'Wrapper Styles', 'super-duper' ), + 'group' => __( 'Wrapper Styles', 'ayecode-connect' ), ); $input = wp_parse_args( $overwrite, $defaults ); @@ -2013,17 +2013,17 @@ function sd_get_max_height_input( $type = 'max_height', $overwrite = array() ) { function sd_get_scrollbars_input( $type = 'scrollbars', $overwrite = array() ) { $options = array( - '' => __( 'Default', 'super-duper' ), - 'scrollbars-ios' => __( 'IOS Style', 'super-duper' ), + '' => __( 'Default', 'ayecode-connect' ), + 'scrollbars-ios' => __( 'IOS Style', 'ayecode-connect' ), ); $defaults = array( 'type' => 'select', - 'title' => __( 'Scrollbars', 'super-duper' ), + 'title' => __( 'Scrollbars', 'ayecode-connect' ), 'options' => $options, 'default' => '', 'desc_tip' => true, - 'group' => __( 'Wrapper Styles', 'super-duper' ), + 'group' => __( 'Wrapper Styles', 'ayecode-connect' ), ); $input = wp_parse_args( $overwrite, $defaults ); @@ -2679,11 +2679,11 @@ function sd_get_class_build_keys() { function sd_get_visibility_conditions_input( $type = 'visibility_conditions', $overwrite = array() ) { $defaults = array( 'type' => 'visibility_conditions', - 'title' => __( 'Block Visibility', 'super-duper' ), - 'button_title' => __( 'Set Block Visibility', 'super-duper' ), + 'title' => __( 'Block Visibility', 'ayecode-connect' ), + 'button_title' => __( 'Set Block Visibility', 'ayecode-connect' ), 'default' => '', 'desc_tip' => true, - 'group' => __( 'Visibility Conditions', 'super-duper' ), + 'group' => __( 'Visibility Conditions', 'ayecode-connect' ), ); $input = wp_parse_args( $overwrite, $defaults ); @@ -2726,13 +2726,13 @@ function sd_user_roles_options( $exclude = array() ) { */ function sd_visibility_rules_options() { $options = array( - 'logged_in' => __( 'Logged In', 'super-duper' ), - 'logged_out' => __( 'Logged Out', 'super-duper' ), - 'user_roles' => __( 'Specific User Roles', 'super-duper' ) + 'logged_in' => __( 'Logged In', 'ayecode-connect' ), + 'logged_out' => __( 'Logged Out', 'ayecode-connect' ), + 'user_roles' => __( 'Specific User Roles', 'ayecode-connect' ) ); if ( class_exists( 'GeoDirectory' ) ) { - $options['gd_field'] = __( 'GD Field', 'super-duper' ); + $options['gd_field'] = __( 'GD Field', 'ayecode-connect' ); } return apply_filters( 'sd_visibility_rules_options', $options ); @@ -2784,14 +2784,14 @@ function sd_visibility_gd_field_options(){ */ function sd_visibility_field_condition_options(){ $options = array( - 'is_empty' => __( 'is empty', 'super-duper' ), - 'is_not_empty' => __( 'is not empty', 'super-duper' ), - 'is_equal' => __( 'is equal', 'super-duper' ), - 'is_not_equal' => __( 'is not equal', 'super-duper' ), - 'is_greater_than' => __( 'is greater than', 'super-duper' ), - 'is_less_than' => __( 'is less than', 'super-duper' ), - 'is_contains' => __( 'is contains', 'super-duper' ), - 'is_not_contains' => __( 'is not contains', 'super-duper' ), + 'is_empty' => __( 'is empty', 'ayecode-connect' ), + 'is_not_empty' => __( 'is not empty', 'ayecode-connect' ), + 'is_equal' => __( 'is equal', 'ayecode-connect' ), + 'is_not_equal' => __( 'is not equal', 'ayecode-connect' ), + 'is_greater_than' => __( 'is greater than', 'ayecode-connect' ), + 'is_less_than' => __( 'is less than', 'ayecode-connect' ), + 'is_contains' => __( 'is contains', 'ayecode-connect' ), + 'is_not_contains' => __( 'is not contains', 'ayecode-connect' ), ); return apply_filters( 'sd_visibility_field_condition_options', $options ); @@ -2806,10 +2806,10 @@ function sd_visibility_field_condition_options(){ */ function sd_visibility_output_options() { $options = array( - 'hide' => __( 'Hide Block', 'super-duper' ), - 'message' => __( 'Show Custom Message', 'super-duper' ), - 'page' => __( 'Show Page Content', 'super-duper' ), - 'template_part' => __( 'Show Template Part', 'super-duper' ), + 'hide' => __( 'Hide Block', 'ayecode-connect' ), + 'message' => __( 'Show Custom Message', 'ayecode-connect' ), + 'page' => __( 'Show Page Content', 'ayecode-connect' ), + 'template_part' => __( 'Show Template Part', 'ayecode-connect' ), ); return apply_filters( 'sd_visibility_output_options', $options ); @@ -2851,7 +2851,7 @@ function sd_template_page_options( $args = array() ) { $pages = get_pages( $args ); - $options = array( '' => __( 'Select Page...', 'super-duper' ) ); + $options = array( '' => __( 'Select Page...', 'ayecode-connect' ) ); if ( ! empty( $pages ) ) { foreach ( $pages as $page ) { if ( ! empty( $page->ID ) && ! empty( $page->post_title ) ) { @@ -2880,7 +2880,7 @@ function sd_template_part_options( $args = array() ) { return $sd_tmpl_part_options; } - $options = array( '' => __( 'Select Template Part...', 'super-duper' ) ); + $options = array( '' => __( 'Select Template Part...', 'ayecode-connect' ) ); $parts = get_block_templates( array(), 'wp_template_part' ); @@ -2962,7 +2962,7 @@ function sd_render_block( $block_content, $block, $instance = '' ) { $valid_type = true; if ( isset( $attributes['output']['message'] ) ) { - $content = $attributes['output']['message'] != '' ? __( stripslashes( $attributes['output']['message'] ), 'super-duper' ) : $attributes['output']['message']; + $content = $attributes['output']['message'] != '' ? __( stripslashes( $attributes['output']['message'] ), 'ayecode-connect' ) : $attributes['output']['message']; if ( ! empty( $attributes['output']['message_type'] ) ) { $content = aui()->alert( array( diff --git a/vendor/ayecode/wp-super-duper/wp-super-duper.php b/vendor/ayecode/wp-super-duper/wp-super-duper.php index 28d0699c0..fcd084696 100755 --- a/vendor/ayecode/wp-super-duper/wp-super-duper.php +++ b/vendor/ayecode/wp-super-duper/wp-super-duper.php @@ -5,7 +5,7 @@ if ( ! class_exists( 'WP_Super_Duper' ) ) { - define( 'SUPER_DUPER_VER', '1.1.31' ); + define( 'SUPER_DUPER_VER', '1.1.32' ); /** * A Class to be able to create a Widget, Shortcode or Block to be able to output content for WordPress. @@ -130,8 +130,8 @@ public function __construct( $options ) { add_action( 'wp_ajax_super_duper_get_picker', array( __CLASS__, 'get_picker' ) ); // add generator text to head - add_action( 'admin_head', array( $this, 'generator' ) ); - add_action( 'wp_head', array( $this, 'generator' ) ); + add_action( 'admin_head', array( $this, 'generator' ), 99 ); + add_action( 'wp_head', array( $this, 'generator' ), 99 ); } do_action( 'wp_super_duper_widget_init', $options, $this ); @@ -232,7 +232,7 @@ public function get_fusion_params() { if ( isset( $val['default'] ) && $val['default'] == '0' ) { unset( $param['default'] ); } - $param['value'] = array( '0' => __( "No" ), '1' => __( "Yes" ) ); + $param['value'] = array( '0' => __( "No", 'ayecode-connect' ), '1' => __( "Yes", 'ayecode-connect' ) ); } elseif ( $param['type'] == 'select' || $param['type'] == 'multiple_select' ) { $param['value'] = isset( $val['options'] ) ? $val['options'] : array(); } else { @@ -285,7 +285,7 @@ public static function get_picker( $editor_id = '' ) { // print_r($sd_widgets);exit; if ( ! empty( $sd_widgets ) ) { echo '
', '' ); @@ -500,10 +490,10 @@ public function settings_page() {
settings['pro'], '1' ); ?> id="wpfas-pro" onchange="if(jQuery(this).is(':checked')){jQuery('.wpfas-table-settings').addClass('wpfas-has-pro')}else{jQuery('.wpfas-table-settings').removeClass('wpfas-has-pro')}"/> ', ' ', '', @@ -548,49 +538,49 @@ public function settings_page() {
settings['local'], '1' ); ?> id="wpfas-local"/> - +
+ for="wpfas-shims"> settings['shims'], '1' ); ?> id="wpfas-shims"/> - +
+ for="wpfas-js-pseudo"> settings['js-pseudo'], '1' ); ?> id="wpfas-js-pseudo"/> - +
settings['dequeue'], '1' ); ?> id="wpfas-dequeue"/> - +