PluginProbe
User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor / 4.0.3
User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor v4.0.3
4.0.3 4.0.2 4.0.1 4.0.0 3.16.6 3.16.5 3.16.4 3.16.3 3.16.2 3.16.1 3.16.0 3.15.9 3.9.9 3.9.5 3.9.6 3.9.7 3.9.8 1.1.7 1.1.8 1.1.9 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 All 341 releases
← All changes | assets/lib/wck-api/fields/text.php +15 -15 2.0.34.0.3 View file →
@@ -1,16 +1,16 @@
1 -<?php
2 - /* @param string $meta Meta name.
3 - * @param array $details Contains the details for the field.
4 - * @param string $value Contains input value;
5 - * @param string $context Context where the function is used. Depending on it some actions are preformed.;
6 - * @return string $element input element html string. */
7 -
8 -
9 -$element .= '<input type="text" name="'. esc_attr( Wordpress_Creation_Kit_PB::wck_generate_slug( $details['title'], $details ) ) .'" id="';
10 -if( !empty( $frontend_prefix ) )
11 - $element .= $frontend_prefix;
12 -$element .= esc_attr( Wordpress_Creation_Kit_PB::wck_generate_slug( $details['title'], $details ) ) .'"';
13 -if( !empty( $details['readonly'] ) && $details['readonly'] )
14 - $element .= 'readonly="readonly"';
15 -$element .= ' value="'. esc_attr( $value ) .'" class="mb-text-input mb-field"/>';
1 +<?php
2 + /* @param string $meta Meta name.
3 + * @param array $details Contains the details for the field.
4 + * @param string $value Contains input value;
5 + * @param string $context Context where the function is used. Depending on it some actions are preformed.;
6 + * @return string $element input element html string. */
7 +
8 +
9 +$element .= '<input type="text" name="'. $single_prefix . esc_attr( Wordpress_Creation_Kit_PB::wck_generate_slug( $details['title'], $details ) ) .'" id="';
10 +if( !empty( $frontend_prefix ) )
11 + $element .= $frontend_prefix;
12 +$element .= esc_attr( Wordpress_Creation_Kit_PB::wck_generate_slug( $details['title'], $details ) ) .'"';
13 +if( !empty( $details['readonly'] ) && $details['readonly'] )
14 + $element .= 'readonly="readonly"';
15 +$element .= ' value="'. esc_attr( $value ) .'" class="mb-text-input mb-field"/>';
16 16 ?>