PluginProbe
WP Directory Kit / 1.5.9
WP Directory Kit v1.5.9
1.5.9 1.5.7 1.5.6 1.5.5 1.5.4 1.5.3 trunk 1.1.0 1.1.6 1.1.8 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.8 All 37 releases
← All changes | elementor-elements/classes/wdk-elementor-base.php +8 -2 1.5.7 → 1.5.9 View file →
@@ -29,8 +29,9 @@
29 29 protected $data = array();
30 30 protected $WMVC = NULL;
31 31
32 32 public function __construct($data = array(), $args = null) {
33 +
33 34 /* load icons for tabs in edit mode */
34 35 wp_enqueue_style( 'wdk-elementor-main', WPDIRECTORYKIT_URL. 'elementor-elements/assets/css/wdk-main.css' );
35 36
36 37 if ($this->is_edit_mode_load()) {
@@ -224,9 +225,10 @@
224 225 case 'text': $enable_options = ['align','typo','color','background','border','border_radius','padding','shadow','transition'];
225 226 break;
226 227 case 'full': $enable_options = ['margin','align','typo','color','background','border','border_radius','padding','shadow','transition'];
227 228 break;
228 - deafult: $enable_options = ['margin','align','typo','color','background','border','border_radius','padding','shadow','transition'];
229 + default: $enable_options = ['margin','align','typo','color','background','border','border_radius','padding','shadow','transition'];
230 +
229 231 break;
230 232 }
231 233 }
232 234
@@ -830,8 +832,9 @@
830 832 str_replace( 'selector', '.elementor-element.elementor-element-' . $this->get_id(), $custom_css ).
831 833 '/* End custom CSS */';
832 834
833 835
836 + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped, WordPress.WP.I18n.NonSingularStringLiteralText
834 837 echo '<style>'.wmvc_xss_clean($custom_css_file).'</style>';
835 838 }
836 839
837 840 private function break_css($css)
@@ -953,8 +956,9 @@
953 956 ],
954 957 ],
955 958 'default' => '1',
956 959 'toggle' => false,
960 + /* translators: 1: Tag with link open, 2: close link tag. */
957 961 'description' => '<span class="wdk_control_get_pro">'.wdk_sprintf(esc_html__(' %1$sGet our Addons%2$s for more awesome elements and powerful features!','wpdirectorykit'),'<a href="//wpdirectorykit.com/plugins.html" target="_blank">','</a>').'</span>'
958 962
959 963 ]
960 964 );
@@ -967,8 +971,10 @@
967 971 $this->add_inline_editing_attributes( $key, $toolbar );
968 972 foreach ($attr as $key_attr => $value_attr) {
969 973 $this->add_render_attribute( $key, $key_attr, $value_attr );
970 974 }
975 +
976 + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped, WordPress.WP.I18n.NonSingularStringLiteralText
971 977 echo $this->get_render_attribute_string( $key );
972 978 }
973 979
974 -}
980 +}