Skip to content

Commit

Permalink
Disable sanitise filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Ajay D'Souza authored and Ajay D'Souza committed Mar 4, 2017
1 parent e26593f commit eec408b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion includes/admin/save-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,5 +181,5 @@ function ata_sanitize_textarea_field( $input ) {
return wp_kses( wp_unslash( $input ), $allowedatatags );

}
add_filter( 'ata_settings_sanitize_textarea', 'ata_sanitize_textarea_field' );
// add_filter( 'ata_settings_sanitize_textarea', 'ata_sanitize_textarea_field' );

4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

__Requires:__ 4.0

__Tested up to:__ 4.7
__Tested up to:__ 4.8

__License:__ [GPL-2.0+](http://www.gnu.org/licenses/gpl-2.0.html)

Expand Down Expand Up @@ -45,7 +45,7 @@ With this plugin installed, you do not need to edit your theme files every time

1. Download the plugin
2. Extract the contents of add-to-all.zip to wp-content/plugins/ folder. You should get a folder called add-to-all.
3. Activate the Plugin in WP-Admin.
3. Activate the Plugin in WP-Admin.
4. Goto Settings » Add to All to configure


Expand Down
6 changes: 5 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
=== Add to All ===
=== Add to All ===
Tags: header, footer, feed, Google Analytics, Statcounter, Tynt, content, Adsense, site verification
Contributors: Ajay, webberzone
Donate link: https://ajaydsouza.com/donate/
Expand Down Expand Up @@ -69,6 +69,10 @@ If you would like a feature to be added, or if you already have the code for the

== Changelog ==

= 1.2.2 =
* Bug-fix:
* Disable the sanitize filter

= 1.2.1 =
* Enhancements:
* Admin settings page will allow more attributes and tags for `script`, `style` and `link` allowing you to use favicons, async, etc.
Expand Down

0 comments on commit eec408b

Please sign in to comment.