Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion classes/helpers/FrmAppHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class FrmAppHelper {
*
* @var string
*/
public static $plug_version = '6.13';
public static $plug_version = '6.14';

/**
* @var bool
Expand Down
2 changes: 1 addition & 1 deletion classes/helpers/FrmFieldsHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -1530,7 +1530,7 @@ public static function switch_field_ids( $val ) {
/**
* Removes exception strings from replacement arrays and replaces the rest in the provided value string.
*
* @since x.x
* @since 6.14
*
* @param array $replace Values to be replaced.
* @param array $replace_with Replacement values.
Expand Down
16 changes: 8 additions & 8 deletions classes/helpers/FrmStylesHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ public static function output_vars( $settings, $defaults = array(), $vars = arra
/**
* Prepare the value for a CSS variable.
*
* @since x.x
* @since 6.14
*
* @param array $settings An array of css style.
* @param string $key
Expand Down Expand Up @@ -563,7 +563,7 @@ public static function get_settings_for_output( $style ) {
/**
* Update the "Base Font Size" value from "Quick Settings across multiple settings values".
*
* @since x.x
* @since 6.14
*
* @param array $settings An array of css style.
*
Expand Down Expand Up @@ -604,7 +604,7 @@ function ( $key ) use ( $defaults, $font_size, $base_font_size, &$settings ) {
/**
* Get style font size scale value.
*
* @since x.x
* @since 6.14
*
* @return float
*/
Expand Down Expand Up @@ -751,7 +751,7 @@ public static function get_list_url( $form_id ) {
/**
* Get the back button args from Style settings.
*
* @since x.x
* @since 6.14
*
* @param stdClass|WP_Post $style
* @param int $form_id
Expand Down Expand Up @@ -870,7 +870,7 @@ function ( $value ) {
/**
* Check if the current page is the advanced settings page.
*
* @since x.x
* @since 6.14
*
* @return bool True if is advanced settings, false otherwise.
*/
Expand All @@ -880,9 +880,9 @@ public static function is_advanced_settings() {

/**
* Retrieve the background image URL of the submit button.
* It may be either a full URL string (used in versions prior to x.x) or a numeric attachment ID (introduced in version x.x).
* It may be either a full URL string (used in versions prior to 6.14) or a numeric attachment ID (introduced in version 6.14).
*
* @since x.x
* @since 6.14
*
* @param array $settings
* @return false|string Return image url or false.
Expand All @@ -892,7 +892,7 @@ public static function get_submit_image_bg_url( $settings ) {
if ( empty( $background_image ) ) {
return false;
}
// Handle the case where the submit_bg_img is a full URL string. If the settings were saved with the older styler version prior to x.x, the submit_bg_img will be a full URL string.
// Handle the case where the submit_bg_img is a full URL string. If the settings were saved with the older styler version prior to 6.14, the submit_bg_img will be a full URL string.
if ( ! is_numeric( $background_image ) ) {
return $background_image;
}
Expand Down
2 changes: 1 addition & 1 deletion classes/helpers/FrmStylesPreviewHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ public static function disable_conflicting_wp_admin_css( $styles ) {
* Fix the "Width" from Fields Settings to get reflected on each style preview ajax update.
* Fix the Radio & Checkbox "Single Row" or "Multiple Row" to get reflected in style preview ajax update.
*
* @since x.x
* @since 6.14
*
* @param array $settings The style options.
* @param bool $is_preview
Expand Down
4 changes: 2 additions & 2 deletions classes/models/FrmStyle.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class FrmStyle {
/**
* The meta name of default template style.
*
* @since x.x
* @since 6.14
* @var string
*/
private $default_template_style_meta_name = 'frm_style_default';
Expand Down Expand Up @@ -808,7 +808,7 @@ public function force_balanced_quotation( $value ) {
/**
* Get the default template style
*
* @since x.x
* @since 6.14
* @param int $style_id The post type "frm_styles" ID.
*
* @return string The json encoded template data
Expand Down
6 changes: 3 additions & 3 deletions classes/views/styles/components/FrmAlignStyleComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class FrmAlignStyleComponent extends FrmStyleComponent {
/**
* The view file name.
*
* @since x.x
* @since 6.14
*
* @var string
*/
Expand All @@ -16,7 +16,7 @@ class FrmAlignStyleComponent extends FrmStyleComponent {
/**
* Construct the FrmAlignStyleComponent.
*
* @since x.x
* @since 6.14
*/
public function __construct( $field_name, $field_value, $data ) {
$this->init( $data, $field_name, $field_value );
Expand All @@ -25,7 +25,7 @@ public function __construct( $field_name, $field_value, $data ) {
/**
* Get the wrapper classname.
*
* @since x.x
* @since 6.14
*
* @return string
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class FrmBackgroundImageStyleComponent extends FrmStyleComponent {
/**
* The view file name.
*
* @since x.x
* @since 6.14
*
* @var string
*/
Expand All @@ -16,7 +16,7 @@ class FrmBackgroundImageStyleComponent extends FrmStyleComponent {
/**
* Construct FrmBackgroundImageStyleComponent.
*
* @since x.x
* @since 6.14
*/
public function __construct( $field_name, $field_value, $data ) {
$this->init( $data, $field_name, $field_value );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class FrmColorpickerStyleComponent extends FrmStyleComponent {
/**
* The view file name.
*
* @since x.x
* @since 6.14
*
* @var string
*/
Expand All @@ -16,7 +16,7 @@ class FrmColorpickerStyleComponent extends FrmStyleComponent {
/**
* Construct FrmColorpickerStyleComponent.
*
* @since x.x
* @since 6.14
*/
public function __construct( $field_name, $field_value, $data ) {
$this->init( $data, $field_name, $field_value );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class FrmDirectionStyleComponent extends FrmStyleComponent {
/**
* The view file name.
*
* @since x.x
* @since 6.14
*
* @var string
*/
Expand All @@ -16,7 +16,7 @@ class FrmDirectionStyleComponent extends FrmStyleComponent {
/**
* Construct FrmDirectionStyleComponent.
*
* @since x.x
* @since 6.14
*/
public function __construct( $field_name, $field_value, $data ) {
$this->init( $data, $field_name, $field_value );
Expand Down
4 changes: 2 additions & 2 deletions classes/views/styles/components/FrmDropdownStyleComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class FrmDropdownStyleComponent extends FrmStyleComponent {
/**
* The view file name.
*
* @since x.x
* @since 6.14
*
* @var string
*/
Expand All @@ -16,7 +16,7 @@ class FrmDropdownStyleComponent extends FrmStyleComponent {
/**
* Construct FrmDropdownStyleComponent.
*
* @since x.x
* @since 6.14
*/
public function __construct( $field_name, $field_value, $data ) {
$this->init( $data, $field_name, $field_value );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class FrmFieldShapeStyleComponent extends FrmStyleComponent {
/**
* The view file name.
*
* @since x.x
* @since 6.14
*
* @var string
*/
Expand All @@ -16,7 +16,7 @@ class FrmFieldShapeStyleComponent extends FrmStyleComponent {
/**
* Construct the FrmFieldShapeStyleComponent.
*
* @since x.x
* @since 6.14
*/
public function __construct( $field_name, $field_value, $data ) {
$this->init( $data, $field_name, $field_value );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class FrmPrimaryColorStyleComponent extends FrmStyleComponent {
/**
* The view file name.
*
* @since x.x
* @since 6.14
*
* @var string
*/
Expand All @@ -16,7 +16,7 @@ class FrmPrimaryColorStyleComponent extends FrmStyleComponent {
/**
* Construct FrmPrimaryColorStyleComponent.
*
* @since x.x
* @since 6.14
*/
public function __construct( $field_name, $field_value, $data ) {
$this->init( $data, $field_name, $field_value );
Expand Down
14 changes: 7 additions & 7 deletions classes/views/styles/components/FrmSliderStyleComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class FrmSliderStyleComponent extends FrmStyleComponent {
/**
* The view file name.
*
* @since x.x
* @since 6.14
*
* @var string
*/
Expand All @@ -16,7 +16,7 @@ class FrmSliderStyleComponent extends FrmStyleComponent {
/**
* The FrmStyleComponent data.
*
* @since x.x
* @since 6.14
*
* @var array
*/
Expand Down Expand Up @@ -61,7 +61,7 @@ private function get_units_list( $data ) {
/**
* Init components default values
*
* @since x.x
* @since 6.14
*
* @return void
*/
Expand All @@ -73,7 +73,7 @@ private function init_defaults() {
* Init the slider multiple values data. It works with sliders which has multiple values only: top&bottom and left&right.
* This is used for cases when there are 4 sliders in the same field.
*
* @since x.x
* @since 6.14
*
* @return array
*/
Expand Down Expand Up @@ -123,7 +123,7 @@ private function init_multiple_values() {
* Split the field value by space from string to an array.
* For instance: '10px 20px 30px 40px' will be converted to array( '10px', '20px', '30px', '40px' ).
*
* @since x.x
* @since 6.14
*
* @return array
*/
Expand All @@ -135,7 +135,7 @@ private function get_values() {
* Detect the unit measurement from the value.
* Possible values are: px, %, em.
*
* @since x.x
* @since 6.14
*
* @return string
*/
Expand All @@ -157,7 +157,7 @@ private function detect_unit_measurement( $value = null ) {
/**
* Init the field icon
*
* @since x.x
* @since 6.14
*
* @return array
*/
Expand Down
Loading