|
@@ -163,7 +163,7 @@ discard block |
|
|
block discarded – undo |
|
163
|
163
|
/** |
|
164
|
164
|
* Add admin script to the no-conflict scripts whitelist |
|
165
|
165
|
* @param array $allowed Scripts allowed in no-conflict mode |
|
166
|
|
- * @return array Scripts allowed in no-conflict mode, plus the search widget script |
|
|
166
|
+ * @return string[] Scripts allowed in no-conflict mode, plus the search widget script |
|
167
|
167
|
*/ |
|
168
|
168
|
public function register_no_conflict( $allowed ) { |
|
169
|
169
|
$allowed[] = 'gravityview_searchwidget_admin'; |
|
@@ -977,7 +977,7 @@ discard block |
|
|
block discarded – undo |
|
977
|
977
|
/** |
|
978
|
978
|
* Require the datepicker script for the frontend GV script |
|
979
|
979
|
* @param array $js_dependencies Array of existing required scripts for the fe-views.js script |
|
980
|
|
- * @return array Array required scripts, with `jquery-ui-datepicker` added |
|
|
980
|
+ * @return string[] Array required scripts, with `jquery-ui-datepicker` added |
|
981
|
981
|
*/ |
|
982
|
982
|
public function add_datepicker_js_dependency( $js_dependencies ) { |
|
983
|
983
|
|
|
@@ -989,7 +989,7 @@ discard block |
|
|
block discarded – undo |
|
989
|
989
|
/** |
|
990
|
990
|
* Modify the array passed to wp_localize_script() |
|
991
|
991
|
* |
|
992
|
|
- * @param array $js_localization The data padded to the Javascript file |
|
|
992
|
+ * @param array $localizations The data padded to the Javascript file |
|
993
|
993
|
* @param array $view_data View data array with View settings |
|
994
|
994
|
* |
|
995
|
995
|
* @return array |
Please login to merge, or discard this patch.