Changeset 2415078
- Timestamp:
- 11/09/2020 10:38:04 AM (5 years ago)
- Location:
- advanced-custom-fields-number-slider
- Files:
-
- 8 edited
- 1 copied
-
tags/0.5.7 (copied) (copied from advanced-custom-fields-number-slider/trunk)
-
tags/0.5.7/acf-number-slider.php (modified) (7 diffs)
-
tags/0.5.7/number-slider-v5.php (modified) (10 diffs)
-
tags/0.5.7/readme.md (modified) (2 diffs)
-
tags/0.5.7/readme.txt (modified) (2 diffs)
-
trunk/acf-number-slider.php (modified) (7 diffs)
-
trunk/number-slider-v5.php (modified) (10 diffs)
-
trunk/readme.md (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
advanced-custom-fields-number-slider/tags/0.5.7/acf-number-slider.php
r2371244 r2415078 2 2 3 3 /* 4 Plugin Name: Advanced Custom Fields: Number Slider 5 Plugin URI: http://www.qstudio.us/plugins/ 6 Description: Number Slider field for Advanced Custom Fields 7 Version: 0.5.6 8 Author: Q Studio 9 Author URI: http://www.qstudio.us 10 License: GPLv2 or later 11 License URI: http://www.gnu.org/licenses/gpl-2.0.html 4 * Plugin Name: Advanced Custom Fields: Number Slider 5 * Plugin URI: https://qstudio.us 6 * Description: Number Slider field for Advanced Custom Fields 7 * Version: 0.5.7 8 * Author: Q Studio 9 * Author URI: https://qstudio.us 10 * License: GPLv3 or later 11 * License URI: http://www.gnu.org/licenses/gpl-2.0.html 12 * GitHub Plugin URI: qstudio/advanced-custom-fields-number-slider 12 13 */ 13 14 … … 17 18 */ 18 19 19 class acf_field_number_slider_plugin 20 { 20 class acf_field_number_slider_plugin{ 21 21 22 22 /* … … 26 26 * @since: 0.1 27 27 */ 28 function __construct() 29 { 28 public function __construct(){ 30 29 31 30 // set text domain 32 $domain = 'acf-number_slider'; 33 $mofile = trailingslashit( dirname(__FILE__)) . 'lang/' . $domain . '-' . get_locale() . '.mo'; 34 load_textdomain( $domain, $mofile ); 31 $mo_file = trailingslashit( dirname(__FILE__)) . 'lang/' . 'acf-number_slider' . '-' . get_locale() . '.mo'; 32 load_textdomain( 'acf-number_slider', $mo_file ); 35 33 36 34 // version 4+ … … 39 37 // version 3- 40 38 add_action( 'init', array( $this, 'init' )); 41 39 40 // add config ## 42 41 add_action('acf/include_field_types', array($this, 'include_field_types_number_slider')); 43 42 … … 52 51 * @created: 1/04/13 53 52 */ 54 function init()55 { 53 public function init(){ 54 56 55 if ( function_exists('register_field') ) { 57 56 … … 62 61 } 63 62 63 64 64 /* 65 65 * register_fields … … 69 69 * @created: 1/04/13 70 70 */ 71 function register_fields() 72 { 73 include_once('number-slider-v4.php'); 71 public function register_fields(){ 72 73 include_once('number-slider-v4.php'); 74 74 75 } 75 76 76 function include_field_types_number_slider( $version ) {77 public function include_field_types_number_slider( $version ) { 77 78 78 79 include_once('number-slider-v5.php'); -
advanced-custom-fields-number-slider/tags/0.5.7/number-slider-v5.php
r2371244 r2415078 51 51 'increment_value' => 1, 52 52 'slider_units' => "%", 53 'slider_append' => "", 53 54 'default_value' => 0, 54 55 ); … … 111 112 'name' => 'default_value', 112 113 )); 113 114 114 115 115 acf_render_field_setting( $field, array( … … 133 133 'name' => 'increment_value', 134 134 )); 135 136 acf_render_field_setting( $field, array( 137 'label' => __('Append','acf-number_slider'), 138 'instructions' => __('Appears after the input','acf-number_slider'), 139 'type' => 'text', 140 'name' => 'slider_append', 141 )); 135 142 136 143 … … 155 162 156 163 function render_field( $field ) { 157 158 159 // create a random ID ##160 164 161 165 $default = ( intval($field['default_value'] ) < intval($field['slider_min_value'] ) ) ? intval($field['default_value']) : intval($field['slider_min_value']); … … 166 170 <input type="text" value="<?php echo $value; ?>" name="<?php echo $field['name'] ?> " class="simple_slider" title="<?php echo $field['label'] ?>" data-slider="true" data-slider-highlight="true" data-slider-range="<?php echo $field['slider_min_value'] ?>,<?php echo $field['slider_max_value']; ?>" data-slider-step="<?php echo $field['increment_value']; ?>" data-slider-snap="true" data-units="<?php echo $field['slider_units']; ?>"/> 167 171 168 <p class="description slide"><?php echo $value; ?> <?php echo $field['slider_units']; ?></p>172 <p class="description slide"><?php echo $value; ?> <?php echo $field['slider_units']; ?></p> 169 173 170 174 <?php … … 191 195 function input_admin_enqueue_scripts() { 192 196 197 // get plugin directory ## 193 198 $dir = plugin_dir_url( __FILE__ ); 194 199 195 /* 196 197 // register & include JS 198 wp_register_script( 'acf-input-number_slider', "{$dir}js/input.js" ); 199 wp_enqueue_script('acf-input-number_slider'); 200 201 202 // register & include CSS 203 wp_register_style( 'acf-input-number_slider', "{$dir}css/input.css" ); 204 wp_enqueue_style('acf-input-number_slider'); 205 */ 206 207 208 // add JS ## 200 // add ACF JS ## 209 201 wp_enqueue_script( 'ss-input', $dir . 'js/input.js', array( 'jquery' ), $this->version, false ); 210 202 211 203 // add simple slider ## 212 204 wp_enqueue_script( 'jquery-simple-slider', $dir . 'js/simple-slider.js', array( 'jquery' ), $this->version, false ); 213 205 … … 217 209 218 210 } 219 220 221 222 /*223 * input_admin_head()224 *225 * This action is called in the admin_head action on the edit screen where your field is created.226 * Use this action to add CSS and JavaScript to assist your render_field() action.227 *228 * @type action (admin_head)229 * @since 3.6230 * @date 23/01/13231 *232 * @param n/a233 * @return n/a234 */235 236 /*237 238 function input_admin_head() {239 240 241 242 }243 244 */245 246 247 /*248 * input_form_data()249 *250 * This function is called once on the 'input' page between the head and footer251 * There are 2 situations where ACF did not load during the 'acf/input_admin_enqueue_scripts' and252 * 'acf/input_admin_head' actions because ACF did not know it was going to be used. These situations are253 * seen on comments / user edit forms on the front end. This function will always be called, and includes254 * $args that related to the current screen such as $args['post_id']255 *256 * @type function257 * @date 6/03/2014258 * @since 5.0.0259 *260 * @param $args (array)261 * @return n/a262 */263 264 /*265 266 function input_form_data( $args ) {267 268 269 270 }271 272 */273 274 275 /*276 * input_admin_footer()277 *278 * This action is called in the admin_footer action on the edit screen where your field is created.279 * Use this action to add CSS and JavaScript to assist your render_field() action.280 *281 * @type action (admin_footer)282 * @since 3.6283 * @date 23/01/13284 *285 * @param n/a286 * @return n/a287 */288 289 /*290 291 function input_admin_footer() {292 293 294 295 }296 297 */298 299 300 /*301 * field_group_admin_enqueue_scripts()302 *303 * This action is called in the admin_enqueue_scripts action on the edit screen where your field is edited.304 * Use this action to add CSS + JavaScript to assist your render_field_options() action.305 *306 * @type action (admin_enqueue_scripts)307 * @since 3.6308 * @date 23/01/13309 *310 * @param n/a311 * @return n/a312 */313 314 /*315 316 function field_group_admin_enqueue_scripts() {317 318 }319 320 */321 322 323 /*324 * field_group_admin_head()325 *326 * This action is called in the admin_head action on the edit screen where your field is edited.327 * Use this action to add CSS and JavaScript to assist your render_field_options() action.328 *329 * @type action (admin_head)330 * @since 3.6331 * @date 23/01/13332 *333 * @param n/a334 * @return n/a335 */336 /*337 338 function field_group_admin_head() {339 340 }341 342 */343 211 344 212 … … 381 249 function update_value( $value, $post_id, $field ) { 382 250 383 #logger($field['name']);384 #logger($value);385 386 return (int)$value;251 #logger($field['name']); 252 #logger($value); 253 254 return (int)$value; 387 255 388 256 } … … 408 276 409 277 function format_value( $value, $post_id, $field ) { 410 411 return (int)$value; 412 } 413 414 415 416 /* 417 * validate_value() 418 * 419 * This filter is used to perform validation on the value prior to saving. 420 * All values are validated regardless of the field's required setting. This allows you to validate and return 421 * messages to the user if the value is not correct 422 * 423 * @type filter 424 * @date 11/02/2014 425 * @since 5.0.0 426 * 427 * @param $valid (boolean) validation status based on the value and the field's required setting 428 * @param $value (mixed) the $_POST value 429 * @param $field (array) the field array holding all the field options 430 * @param $input (string) the corresponding input name for $_POST value 431 * @return $valid 432 */ 433 434 /* 435 436 function validate_value( $valid, $value, $field, $input ){ 437 438 // Basic usage 439 if( $value < $field['custom_minimum_setting'] ) 440 { 441 $valid = false; 442 } 443 444 445 // Advanced usage 446 if( $value < $field['custom_minimum_setting'] ) 447 { 448 $valid = __('The value is too little!','acf-number_slider'), 449 } 450 451 452 // return 453 return $valid; 454 455 } 456 457 */ 458 459 460 /* 461 * delete_value() 462 * 463 * This action is fired after a value has been deleted from the db. 464 * Please note that saving a blank value is treated as an update, not a delete 465 * 466 * @type action 467 * @date 6/03/2014 468 * @since 5.0.0 469 * 470 * @param $post_id (mixed) the $post_id from which the value was deleted 471 * @param $key (string) the $meta_key which the value was deleted 472 * @return n/a 473 */ 474 475 /* 476 477 function delete_value( $post_id, $key ) { 478 479 480 481 } 482 483 */ 278 279 // \willow\core\helper::log( $field ); 280 281 // check if we need to append a value ## 282 $append = isset( $field['slider_append'] ) ? $field['slider_append'] : ''; 283 284 // kick back value, with append - if set ## 285 return ( (int)$value ).' '.$append; 286 287 } 288 484 289 485 290 … … 497 302 */ 498 303 499 /*500 501 304 function load_field( $field ) { 502 305 503 306 return $field; 504 307 505 308 } 506 507 */508 509 510 /*511 * update_field()512 *513 * This filter is applied to the $field before it is saved to the database514 *515 * @type filter516 * @date 23/01/2013517 * @since 3.6.0518 *519 * @param $field (array) the field array holding all the field options520 * @return $field521 */522 523 /*524 525 function update_field( $field ) {526 527 return $field;528 529 }530 531 */532 533 534 /*535 * delete_field()536 *537 * This action is fired after a field is deleted from the database538 *539 * @type action540 * @date 11/02/2014541 * @since 5.0.0542 *543 * @param $field (array) the field array holding all the field options544 * @return n/a545 */546 547 /*548 549 function delete_field( $field ) {550 551 552 553 }554 555 */556 309 557 310 -
advanced-custom-fields-number-slider/tags/0.5.7/readme.md
r2371244 r2415078 1 # Advanced Custom Fields: Number Slider # 1 # Advanced Custom Fields: Number Slider # 2 2 **Contributors:** qlstudio 3 **Tags:** acf, advanced custom field, number, slider, slide, select, integer 4 **Requires at least:** 4.0.0 5 **Tested up to:** 5.5. 06 **Stable tag:** 0.5. 63 **Tags:** acf, advanced custom field, number, slider, slide, select, integer 4 **Requires at least:** 4.0.0 5 **Tested up to:** 5.5.3 6 **Stable tag:** 0.5.7 7 7 **License:** GPLv2 or later 8 8 **License URI:** http://www.gnu.org/licenses/gpl-2.0.html … … 64 64 ## Changelog ## 65 65 66 ### 0.5.7 ### 67 68 * Added append value to return string 69 66 70 ### 0.5.6 ### 67 71 -
advanced-custom-fields-number-slider/tags/0.5.7/readme.txt
r2371244 r2415078 1 1 === Advanced Custom Fields: Number Slider === 2 Contributors: qlstudio 3 Tags: acf, advanced custom field, number, slider, slide, select, integer 4 Requires at least: 4.0.0 5 Tested up to: 5.5. 06 Stable tag: 0.5. 67 License: GPLv3 or later 2 Contributors: qlstudio 3 Tags: acf, advanced custom field, number, slider, slide, select, integer 4 Requires at least: 4.0.0 5 Tested up to: 5.5.3 6 Stable tag: 0.5.7 7 License: GPLv3 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html 9 9 … … 61 61 == Changelog == 62 62 63 = 0.5.7 = 64 65 * Added append value to return string 66 63 67 = 0.5.6 = 64 68 -
advanced-custom-fields-number-slider/trunk/acf-number-slider.php
r2371244 r2415078 2 2 3 3 /* 4 Plugin Name: Advanced Custom Fields: Number Slider 5 Plugin URI: http://www.qstudio.us/plugins/ 6 Description: Number Slider field for Advanced Custom Fields 7 Version: 0.5.6 8 Author: Q Studio 9 Author URI: http://www.qstudio.us 10 License: GPLv2 or later 11 License URI: http://www.gnu.org/licenses/gpl-2.0.html 4 * Plugin Name: Advanced Custom Fields: Number Slider 5 * Plugin URI: https://qstudio.us 6 * Description: Number Slider field for Advanced Custom Fields 7 * Version: 0.5.7 8 * Author: Q Studio 9 * Author URI: https://qstudio.us 10 * License: GPLv3 or later 11 * License URI: http://www.gnu.org/licenses/gpl-2.0.html 12 * GitHub Plugin URI: qstudio/advanced-custom-fields-number-slider 12 13 */ 13 14 … … 17 18 */ 18 19 19 class acf_field_number_slider_plugin 20 { 20 class acf_field_number_slider_plugin{ 21 21 22 22 /* … … 26 26 * @since: 0.1 27 27 */ 28 function __construct() 29 { 28 public function __construct(){ 30 29 31 30 // set text domain 32 $domain = 'acf-number_slider'; 33 $mofile = trailingslashit( dirname(__FILE__)) . 'lang/' . $domain . '-' . get_locale() . '.mo'; 34 load_textdomain( $domain, $mofile ); 31 $mo_file = trailingslashit( dirname(__FILE__)) . 'lang/' . 'acf-number_slider' . '-' . get_locale() . '.mo'; 32 load_textdomain( 'acf-number_slider', $mo_file ); 35 33 36 34 // version 4+ … … 39 37 // version 3- 40 38 add_action( 'init', array( $this, 'init' )); 41 39 40 // add config ## 42 41 add_action('acf/include_field_types', array($this, 'include_field_types_number_slider')); 43 42 … … 52 51 * @created: 1/04/13 53 52 */ 54 function init()55 { 53 public function init(){ 54 56 55 if ( function_exists('register_field') ) { 57 56 … … 62 61 } 63 62 63 64 64 /* 65 65 * register_fields … … 69 69 * @created: 1/04/13 70 70 */ 71 function register_fields() 72 { 73 include_once('number-slider-v4.php'); 71 public function register_fields(){ 72 73 include_once('number-slider-v4.php'); 74 74 75 } 75 76 76 function include_field_types_number_slider( $version ) {77 public function include_field_types_number_slider( $version ) { 77 78 78 79 include_once('number-slider-v5.php'); -
advanced-custom-fields-number-slider/trunk/number-slider-v5.php
r2371244 r2415078 51 51 'increment_value' => 1, 52 52 'slider_units' => "%", 53 'slider_append' => "", 53 54 'default_value' => 0, 54 55 ); … … 111 112 'name' => 'default_value', 112 113 )); 113 114 114 115 115 acf_render_field_setting( $field, array( … … 133 133 'name' => 'increment_value', 134 134 )); 135 136 acf_render_field_setting( $field, array( 137 'label' => __('Append','acf-number_slider'), 138 'instructions' => __('Appears after the input','acf-number_slider'), 139 'type' => 'text', 140 'name' => 'slider_append', 141 )); 135 142 136 143 … … 155 162 156 163 function render_field( $field ) { 157 158 159 // create a random ID ##160 164 161 165 $default = ( intval($field['default_value'] ) < intval($field['slider_min_value'] ) ) ? intval($field['default_value']) : intval($field['slider_min_value']); … … 166 170 <input type="text" value="<?php echo $value; ?>" name="<?php echo $field['name'] ?> " class="simple_slider" title="<?php echo $field['label'] ?>" data-slider="true" data-slider-highlight="true" data-slider-range="<?php echo $field['slider_min_value'] ?>,<?php echo $field['slider_max_value']; ?>" data-slider-step="<?php echo $field['increment_value']; ?>" data-slider-snap="true" data-units="<?php echo $field['slider_units']; ?>"/> 167 171 168 <p class="description slide"><?php echo $value; ?> <?php echo $field['slider_units']; ?></p>172 <p class="description slide"><?php echo $value; ?> <?php echo $field['slider_units']; ?></p> 169 173 170 174 <?php … … 191 195 function input_admin_enqueue_scripts() { 192 196 197 // get plugin directory ## 193 198 $dir = plugin_dir_url( __FILE__ ); 194 199 195 /* 196 197 // register & include JS 198 wp_register_script( 'acf-input-number_slider', "{$dir}js/input.js" ); 199 wp_enqueue_script('acf-input-number_slider'); 200 201 202 // register & include CSS 203 wp_register_style( 'acf-input-number_slider', "{$dir}css/input.css" ); 204 wp_enqueue_style('acf-input-number_slider'); 205 */ 206 207 208 // add JS ## 200 // add ACF JS ## 209 201 wp_enqueue_script( 'ss-input', $dir . 'js/input.js', array( 'jquery' ), $this->version, false ); 210 202 211 203 // add simple slider ## 212 204 wp_enqueue_script( 'jquery-simple-slider', $dir . 'js/simple-slider.js', array( 'jquery' ), $this->version, false ); 213 205 … … 217 209 218 210 } 219 220 221 222 /*223 * input_admin_head()224 *225 * This action is called in the admin_head action on the edit screen where your field is created.226 * Use this action to add CSS and JavaScript to assist your render_field() action.227 *228 * @type action (admin_head)229 * @since 3.6230 * @date 23/01/13231 *232 * @param n/a233 * @return n/a234 */235 236 /*237 238 function input_admin_head() {239 240 241 242 }243 244 */245 246 247 /*248 * input_form_data()249 *250 * This function is called once on the 'input' page between the head and footer251 * There are 2 situations where ACF did not load during the 'acf/input_admin_enqueue_scripts' and252 * 'acf/input_admin_head' actions because ACF did not know it was going to be used. These situations are253 * seen on comments / user edit forms on the front end. This function will always be called, and includes254 * $args that related to the current screen such as $args['post_id']255 *256 * @type function257 * @date 6/03/2014258 * @since 5.0.0259 *260 * @param $args (array)261 * @return n/a262 */263 264 /*265 266 function input_form_data( $args ) {267 268 269 270 }271 272 */273 274 275 /*276 * input_admin_footer()277 *278 * This action is called in the admin_footer action on the edit screen where your field is created.279 * Use this action to add CSS and JavaScript to assist your render_field() action.280 *281 * @type action (admin_footer)282 * @since 3.6283 * @date 23/01/13284 *285 * @param n/a286 * @return n/a287 */288 289 /*290 291 function input_admin_footer() {292 293 294 295 }296 297 */298 299 300 /*301 * field_group_admin_enqueue_scripts()302 *303 * This action is called in the admin_enqueue_scripts action on the edit screen where your field is edited.304 * Use this action to add CSS + JavaScript to assist your render_field_options() action.305 *306 * @type action (admin_enqueue_scripts)307 * @since 3.6308 * @date 23/01/13309 *310 * @param n/a311 * @return n/a312 */313 314 /*315 316 function field_group_admin_enqueue_scripts() {317 318 }319 320 */321 322 323 /*324 * field_group_admin_head()325 *326 * This action is called in the admin_head action on the edit screen where your field is edited.327 * Use this action to add CSS and JavaScript to assist your render_field_options() action.328 *329 * @type action (admin_head)330 * @since 3.6331 * @date 23/01/13332 *333 * @param n/a334 * @return n/a335 */336 /*337 338 function field_group_admin_head() {339 340 }341 342 */343 211 344 212 … … 381 249 function update_value( $value, $post_id, $field ) { 382 250 383 #logger($field['name']);384 #logger($value);385 386 return (int)$value;251 #logger($field['name']); 252 #logger($value); 253 254 return (int)$value; 387 255 388 256 } … … 408 276 409 277 function format_value( $value, $post_id, $field ) { 410 411 return (int)$value; 412 } 413 414 415 416 /* 417 * validate_value() 418 * 419 * This filter is used to perform validation on the value prior to saving. 420 * All values are validated regardless of the field's required setting. This allows you to validate and return 421 * messages to the user if the value is not correct 422 * 423 * @type filter 424 * @date 11/02/2014 425 * @since 5.0.0 426 * 427 * @param $valid (boolean) validation status based on the value and the field's required setting 428 * @param $value (mixed) the $_POST value 429 * @param $field (array) the field array holding all the field options 430 * @param $input (string) the corresponding input name for $_POST value 431 * @return $valid 432 */ 433 434 /* 435 436 function validate_value( $valid, $value, $field, $input ){ 437 438 // Basic usage 439 if( $value < $field['custom_minimum_setting'] ) 440 { 441 $valid = false; 442 } 443 444 445 // Advanced usage 446 if( $value < $field['custom_minimum_setting'] ) 447 { 448 $valid = __('The value is too little!','acf-number_slider'), 449 } 450 451 452 // return 453 return $valid; 454 455 } 456 457 */ 458 459 460 /* 461 * delete_value() 462 * 463 * This action is fired after a value has been deleted from the db. 464 * Please note that saving a blank value is treated as an update, not a delete 465 * 466 * @type action 467 * @date 6/03/2014 468 * @since 5.0.0 469 * 470 * @param $post_id (mixed) the $post_id from which the value was deleted 471 * @param $key (string) the $meta_key which the value was deleted 472 * @return n/a 473 */ 474 475 /* 476 477 function delete_value( $post_id, $key ) { 478 479 480 481 } 482 483 */ 278 279 // \willow\core\helper::log( $field ); 280 281 // check if we need to append a value ## 282 $append = isset( $field['slider_append'] ) ? $field['slider_append'] : ''; 283 284 // kick back value, with append - if set ## 285 return ( (int)$value ).' '.$append; 286 287 } 288 484 289 485 290 … … 497 302 */ 498 303 499 /*500 501 304 function load_field( $field ) { 502 305 503 306 return $field; 504 307 505 308 } 506 507 */508 509 510 /*511 * update_field()512 *513 * This filter is applied to the $field before it is saved to the database514 *515 * @type filter516 * @date 23/01/2013517 * @since 3.6.0518 *519 * @param $field (array) the field array holding all the field options520 * @return $field521 */522 523 /*524 525 function update_field( $field ) {526 527 return $field;528 529 }530 531 */532 533 534 /*535 * delete_field()536 *537 * This action is fired after a field is deleted from the database538 *539 * @type action540 * @date 11/02/2014541 * @since 5.0.0542 *543 * @param $field (array) the field array holding all the field options544 * @return n/a545 */546 547 /*548 549 function delete_field( $field ) {550 551 552 553 }554 555 */556 309 557 310 -
advanced-custom-fields-number-slider/trunk/readme.md
r2371244 r2415078 1 # Advanced Custom Fields: Number Slider # 1 # Advanced Custom Fields: Number Slider # 2 2 **Contributors:** qlstudio 3 **Tags:** acf, advanced custom field, number, slider, slide, select, integer 4 **Requires at least:** 4.0.0 5 **Tested up to:** 5.5. 06 **Stable tag:** 0.5. 63 **Tags:** acf, advanced custom field, number, slider, slide, select, integer 4 **Requires at least:** 4.0.0 5 **Tested up to:** 5.5.3 6 **Stable tag:** 0.5.7 7 7 **License:** GPLv2 or later 8 8 **License URI:** http://www.gnu.org/licenses/gpl-2.0.html … … 64 64 ## Changelog ## 65 65 66 ### 0.5.7 ### 67 68 * Added append value to return string 69 66 70 ### 0.5.6 ### 67 71 -
advanced-custom-fields-number-slider/trunk/readme.txt
r2371244 r2415078 1 1 === Advanced Custom Fields: Number Slider === 2 Contributors: qlstudio 3 Tags: acf, advanced custom field, number, slider, slide, select, integer 4 Requires at least: 4.0.0 5 Tested up to: 5.5. 06 Stable tag: 0.5. 67 License: GPLv3 or later 2 Contributors: qlstudio 3 Tags: acf, advanced custom field, number, slider, slide, select, integer 4 Requires at least: 4.0.0 5 Tested up to: 5.5.3 6 Stable tag: 0.5.7 7 License: GPLv3 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html 9 9 … … 61 61 == Changelog == 62 62 63 = 0.5.7 = 64 65 * Added append value to return string 66 63 67 = 0.5.6 = 64 68
Note: See TracChangeset
for help on using the changeset viewer.