Skip to content

Commit

Permalink
prep for version 1.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
billerickson committed Jan 3, 2017
1 parent c87a854 commit c57bc25
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 11 deletions.
17 changes: 16 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
# Change Log
All notable changes to this project will be documented in this file, formatted via [this recommendation](http://keepachangelog.com/).

## [1.8.0] = 2017-01-03
### Added
- Added `ea_share_count_display_wrap_format` filter, see #75
- Allow unique styling for each instance, see #78
- Added `ea_share_count_link_url` filter, see #80

### Fixed
- Update handling of Pinterest API response, see #64
- Strip tags from title before using in URL, see #71
- Simplified the image attribute, see #74
- Ensure icon styling only targets icons, see #70
- Removed nonce from email modal, see #69
- Properly receive HTTP requests to prevent errors, see #68
- Fix slim styling display, see #66

## [1.7.1] = 2016-08-24
### Fixed
- Issue with Facebook comment count parsing, see #63
Expand Down Expand Up @@ -173,4 +188,4 @@ All notable changes to this project will be documented in this file, formatted v
- Inline documentation

## [1.0.0] - 2015-03-10
- Initial Commit
- Initial Commit
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
**Contributors:** jaredatch, billerickson
**Tags:** facebook, linkedin, pinterest, share, share buttons, social, stumbleupon, twitter
**Requires at least:** 4.1
**Tested up to:** 4.6.0
**Stable tag:** 1.7.1
**Tested up to:** 4.7.0
**Stable tag:** 1.8.0
**License:** GPLv2 or later
**License URI:** http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -47,8 +47,10 @@ You can also use the ea_share() function to access any of the internal methods.
There are also many filters in place to customize the plugin. [Here are some code snippets](http://www.billerickson.net/code-tag/ea-share-count/).

* `ea_share_count_display` Customize what is displayed in the share count area.
* `ea_share_count_display_wrap_format` Customize the wrapping class and format of share count area.
* `ea_share_count_theme_locations` Specify which hooks/filters are used for the "Before Content" and "After Content" share buttons. See [the code](https://github.com/jaredatch/EA-Share-Count/blob/master/includes/class-front.php#L38) for more information.
* `ea_share_count_link` An array of elements used to form the share link. See [the code](https://github.com/jaredatch/EA-Share-Count/blob/master/includes/class-front.php#L442) for more information.
* `ea_share_count_link_url` The URL being shared
* `ea_share_count_default_image` Default image used by Pinterest for generic URLs.
* `ea_share_count_single_image` Image used by Pinterest for singular content (post, page...). Set to Featured Image by default.
* `ea_share_count_site_url` What URL is used if you specify 'site' as the ID. Defaults to home_url().
Expand Down
16 changes: 8 additions & 8 deletions ea-share-count.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* GitHub URI: jaredatch/EA-Share-Count
* Description: A lean plugin for quickly retrieving, caching, and displaying various social sharing counts and buttons.
* Author: Bill Erickson & Jared Atchison
* Version: 1.7.1
* Version: 1.8.0
*
* EA Share Count is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand All @@ -26,7 +26,7 @@
* @license GPL-2.0+
* @copyright Copyright (c) 2015
*/

// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) exit;

Expand All @@ -52,7 +52,7 @@ final class EA_Share_Count {
* @since 1.0.0
* @var string
*/
private $version = '1.7.1';
private $version = '1.8.0';

/**
* Core instance
Expand All @@ -77,8 +77,8 @@ final class EA_Share_Count {
* @var object
*/
public $front;
/**

/**
* Share Count Instance.
*
* @since 1.0.0
Expand All @@ -87,7 +87,7 @@ final class EA_Share_Count {
public static function instance() {

if ( ! isset( self::$instance ) && ! ( self::$instance instanceof EA_Share_Count ) ) {

self::$instance = new EA_Share_Count;
self::$instance->constants();
self::$instance->includes();
Expand Down Expand Up @@ -115,7 +115,7 @@ public function constants() {

// Base name
define( 'EA_SHARE_COUNT_BASE', plugin_basename( __FILE__ ) );

// Plugin root file
define( 'EA_SHARE_COUNT_FILE', __FILE__ );
}
Expand All @@ -137,7 +137,7 @@ public function includes() {

/**
* Bootstap.
*
*
* @since 1.3.0
*/
public function init() {
Expand Down

0 comments on commit c57bc25

Please sign in to comment.