Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
steve-brett committed Nov 27, 2020
1 parent 9e25961 commit 4398b57
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion acf-limiter.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function __construct()
// settings
// - these will be passed into the field class.
$this->settings = array(
'version' => '1.0.0',
'version' => '1.3.0',
'url' => plugin_dir_url(__FILE__),
'path' => plugin_dir_path(__FILE__)
);
Expand Down
1 change: 0 additions & 1 deletion assets/js/limiter.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
(function ($) {
function characterLimit(currentField) {
progressBar = $(currentField).next(".progressBar");
console.log(progressBar);

chars = $(currentField)[0].value.length;

Expand Down
2 changes: 0 additions & 2 deletions fields/class-atomic-smash-acf-field-limiter-v5.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,6 @@ class="limiterField <?php echo $field['class']; ?>"
* @return n/a
*/


public function input_admin_enqueue_scripts()
{

Expand Down Expand Up @@ -277,7 +276,6 @@ public function input_admin_enqueue_scripts()
* @return $value (mixed) the modified value
*/


public function format_value($value, $post_id, $field)
{

Expand Down
6 changes: 3 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
=== Advanced Custom Fields: Limiter Field ===
Contributors: Atomic Smash
Tags: ACF, ACF5, ACF4, Advanced Custom Fields, Limiter, character number, word count
Requires at least: 3.6.0
Requires at least: 4.9.7
Tested up to: 5.5.3
Stable tag: trunk
License: GPLv2 or later
Expand Down Expand Up @@ -34,10 +34,10 @@ This has been tested in:

== Changelog ==

= 1.3.1 =
= 1.3.0 =
* Restructured plugin
* Fixed bug affecting field loading
* Remove support for ACF3
* Removed support for ACF3

= 1.2.1 =
* Added composer.json
Expand Down

0 comments on commit 4398b57

Please sign in to comment.