new version

This commit is contained in:
ruben- 2017-07-11 19:36:28 +02:00
parent f2777d7dc8
commit 067a3e17ee
2 changed files with 7 additions and 4 deletions

View file

@ -334,6 +334,9 @@ class MainWP_Child_Branding {
// to fix conflict with other plugin
function admin_menu() {
if ( !current_user_can( 'administrator' ) ) {
return false;
}
$extra_setting = $this->settings['extra_settings'];
if ( ! is_array( $extra_setting ) ) {
$extra_setting = array();

View file

@ -6,7 +6,7 @@
Author: MainWP
Author URI: https://mainwp.com
Text Domain: mainwp-child
Version: 3.4.2-alpha
Version: 3.4.2
*/
if ( ( isset( $_REQUEST['heatmap'] ) && '1' === $_REQUEST['heatmap'] ) || ( isset( $_REQUEST['mainwpsignature'] ) && ( ! empty( $_REQUEST['mainwpsignature'] ) ) ) ) {
header( 'X-Frame-Options: ALLOWALL' );