Plugin Directory

Changeset 1743657


Ignore:
Timestamp:
10/10/2017 02:55:52 AM (8 years ago)
Author:
nathanwebb
Message:

options was not displaying correct min_count

Location:
db-share-count/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • db-share-count/trunk/changelog.txt

    r1572193 r1743657  
    22
    33All notable changes to the project will be documented in this file.
     4
     5## [0.1.3]
     6### Fixed
     7 - Options was not displaying correct min_count
    48
    59## [0.1.2]
     
    1519### Added
    1620 - Initial release.
    17 
  • db-share-count/trunk/db_share_count.php

    r1572193 r1743657  
    44Plugin URI: https://github.com/Crasily/db_share_count
    55Description: Social share buttons with count
    6 Version: 0.1.2
     6Version: 0.1.3
    77Author: Nathan Webb
    88License: GPLv2 or later
  • db-share-count/trunk/dbsc_admin_options.php

    r1570844 r1743657  
    1919function dbsc_min_count_display() {
    2020  $options = get_option('dbsc_settings');
    21   $minCount = get_min_count();
    22   echo "<input type='number' name='dbsc_settings[dbsc_min_count_display]' value='{$minCount}'/>";
     21  $minCount = dbsc_get_min_count();
     22  echo "<input type='number' name='dbsc_settings[min_count_display]' value='{$minCount}'/>";
    2323}
    2424
    2525function dbsc_options_validate($input) {
    2626  $options = get_option('dbsc_settings');
    27   $options[dbsc_min_count_display] = absint($input[dbsc_min_count_display]);
     27  $options[min_count_display] = absint($input[min_count_display]);
    2828  return $options;
    2929}
  • db-share-count/trunk/readme.txt

    r1572197 r1743657  
    33Tags: social share count, social share, share counter, social icons
    44Requires at least: 4.0
    5 Tested up to: 4.6
     5Tested up to: 4.8
    66Stable tag: trunk
    77License: GPLv2 or later
     
    6868
    6969== Changelog ==
     70= 0.1.3 =
     71* Fixed options was not displaying correct min_count
     72
    7073= 0.1.2 =
    7174* Fixed readme.txt incorrect shortcode
Note: See TracChangeset for help on using the changeset viewer.