Plugin Directory

Changeset 2516863


Ignore:
Timestamp:
04/17/2021 04:34:10 PM (5 years ago)
Author:
wpmunich
Message:

Update to version 0.1.14 from GitHub

Location:
wpm-floc
Files:
16 edited
1 copied

Legend:

Unmodified
Added
Removed
  • wpm-floc/tags/0.1.14/inc/FLoC/Component.php

    r2516816 r2516863  
    4040     */
    4141    public function disable( $headers, $wp ) {
    42         if ( isset( $headers['Permissions-Policy'] ) && ! empty( $headers['Permissions-Policy'] ) ) {
     42        if ( isset( $headers['Permissions-Policy'] ) && ! empty( $headers['Permissions-Policy'] ) && strpos( $headers['Permission-Policy'], 'interest-cohort' ) === false ) {
    4343            $headers['Permissions-Policy'] = $headers['Permissions-Policy'] . ', interest-cohort=()';
    4444        } else {
  • wpm-floc/tags/0.1.14/readme.txt

    r2516843 r2516863  
    11=== Disable FLoC ===
    22Contributors: wpmunich,luehrsen
    3 Tags: privacy,floc,header,federated learning of cohorts,tracking
     3Tags: privacy,floc,header,federated,cohorts,tracking
    44Requires at least: 5.0
    55Tested up to: 5.7
     
    77License: GPLv2
    88License URI: https://www.gnu.de/documents/gpl-2.0.html
    9 Stable tag: 0.1.13
     9Stable tag: 0.1.14
    1010
    1111A simple zero-config plugin to opt-out of Google "Federated Learning of Cohorts" (FLoC).
    1212
    1313== Description ==
    14 ## Disable the tracking of your users with FLoC.
     14## Disable the tracking of your users with FLoC
    1515
    1616**Federated Learning of Cohorts** (FLoC) is a replacement for third party cookies in chromium browsers like Chrome to target users with ads based on their interests. The proposed solution is better than using
    1717third party cookies, but it still raises concerns in terms of privacy and data protection.
     18
     19## How does this plugin work?
    1820
    1921This plugin tells your WordPress system to send a special header that disables FLoC on your website. There is no configuration needed besides installing the plugin.
     
    40421. Activate 'Disable FLoC' through the 'Plugins' menu in WordPress
    4143
     44== Frequently Asked Questions ==
     45= How do I check if it is working? =
     46When you look at the headers of a page request to your WordPress you should see a **Permissions-Policy** header with the value **interest-cohort=()**.
     47
     48= The plugin is active, but the header is not there. =
     49The most common issue are caching plugins, that are often stripping headers. Make sure that HTTP Headers get cached with your site in the configuration of your page cache.
     50
     51= Why should I install this plugin when I'm not using the Chrome browser? =
     52The plugin does not only stop your browser from tracking with FLoC, but also the browsers from all of your users. So you're not primarily installing the plugin for yourself, but for your users.
     53
    4254== Changelog ==
    4355= 1.0.0 =
  • wpm-floc/tags/0.1.14/vendor/autoload.php

    r2516843 r2516863  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInit0334ed9bdd880d62f012105e434968bb::getLoader();
     7return ComposerAutoloaderInit829402fce9b9c6f950f7bab4b3be30a2::getLoader();
  • wpm-floc/tags/0.1.14/vendor/composer/InstalledVersions.php

    r2516843 r2516863  
    3131    array (
    3232    ),
    33     'reference' => '7f782ae85d7bf55446e3a37d38f547e83999e430',
     33    'reference' => 'a9538c0439f8b57b374b60abca3ffb7c80d7ad04',
    3434    'name' => 'wpmunich/lhbpp',
    3535  ),
     
    5252      array (
    5353      ),
    54       'reference' => '7f782ae85d7bf55446e3a37d38f547e83999e430',
     54      'reference' => 'a9538c0439f8b57b374b60abca3ffb7c80d7ad04',
    5555    ),
    5656  ),
  • wpm-floc/tags/0.1.14/vendor/composer/autoload_real.php

    r2516843 r2516863  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit0334ed9bdd880d62f012105e434968bb
     5class ComposerAutoloaderInit829402fce9b9c6f950f7bab4b3be30a2
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInit0334ed9bdd880d62f012105e434968bb', 'loadClassLoader'), true, true);
     25        spl_autoload_register(array('ComposerAutoloaderInit829402fce9b9c6f950f7bab4b3be30a2', 'loadClassLoader'), true, true);
    2626        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
    27         spl_autoload_unregister(array('ComposerAutoloaderInit0334ed9bdd880d62f012105e434968bb', 'loadClassLoader'));
     27        spl_autoload_unregister(array('ComposerAutoloaderInit829402fce9b9c6f950f7bab4b3be30a2', 'loadClassLoader'));
    2828
    2929        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
     
    3131            require __DIR__ . '/autoload_static.php';
    3232
    33             call_user_func(\Composer\Autoload\ComposerStaticInit0334ed9bdd880d62f012105e434968bb::getInitializer($loader));
     33            call_user_func(\Composer\Autoload\ComposerStaticInit829402fce9b9c6f950f7bab4b3be30a2::getInitializer($loader));
    3434        } else {
    3535            $map = require __DIR__ . '/autoload_namespaces.php';
     
    5252
    5353        if ($useStaticLoader) {
    54             $includeFiles = Composer\Autoload\ComposerStaticInit0334ed9bdd880d62f012105e434968bb::$files;
     54            $includeFiles = Composer\Autoload\ComposerStaticInit829402fce9b9c6f950f7bab4b3be30a2::$files;
    5555        } else {
    5656            $includeFiles = require __DIR__ . '/autoload_files.php';
    5757        }
    5858        foreach ($includeFiles as $fileIdentifier => $file) {
    59             composerRequire0334ed9bdd880d62f012105e434968bb($fileIdentifier, $file);
     59            composerRequire829402fce9b9c6f950f7bab4b3be30a2($fileIdentifier, $file);
    6060        }
    6161
     
    6464}
    6565
    66 function composerRequire0334ed9bdd880d62f012105e434968bb($fileIdentifier, $file)
     66function composerRequire829402fce9b9c6f950f7bab4b3be30a2($fileIdentifier, $file)
    6767{
    6868    if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
  • wpm-floc/tags/0.1.14/vendor/composer/autoload_static.php

    r2516843 r2516863  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit0334ed9bdd880d62f012105e434968bb
     7class ComposerStaticInit829402fce9b9c6f950f7bab4b3be30a2
    88{
    99    public static $files = array (
     
    3232    {
    3333        return \Closure::bind(function () use ($loader) {
    34             $loader->prefixLengthsPsr4 = ComposerStaticInit0334ed9bdd880d62f012105e434968bb::$prefixLengthsPsr4;
    35             $loader->prefixDirsPsr4 = ComposerStaticInit0334ed9bdd880d62f012105e434968bb::$prefixDirsPsr4;
    36             $loader->classMap = ComposerStaticInit0334ed9bdd880d62f012105e434968bb::$classMap;
     34            $loader->prefixLengthsPsr4 = ComposerStaticInit829402fce9b9c6f950f7bab4b3be30a2::$prefixLengthsPsr4;
     35            $loader->prefixDirsPsr4 = ComposerStaticInit829402fce9b9c6f950f7bab4b3be30a2::$prefixDirsPsr4;
     36            $loader->classMap = ComposerStaticInit829402fce9b9c6f950f7bab4b3be30a2::$classMap;
    3737
    3838        }, null, ClassLoader::class);
  • wpm-floc/tags/0.1.14/vendor/composer/installed.php

    r2516843 r2516863  
    77    array (
    88    ),
    9     'reference' => '7f782ae85d7bf55446e3a37d38f547e83999e430',
     9    'reference' => 'a9538c0439f8b57b374b60abca3ffb7c80d7ad04',
    1010    'name' => 'wpmunich/lhbpp',
    1111  ),
     
    2828      array (
    2929      ),
    30       'reference' => '7f782ae85d7bf55446e3a37d38f547e83999e430',
     30      'reference' => 'a9538c0439f8b57b374b60abca3ffb7c80d7ad04',
    3131    ),
    3232  ),
  • wpm-floc/tags/0.1.14/wpmfloc.php

    r2516843 r2516863  
    44 *
    55 * @package wpmfloc
    6  * @version 0.1.13
     6 * @version 0.1.14
    77 *
    88 * Plugin Name: Disable FLoC
     
    1111 * Author: WP Munich
    1212 * Author URI: https://www.wp-munich.com
    13  * Version: 0.1.13
     13 * Version: 0.1.14
    1414 * Text Domain: wpm-floc
    1515 */
     
    2525
    2626if ( ! defined( 'WPMFLOC_VERSION' ) ) {
    27     define( 'WPMFLOC_VERSION', '0.1.13' );
     27    define( 'WPMFLOC_VERSION', '0.1.14' );
    2828}
    2929
  • wpm-floc/trunk/inc/FLoC/Component.php

    r2516816 r2516863  
    4040     */
    4141    public function disable( $headers, $wp ) {
    42         if ( isset( $headers['Permissions-Policy'] ) && ! empty( $headers['Permissions-Policy'] ) ) {
     42        if ( isset( $headers['Permissions-Policy'] ) && ! empty( $headers['Permissions-Policy'] ) && strpos( $headers['Permission-Policy'], 'interest-cohort' ) === false ) {
    4343            $headers['Permissions-Policy'] = $headers['Permissions-Policy'] . ', interest-cohort=()';
    4444        } else {
  • wpm-floc/trunk/readme.txt

    r2516843 r2516863  
    11=== Disable FLoC ===
    22Contributors: wpmunich,luehrsen
    3 Tags: privacy,floc,header,federated learning of cohorts,tracking
     3Tags: privacy,floc,header,federated,cohorts,tracking
    44Requires at least: 5.0
    55Tested up to: 5.7
     
    77License: GPLv2
    88License URI: https://www.gnu.de/documents/gpl-2.0.html
    9 Stable tag: 0.1.13
     9Stable tag: 0.1.14
    1010
    1111A simple zero-config plugin to opt-out of Google "Federated Learning of Cohorts" (FLoC).
    1212
    1313== Description ==
    14 ## Disable the tracking of your users with FLoC.
     14## Disable the tracking of your users with FLoC
    1515
    1616**Federated Learning of Cohorts** (FLoC) is a replacement for third party cookies in chromium browsers like Chrome to target users with ads based on their interests. The proposed solution is better than using
    1717third party cookies, but it still raises concerns in terms of privacy and data protection.
     18
     19## How does this plugin work?
    1820
    1921This plugin tells your WordPress system to send a special header that disables FLoC on your website. There is no configuration needed besides installing the plugin.
     
    40421. Activate 'Disable FLoC' through the 'Plugins' menu in WordPress
    4143
     44== Frequently Asked Questions ==
     45= How do I check if it is working? =
     46When you look at the headers of a page request to your WordPress you should see a **Permissions-Policy** header with the value **interest-cohort=()**.
     47
     48= The plugin is active, but the header is not there. =
     49The most common issue are caching plugins, that are often stripping headers. Make sure that HTTP Headers get cached with your site in the configuration of your page cache.
     50
     51= Why should I install this plugin when I'm not using the Chrome browser? =
     52The plugin does not only stop your browser from tracking with FLoC, but also the browsers from all of your users. So you're not primarily installing the plugin for yourself, but for your users.
     53
    4254== Changelog ==
    4355= 1.0.0 =
  • wpm-floc/trunk/vendor/autoload.php

    r2516843 r2516863  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInit0334ed9bdd880d62f012105e434968bb::getLoader();
     7return ComposerAutoloaderInit829402fce9b9c6f950f7bab4b3be30a2::getLoader();
  • wpm-floc/trunk/vendor/composer/InstalledVersions.php

    r2516843 r2516863  
    3131    array (
    3232    ),
    33     'reference' => '7f782ae85d7bf55446e3a37d38f547e83999e430',
     33    'reference' => 'a9538c0439f8b57b374b60abca3ffb7c80d7ad04',
    3434    'name' => 'wpmunich/lhbpp',
    3535  ),
     
    5252      array (
    5353      ),
    54       'reference' => '7f782ae85d7bf55446e3a37d38f547e83999e430',
     54      'reference' => 'a9538c0439f8b57b374b60abca3ffb7c80d7ad04',
    5555    ),
    5656  ),
  • wpm-floc/trunk/vendor/composer/autoload_real.php

    r2516843 r2516863  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit0334ed9bdd880d62f012105e434968bb
     5class ComposerAutoloaderInit829402fce9b9c6f950f7bab4b3be30a2
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInit0334ed9bdd880d62f012105e434968bb', 'loadClassLoader'), true, true);
     25        spl_autoload_register(array('ComposerAutoloaderInit829402fce9b9c6f950f7bab4b3be30a2', 'loadClassLoader'), true, true);
    2626        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
    27         spl_autoload_unregister(array('ComposerAutoloaderInit0334ed9bdd880d62f012105e434968bb', 'loadClassLoader'));
     27        spl_autoload_unregister(array('ComposerAutoloaderInit829402fce9b9c6f950f7bab4b3be30a2', 'loadClassLoader'));
    2828
    2929        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
     
    3131            require __DIR__ . '/autoload_static.php';
    3232
    33             call_user_func(\Composer\Autoload\ComposerStaticInit0334ed9bdd880d62f012105e434968bb::getInitializer($loader));
     33            call_user_func(\Composer\Autoload\ComposerStaticInit829402fce9b9c6f950f7bab4b3be30a2::getInitializer($loader));
    3434        } else {
    3535            $map = require __DIR__ . '/autoload_namespaces.php';
     
    5252
    5353        if ($useStaticLoader) {
    54             $includeFiles = Composer\Autoload\ComposerStaticInit0334ed9bdd880d62f012105e434968bb::$files;
     54            $includeFiles = Composer\Autoload\ComposerStaticInit829402fce9b9c6f950f7bab4b3be30a2::$files;
    5555        } else {
    5656            $includeFiles = require __DIR__ . '/autoload_files.php';
    5757        }
    5858        foreach ($includeFiles as $fileIdentifier => $file) {
    59             composerRequire0334ed9bdd880d62f012105e434968bb($fileIdentifier, $file);
     59            composerRequire829402fce9b9c6f950f7bab4b3be30a2($fileIdentifier, $file);
    6060        }
    6161
     
    6464}
    6565
    66 function composerRequire0334ed9bdd880d62f012105e434968bb($fileIdentifier, $file)
     66function composerRequire829402fce9b9c6f950f7bab4b3be30a2($fileIdentifier, $file)
    6767{
    6868    if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
  • wpm-floc/trunk/vendor/composer/autoload_static.php

    r2516843 r2516863  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit0334ed9bdd880d62f012105e434968bb
     7class ComposerStaticInit829402fce9b9c6f950f7bab4b3be30a2
    88{
    99    public static $files = array (
     
    3232    {
    3333        return \Closure::bind(function () use ($loader) {
    34             $loader->prefixLengthsPsr4 = ComposerStaticInit0334ed9bdd880d62f012105e434968bb::$prefixLengthsPsr4;
    35             $loader->prefixDirsPsr4 = ComposerStaticInit0334ed9bdd880d62f012105e434968bb::$prefixDirsPsr4;
    36             $loader->classMap = ComposerStaticInit0334ed9bdd880d62f012105e434968bb::$classMap;
     34            $loader->prefixLengthsPsr4 = ComposerStaticInit829402fce9b9c6f950f7bab4b3be30a2::$prefixLengthsPsr4;
     35            $loader->prefixDirsPsr4 = ComposerStaticInit829402fce9b9c6f950f7bab4b3be30a2::$prefixDirsPsr4;
     36            $loader->classMap = ComposerStaticInit829402fce9b9c6f950f7bab4b3be30a2::$classMap;
    3737
    3838        }, null, ClassLoader::class);
  • wpm-floc/trunk/vendor/composer/installed.php

    r2516843 r2516863  
    77    array (
    88    ),
    9     'reference' => '7f782ae85d7bf55446e3a37d38f547e83999e430',
     9    'reference' => 'a9538c0439f8b57b374b60abca3ffb7c80d7ad04',
    1010    'name' => 'wpmunich/lhbpp',
    1111  ),
     
    2828      array (
    2929      ),
    30       'reference' => '7f782ae85d7bf55446e3a37d38f547e83999e430',
     30      'reference' => 'a9538c0439f8b57b374b60abca3ffb7c80d7ad04',
    3131    ),
    3232  ),
  • wpm-floc/trunk/wpmfloc.php

    r2516843 r2516863  
    44 *
    55 * @package wpmfloc
    6  * @version 0.1.13
     6 * @version 0.1.14
    77 *
    88 * Plugin Name: Disable FLoC
     
    1111 * Author: WP Munich
    1212 * Author URI: https://www.wp-munich.com
    13  * Version: 0.1.13
     13 * Version: 0.1.14
    1414 * Text Domain: wpm-floc
    1515 */
     
    2525
    2626if ( ! defined( 'WPMFLOC_VERSION' ) ) {
    27     define( 'WPMFLOC_VERSION', '0.1.13' );
     27    define( 'WPMFLOC_VERSION', '0.1.14' );
    2828}
    2929
Note: See TracChangeset for help on using the changeset viewer.