PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.7.2
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.7.2
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/helpers/FrmFormsListHelper.php +12 -7 6.5.2 → 6.7.2 View file →
@@ -293,9 +293,9 @@
293 293 if ( method_exists( $this, 'column_' . $column_name ) ) {
294 294 $val = call_user_func( array( $this, 'column_' . $column_name ), $item ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
295 295 }
296 296 break;
297 - }
297 + }//end switch
298 298
299 299 if ( isset( $val ) ) {
300 300 $r .= "<td $attributes>";
301 301 $r .= $val;
@@ -301,9 +301,9 @@
301 301 $r .= $val;
302 302 $r .= '</td>';
303 303 }
304 304 unset( $val );
305 - }
305 + }//end foreach
306 306 $r .= '</tr>';
307 307
308 308 return $r;
309 309 }
@@ -320,10 +320,11 @@
320 320 protected function column_shortcode( $form ) {
321 321 $val = '<a href="#" class="frm-embed-form" role="button" aria-label="' . esc_html__( 'Embed Form', 'formidable' ) . '">' . FrmAppHelper::icon_by_class( 'frmfont frm_code_icon', array( 'echo' => false ) ) . '</a>';
322 322 $val .= $this->column_style( $form );
323 323 $val = apply_filters( 'frm_form_list_actions', $val, array( 'form' => $form ) );
324 - $val = str_replace( '&nbsp;', '', $val ); // Remove the space hard coded in Landing pages.
325 - $val = '<div>' . $val . '</div>';
324 + // Remove the space hard coded in Landing pages.
325 + $val = str_replace( '&nbsp;', '', $val );
326 + $val = '<div>' . $val . '</div>';
326 327 return $val;
327 328 }
328 329
329 330 /**
@@ -354,11 +355,11 @@
354 355 return '<a href="' . esc_url( $href ) . '" title="' . esc_attr( $style->post_title ) . '">' . FrmAppHelper::icon_by_class( 'frmfont frm_pallet_icon', array( 'echo' => false ) ) . '</a>';
355 356 }
356 357
357 358 /**
359 + * @param array $actions
360 + * @param object $item
358 361 * @param string $edit_link
359 - * @param array $actions
360 - * @param stdClass $item
361 362 *
362 363 * @return void
363 364 */
364 365 private function get_actions( &$actions, $item, $edit_link ) {
@@ -382,10 +383,12 @@
382 383 $actions['view'] = '<a href="' . esc_url( FrmFormsHelper::get_direct_link( $item->form_key, $item ) ) . '" target="_blank">' . __( 'Preview', 'formidable' ) . '</a>';
383 384 }
384 385
385 386 /**
387 + * @param object $item
388 + * @param array $actions
386 389 * @param string $edit_link
387 - * @param stdClass $item
390 + * @param string $mode
388 391 *
389 392 * @return string
390 393 */
391 394 private function get_form_name( $item, $actions, $edit_link, $mode = 'list' ) {
@@ -413,8 +416,9 @@
413 416 return $val;
414 417 }
415 418
416 419 /**
420 + * @param object $item
417 421 * @param string $val
418 422 *
419 423 * @return void
420 424 */
@@ -424,8 +428,9 @@
424 428 }
425 429 }
426 430
427 431 /**
432 + * @param object $item
428 433 * @param string $val
429 434 *
430 435 * @return void
431 436 */