mirror of
https://github.com/mainwp/mainwp-child.git
synced 2025-09-07 11:16:40 +08:00
new version
This commit is contained in:
parent
f2777d7dc8
commit
067a3e17ee
2 changed files with 7 additions and 4 deletions
|
@ -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();
|
||||
|
|
|
@ -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' );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue