plugin updates

This commit is contained in:
Tony Volpe
2024-08-07 16:35:46 +00:00
parent 8734babf54
commit 36dc023d6d
195 changed files with 11094 additions and 2509 deletions

View File

@@ -3164,7 +3164,7 @@ abstract class GFPaymentAddOn extends GFFeedAddOn {
esc_html__( 'Feb', 'gravityforms' ),
esc_html__( 'Mar', 'gravityforms' ),
esc_html__( 'Apr', 'gravityforms' ),
esc_html__( 'May', 'gravityforms' ),
esc_html_x( 'May', 'Abbreviated month name', 'gravityforms' ),
esc_html__( 'Jun', 'gravityforms' ),
esc_html__( 'Jul', 'gravityforms' ),
esc_html__( 'Aug', 'gravityforms' ),

View File

@@ -38,7 +38,7 @@ class GF_Config_I18n extends GF_Config {
'february' => esc_html__( 'February', 'gravityforms' ),
'march' => esc_html__( 'March', 'gravityforms' ),
'april' => esc_html__( 'April', 'gravityforms' ),
'may' => esc_html__( 'May', 'gravityforms' ),
'may' => esc_html_x('May', 'Full month name', 'gravityforms'),
'june' => esc_html__( 'June', 'gravityforms' ),
'july' => esc_html__( 'July', 'gravityforms' ),
'august' => esc_html__( 'August', 'gravityforms' ),

View File

@@ -32,7 +32,7 @@ class Field_Select extends Select {
*/
public $args = array();
protected $fields_callback;
public $fields_callback;
/**
* Initialize Field Select field.

View File

@@ -109,7 +109,8 @@ class GF_Splash_Page {
*/
public function admin_title( $title ) {
if ( $this->is_splash_page() ) {
$title = __( 'About', 'gravityforms' ) . ' ' . $this->about_version . ' - Gravity Forms';
/* translators: About page title. 1: Version number. */
$title = sprintf( __( 'About %1$s ‹ System Status ‹ Gravity Forms — WordPress', 'gravityforms' ), $this->about_version );
}
return $title;
}

View File

@@ -1765,7 +1765,7 @@ return array(
'displayOnly' => true,
'formId' => 8,
'description' => esc_html__(
'To accept donations via this form you will need to install one of our payment add-ons. To learn more about your payment add-on options, visit the following page (https://www.gravityforms.com/blog/payment-add-ons). Important: Delete this tip before you publish the form.',
'To accept donations on this form you will need to install one of our payment add-ons. To learn more about your payment add-on options, visit the following page (https://www.gravityforms.com/blog/payment-add-ons). Important: Delete this tip before you publish the form.',
'gravityforms'
),
'allowsPrepopulate' => false,

View File

@@ -54,9 +54,10 @@ class Form_CSS_Properties_Output_Engine extends Output_Engine {
}, 999, 2 );
// Confirmations get processed too early to inject the script tag; inject via regex after render instead.
add_filter( 'gform_get_form_confirmation_filter', function( $markup, $form ) use ( $self ) {
$custom_selector = sprintf( '<style>#gform_confirmation_wrapper_%d.gform-theme{', $form['id'] );
$props_block = $self->generate_props_block( $form['id'], $form, $custom_selector );
add_filter( 'gform_get_form_confirmation_filter', function ( $markup, $form ) use ( $self ) {
$form_id = (int) rgar( $form, 'id' );
$custom_selector = sprintf( '<style>#gform_confirmation_wrapper_%d.gform-theme{', $form_id );
$props_block = $self->generate_props_block( $form_id, $form, $custom_selector );
$processed_hash = md5( json_encode( $form ) );
@@ -65,7 +66,9 @@ class Form_CSS_Properties_Output_Engine extends Output_Engine {
self::$processed_tracker[] = $processed_hash;
}
return preg_replace( '/gform_confirmation_wrapper[^<]*/', '$0 ' . $props_block, $markup );
$target = sprintf( "<div id='gform_confirmation_message_%d", $form_id );
return str_replace( $target, $props_block . $target, $markup );
}, 999, 2 );
}