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 | application/models/Settings_m.php +51 -18 1.5.3 → 1.5.9 View file →
@@ -166,8 +166,16 @@
166 166 'hint' => __('Disable the custom number format and use the default WordPress number formatting.', 'wpdirectorykit'),
167 167 'field_type' => 'CHECKBOX',
168 168 'rules' => '',
169 169 ),
170 + array(
171 + 'field' => 'wdk_disable_outline_on_focus',
172 + 'field_label' => __('Disable outline on focus', 'wpdirectorykit'),
173 + 'hint' => __('Removes the outline style from form elements when they are focused.', 'wpdirectorykit'),
174 + 'field_type' => 'CHECKBOX',
175 + 'rules' => '',
176 + ),
177 +
170 178 );
171 179
172 180 $this->fields_list_tabs['templates'] [] = array(
173 181 'field' => 'wdk_multilingual_float_language_picker',
@@ -172,10 +180,10 @@
172 180 $this->fields_list_tabs['templates'] [] = array(
173 181 'field' => 'wdk_multilingual_float_language_picker',
174 182 'field_label' => __('Float Language Picker', 'wpdirectorykit'),
175 183 'field_type' => 'CHECKBOX',
176 - 'hint' => __('Multilingual float language picker required WDK Multilingual addon', 'wpdirectorykit'),
177 - 'hint' => wdk_sprintf(__('Multilingual float language picker required %1$s WDK Multilingual addon%2$s','wpdirectorykit'),'<a target="_blank" href="https://wpdirectorykit.com/plugins.html">','</a>'),
184 + /* translators: 1: Tag with link open, 2: close link tag. */
185 + 'hint' => wdk_sprintf(__('Multilingual float language picker required %1$s WDK Multilingual addon%2$s','wpdirectorykit'),'<a target="_blank" href="https://wpdirectorykit.com/plugins.html">','</a>'),
178 186 'rules' => '',
179 187 );
180 188
181 189 /* Fields */
@@ -182,8 +190,17 @@
182 190 $this->fields_list_tabs['fields'] = array(
183 191 array('field' => 'wdk_seo_keywords', 'field_label' => __('SEO Listing Page Keywords', 'wpdirectorykit'), 'hint' => __('Set field for meta tag keywords', 'wpdirectorykit'), 'field_type' => 'DROPDOWN', 'values' => $fields_list, 'rules' => ''),
184 192 array('field' => 'wdk_seo_description', 'field_label' => __('SEO Listing Page Description', 'wpdirectorykit'), 'hint' => __('Set field for meta tag description', 'wpdirectorykit'), 'field_type' => 'DROPDOWN', 'values' => $fields_list, 'rules' => ''),
185 193
194 + array(
195 + 'field' => 'wdk_seo_listing_title',
196 + 'field_label' => __('SEO Title', 'wpdirectorykit'),
197 + 'field_type' => 'SEO_INPUTBOX',
198 + /* translators: 1: Example field title placeholders. */
199 + 'hint' => wdk_sprintf(__('Example: %1$s', 'wpdirectorykit'), '{field_title} - {field_location} - {field_33}'),
200 + 'rules' => '',
201 + ),
202 +
186 203 array(
187 204 'field' => 'wdk_multi_locations_search_field_type',
188 205 'field_label' => __('Location field Search', 'wpdirectorykit'),
189 206 'field_type' => 'RADIO',
@@ -353,9 +370,14 @@
353 370 $this->fields_list_tabs['apis'] = array(
354 371 array(
355 372 'field' => 'wdk_recaptcha_site_key',
356 373 'field_label' => __('Recaptcha site key', 'wpdirectorykit'),
357 - 'hint' => __('Please add Recaptcha site and Secret keys for enable recaptcha Add Google Recaptcha site key (use V2 recaptcha key)', 'wpdirectorykit').'. '.wdk_sprintf(__('Get key %1$s here %2$s','wpdirectorykit'),'<a target="_blank" href="https://www.google.com/recaptcha/admin">','</a>'),
374 + 'hint' => __('Please add Recaptcha site and Secret keys for enable recaptcha Add Google Recaptcha site key (use V2 recaptcha key)', 'wpdirectorykit') . '. ' . wdk_sprintf(
375 + /* translators: 1: Tag with link open, 2: close link tag. */
376 + __('Get key %1$s here %2$s', 'wpdirectorykit'),
377 + '<a target="_blank" href="https://www.google.com/recaptcha/admin">',
378 + '</a>'
379 + ),
358 380 'field_type' => 'INPUTBOX',
359 381 'rules' => '',
360 382 ),
361 383 array(
@@ -367,9 +389,14 @@
367 389 ),
368 390 array(
369 391 'field' => 'wdk_recaptcha_site_key_v3',
370 392 'field_label' => __('Recaptcha site key v3', 'wpdirectorykit'),
371 - 'hint' => __('Please add Recaptcha site and Secret keys for enable recaptcha Add Google Recaptcha site key (use V3 recaptcha key)', 'wpdirectorykit').'. '.wdk_sprintf(__('Get key %1$s here %2$s','wpdirectorykit'),'<a target="_blank" href="https://www.google.com/recaptcha/admin">','</a>'),
393 + 'hint' => __('Please add Recaptcha site and Secret keys for enable recaptcha Add Google Recaptcha site key (use V3 recaptcha key)', 'wpdirectorykit') . '. ' . wdk_sprintf(
394 + /* translators: 1: Tag with link open, 2: close link tag. */
395 + __('Get key %1$s here %2$s', 'wpdirectorykit'),
396 + '<a target="_blank" href="https://www.google.com/recaptcha/admin">',
397 + '</a>'
398 + ),
372 399 'field_type' => 'INPUTBOX',
373 400 'rules' => '',
374 401 ),
375 402 array(
@@ -381,9 +408,14 @@
381 408 ),
382 409 array(
383 410 'field' => 'wdk_geo_google_api_key',
384 411 'field_label' => __('Google API Key', 'wpdirectorykit'),
385 - 'hint' => __('Google API Key, for address to gps coordinates conversion', 'wpdirectorykit').'. '.wdk_sprintf(__('Get key %1$s here %2$s','wpdirectorykit'),'<a target="_blank" href="https://developers.google.com/maps/documentation/javascript/get-api-key">','</a>'),
412 + 'hint' => __('Google API Key, for address to gps coordinates conversion', 'wpdirectorykit') . '. ' . wdk_sprintf(
413 + /* translators: 1: Tag with link open, 2: close link tag. */
414 + __('Get key %1$s here %2$s', 'wpdirectorykit'),
415 + '<a target="_blank" href="https://developers.google.com/maps/documentation/javascript/get-api-key">',
416 + '</a>'
417 + ),
386 418 'field_type' => 'INPUTBOX',
387 419 'rules' => '',
388 420 ),
389 421 array(
@@ -518,54 +550,55 @@
518 550 /* Autosuggestion */
519 551 $this->fields_list_tabs['autosuggestion'] = array(
520 552 array(
521 553 'field' => 'wdk_autosuggestion_google_api_key',
522 - 'field_label' => __('Google Api Key', 'wdk-autosuggestion'),
554 + 'field_label' => __('Google Api Key', 'wpdirectorykit'),
523 555 'field_type' => 'INPUTBOX',
524 556 'rules' => '',
525 557 ),
526 558 array(
527 559 'field' => 'wdk_autosuggestion_google_cities',
528 - 'field_label' => __('Autosuggestion Google Cities', 'wdk-autosuggestion'),
560 + 'field_label' => __('Autosuggestion Google Cities', 'wpdirectorykit'),
529 561 'field_type' => 'TEXTAREA',
530 562 'rules' => '',
531 - 'hint' => __('Put selectors separate by comma, like .field_1,.field_3 (required Google Api Key)', 'wdk-autosuggestion'),
563 + 'hint' => __('Put selectors separate by comma, like .field_1,.field_3 (required Google Api Key)', 'wpdirectorykit'),
532 564 ),
533 565 array(
534 566 'field' => 'wdk_autosuggestion_google_countries',
535 - 'field_label' => __('Autosuggestion Google Countries', 'wdk-autosuggestion'),
567 + 'field_label' => __('Autosuggestion Google Countries', 'wpdirectorykit'),
536 568 'field_type' => 'TEXTAREA',
537 569 'rules' => '',
538 - 'hint' => __('Put selectors separate by comma, like .field_1,.field_3 (required Google Api Key)', 'wdk-autosuggestion'),
570 + 'hint' => __('Put selectors separate by comma, like .field_1,.field_3 (required Google Api Key)', 'wpdirectorykit'),
539 571 ),
540 572
541 573 array(
542 574 'field' => 'wdk_autosuggestion_rapidapi_api_key',
543 - 'field_label' => __('Rapidapi', 'wdk-autosuggestion'),
575 + 'field_label' => __('Rapidapi', 'wpdirectorykit'),
544 576 'field_type' => 'INPUTBOX',
545 577 'rules' => '',
546 - 'hint' => wdk_sprintf(__('Please add Rapid Api Key, Get key %1$s here %2$s, then activate GeoDB Cities API','wpdirectorykit'),'<a target="_blank" href="https://rapidapi.com/products/pricing/">','</a>'),
578 + /* translators: 1: Tag with link open, 2: close link tag. */
579 + 'hint' => wdk_sprintf(__('Please add Rapid Api Key, Get key %1$s here %2$s, then activate GeoDB Cities API','wpdirectorykit'),'<a target="_blank" href="https://rapidapi.com/products/pricing/">','</a>'),
547 580 ),
548 581 array(
549 582 'field' => 'wdk_autosuggestion_rapidapi_cities',
550 - 'field_label' => __('Autosuggestion Rapid Api Cities', 'wdk-autosuggestion'),
583 + 'field_label' => __('Autosuggestion Rapid Api Cities', 'wpdirectorykit'),
551 584 'field_type' => 'TEXTAREA',
552 585 'rules' => '',
553 - 'hint' => __('Put selectors separate by comma, like .field_1,.field_3 (required Rapid Api Key)', 'wdk-autosuggestion'),
586 + 'hint' => __('Put selectors separate by comma, like .field_1,.field_3 (required Rapid Api Key)', 'wpdirectorykit'),
554 587 ),
555 588 array(
556 589 'field' => 'wdk_autosuggestion_rapidapi_countries',
557 - 'field_label' => __('Autosuggestion Rapid Api Countries', 'wdk-autosuggestion'),
590 + 'field_label' => __('Autosuggestion Rapid Api Countries', 'wpdirectorykit'),
558 591 'field_type' => 'TEXTAREA',
559 592 'rules' => '',
560 - 'hint' => __('Put selectors separate by comma, like .field_1,.field_3 (required Rapid Api Key)', 'wdk-autosuggestion'),
593 + 'hint' => __('Put selectors separate by comma, like .field_1,.field_3 (required Rapid Api Key)', 'wpdirectorykit'),
561 594 ),
562 595 array(
563 596 'field' => 'wdk_autosuggestion_countriesapi_countries',
564 - 'field_label' => __('Autosuggestion REST Countries API Countries', 'wdk-autosuggestion'),
597 + 'field_label' => __('Autosuggestion REST Countries API Countries', 'wpdirectorykit'),
565 598 'field_type' => 'TEXTAREA',
566 599 'rules' => '',
567 - 'hint' => __('Put selectors separate by comma, like .field_1,.field_3', 'wdk-autosuggestion'),
600 + 'hint' => __('Put selectors separate by comma, like .field_1,.field_3', 'wpdirectorykit'),
568 601 ),
569 602 );
570 603
571 604 foreach ($this->fields_list_tabs as $tab_fields) {