PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.18
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.18
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
← All changes | classes/models/FrmPluginSearch.php +0 -7 6.266.18 View file →
@@ -26,9 +26,8 @@
26 26 /**
27 27 * Add actions and filters only if this is the plugin installation screen and it's the first page.
28 28 *
29 29 * @since 4.12
30 - *
31 30 * @param object $screen WP Screen object.
32 31 *
33 32 * @return void
34 33 */
@@ -66,9 +65,8 @@
66 65 $addon_list = $this->get_addons();
67 66
68 67 // Lowercase, trim, remove punctuation/special chars, decode url, remove 'formidable'.
69 68 $normalized_term = $this->search_to_array( $args->search );
70 -
71 69 if ( empty( $normalized_term ) ) {
72 70 // Don't add anything extra.
73 71 return $result;
74 72 }
@@ -189,9 +187,8 @@
189 187 /**
190 188 * Modify URL used to fetch to plugin information so it pulls Formidable plugin page.
191 189 *
192 190 * @since 4.12
193 - *
194 191 * @param string $url URL to load in dialog pulling the plugin page from wporg.
195 192 *
196 193 * @return string The URL with 'formidable' instead of 'frm-plugin-search'.
197 194 */
@@ -207,9 +204,8 @@
207 204 * @return void
208 205 */
209 206 private function maybe_dismiss() {
210 207 $addon = FrmAppHelper::get_param( 'frm-dismiss', '', 'get', 'absint' );
211 -
212 208 if ( ! empty( $addon ) ) {
213 209 $this->add_to_dismissed_hints( $addon );
214 210 }
215 211 }
@@ -266,9 +262,8 @@
266 262 * Take a raw search query and return something a bit more standardized and
267 263 * easy to work with.
268 264 *
269 265 * @param string $term The raw search term.
270 - *
271 266 * @return string A simplified/sanitized version.
272 267 */
273 268 private function sanitize_search_term( $term ) {
274 269 $term = strtolower( urldecode( $term ) );
@@ -285,9 +280,8 @@
285 280 /**
286 281 * @since 4.12
287 282 *
288 283 * @param string $terms
289 - *
290 284 * @return array
291 285 */
292 286 private function search_to_array( $terms ) {
293 287 $terms = $this->sanitize_search_term( $terms );
@@ -356,9 +350,8 @@
356 350 }
357 351
358 352 /**
359 353 * @param string $plugin
360 - *
361 354 * @return bool
362 355 */
363 356 protected function is_installed( $plugin ) {
364 357 $all_plugins = FrmAppHelper::get_plugins();