Skip to content

Commit

Permalink
Merge pull request #29 from mundschenk-at/meta
Browse files Browse the repository at this point in the history
Release 1.1.0
  • Loading branch information
mundschenk-at authored Jun 10, 2018
2 parents 68e6311 + b8c8ad1 commit d970431
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 26 deletions.
8 changes: 3 additions & 5 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
checks:
php: true

filter:
paths:
- 'avatar-privacy.php'
Expand Down Expand Up @@ -35,11 +38,6 @@ build:
- php-scrutinizer-run --enable-security-analysis
- phpcs-run --standard=phpcs.xml avatar-privacy.php admin/ public/ includes/ --extensions=php

checks:
php:
code_rating: true
duplication: true

tools:
php_code_sniffer: false
php_cs_fixer: false
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## 1.1.0 (2018-06-10)
* _Feature_: Supports the new privacy tools on WordPress >= 4.9.6 (export and
deletion of personal data, suggested privacy notice text).
* _Feature_: Registered users can opt into allowing logged-out comments with the
same mail address to user their profile pictures.
* _Feature_: The plugin is now compatible with bbPress.
* _Change_: Trashed comments and comments marked as spam do not trigger a validation
request to Gravatar.com if the admin has set the default gravatar use policy
to "enabled" via the filter hook `avatar_privacy_gravatar_use_default`.

## 1.0.7 (2018-06-06)
* _Bugfix_: The `use_gravatar` is actually checked when the cookie has been set.
* _Bugfix_: A (harmless) PHP warning has been fixed.
Expand Down
18 changes: 0 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,6 @@ The plugin's features summed up:

A more detailed examination of the [reasons for using Avatar Privacy](https://code.mundschenk.at/avatar-privacy/reasons/) can be found on the plugin homepage.

## Uninstallation

There is a difference between deactivating the plugin and uninstalling it. The plugin gets deactivated if you do so on the plugins page or if you simply delete the plugin files via FTP. No uninstallation tasks are performed then, so you can activate and deactivate the plugin as you want without losing the plugin's settings.

If you deactivate the plugin und have gravatars turned on, they will again show up for everybody, even those commenters and users who opted out of displaying gravatars. If you changed the default avatar to one of the new local avatar images, the gravatars will not be displayed until you change the default avatar image back.

If you want to completely uninstall the plugin and get rid of any data in the database, you should properly uninstall it: Deactivate the plugin first via the WordPress plugins page and then click 'delete' (same page, next to the plugin). For multisite installations, this has to be done by the network administrator on the network plugins page.

The plugin saves additional data about whether commenters and users want to display a gravatar or not (if you select that mode in the settings). The following data are saved and deleted upon uninstallation:

* custom table(s) `[prefix]_avatar_privacy` (global or per blog on new multisite installations)
* `usermeta` values per user: `use_gravatar`, `avatar_privacy_hash`, `avatar_privacy_user_avatar`
* `option` per blog: `avatar_privacy_settings`
* option per network (`sitemeta`) on multisite installations: `avatar_privacy_salt`
* `transient` per commenter: `avapr_check_[mail hash]`

The default avatar image is set to the mystery man if you selected one of the new local default avatar images.


## Frequently Asked Questions

Expand Down
2 changes: 1 addition & 1 deletion avatar-privacy.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* Description: Adds options to enhance the privacy when using avatars.
* Author: Peter Putzer, Johannes Freudendahl
* Author URI: https://code.mundschenk.at
* Version: 1.1.0-alpha.2
* Version: 1.1.0
* License: GNU General Public License v2 or later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: avatar-privacy
Expand Down
10 changes: 8 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ Contributors: Ammaletu, pputzer
Plugin Name: Avatar Privacy
Plugin URI: https://code.mundschenk.at/avatar-privacy/
Author URI: https://code.mundschenk.at/
Tags: gravatar, avatar, privacy
Tags: gravatar, avatar, privacy, bbpress
Requires at least: 4.6
Requires PHP: 5.6
Tested up to: 4.9
Stable tag: 1.0.7
Stable tag: 1.1.0
License: GPLv2 or later

Adds options to enhance the privacy when using avatars.
Expand Down Expand Up @@ -133,6 +133,12 @@ The default avatar image is set to the mystery man if you selected one of the ne

== Changelog ==

= 1.1.0 (2018-06-10) =
* _Feature_: Supports the new privacy tools on WordPress >= 4.9.6 (export and deletion of personal data, suggested privacy notice text).
* _Feature_: Registered users can opt into allowing logged-out comments with the same mail address to user their profile pictures.
* _Feature_: The plugin is now compatible with bbPress.
* _Change_: Trashed comments and comments marked as spam do not trigger a validation request to Gravatar.com if the admin has set the default gravatar use policy to "enabled" via the filter hook `avatar_privacy_gravatar_use_default`.

= 1.0.7 (2018-06-06) =
* _Bugfix_: The `use_gravatar` is actually checked when the cookie has been set.
* _Bugfix_: A (harmless) PHP warning has been fixed.
Expand Down

0 comments on commit d970431

Please sign in to comment.