Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Luehrsen committed Apr 20, 2021
1 parent 5dc625a commit e5d6070
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/inc/FLoC/Component.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function blocking_methods( $methods = array() ) {
$methods['apache'] = array(
'title' => __( 'Apache / .htaccess' ),
'callback' => array( $this, 'initialize_apache' ),
'description' => __( 'When you have to override your theme. Works on apache servers with the "mod_headers" module installed. Writes the header into the .htaccess file.', 'wpm-floc' ),
'description' => __( 'When you have to circumvent your cache. Works on apache servers with the "mod_headers" module installed. Writes the header into the .htaccess file.', 'wpm-floc' ),
);

return $methods;
Expand Down
10 changes: 9 additions & 1 deletion build/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,18 @@ If you are a developer, we encourage you to follow along or [contribute](https:/
- [**Brave Browser** - Why Brave disables FLoC](https://brave.com/why-brave-disables-floc/)
- [The **WICG** Draft for FLoC](https://wicg.github.io/floc/)

## Blocking Methods

This plugin offers different methods implement the FLoC blocking HTTP header.

- **None / Allow FLoC**: This method does not provide an opt-out from FLoC.
- **Simple / PHP**: Works for most WordPress setups. Uses the "wp_headers" filter to provide the HTTP header.
- **Apache / .htaccess**: When you have to circumvent your cache. Only works on apache servers with the "mod_headers" module installed. Writes the HTTP header into the .htaccess file.

## Compatibility with Cache Plugins
This plugin relies on the ability to deliver HTTP headers to the browser. Some Cache Plugins actively strip these HTTP headers and therefore invalidate the purpose of this plugin.

These cache plugins are known to be compatible:
These cache plugins are known to be compatible with the **Simple** method:

- [**WP Super Cache**](https://wordpress.org/plugins/wp-super-cache/) - You have to activate the "*Cache HTTP headers with page content.*" checkbox in the Advanced Tab of the WP Super Cache Settings.

Expand Down

0 comments on commit e5d6070

Please sign in to comment.