Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
sgssandhu committed Oct 5, 2018
1 parent c5ef504 commit c9f5d33
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,7 @@ UPDATED: Powered by link
ADDED: Page padding option and css in global and per page options

## 7.1.0.8 22-09-2018
ADDED: Page content padding option and css in global and per page options
ADDED: Page content padding option and css in global and per page options

## 7.1.0.9 05-10-2018
FIXED: HTML Filters
9 changes: 9 additions & 0 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -254,3 +254,12 @@ function clean_script_tag( $input ) {
*/
require 'custom-functions.php';
require get_template_directory() . '/blocks/main.php';

add_action( 'init', 'kses_unfiltered_html' );
function kses_unfiltered_html() {
//$user = wp_get_current_user();

if ( current_user_can('edit_pages') || current_user_can('edit_posts')){
kses_remove_filters();
}
}
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Theme URI: https://github.com/darlic/aione
Author: OXO Solutions®
Author URI: https://oxosolutions.com
Description: Multipurpose All-in-One fastest Wordpress Theme developed for Darlic® Platform using AioneFramework, The 100 Column Grid system
Version: 7.1.0.8
Version: 7.1.0.9
License: GNU General Public License v3.0 or later
License URI: https://github.com/Darlic/aione/blob/master/LICENSE
Text Domain: aione
Expand Down
2 changes: 1 addition & 1 deletion template/aione-content.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
global $theme_options;
global $post;

echo "<br>ID = ".$post->ID;
//echo "<br>ID = ".$post->ID;
/*$posts_page_id = get_option( 'page_for_posts' );
echo "*****************".$posts_page_id;*/
$post_type = @get_post_type($post->ID);
Expand Down

0 comments on commit c9f5d33

Please sign in to comment.