updated plugin GP Premium
version 1.11.2
This commit is contained in:
@ -4,8 +4,6 @@
|
||||
background: #FFF;
|
||||
display: block;
|
||||
width: 100%;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
@ -19,12 +17,7 @@
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
border: 1px solid #e5e5e5;
|
||||
-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
|
||||
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
|
||||
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
|
||||
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
|
@ -1,13 +1,21 @@
|
||||
<?php
|
||||
// No direct access, please
|
||||
/**
|
||||
* This file handles the legacy hook system.
|
||||
*
|
||||
* @package GP Premium
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
exit; // No direct access, please.
|
||||
}
|
||||
|
||||
// Add any necessary files
|
||||
// Add any necessary files.
|
||||
require plugin_dir_path( __FILE__ ) . 'hooks.php';
|
||||
|
||||
if ( ! function_exists( 'generate_hooks_get_hooks' ) ) {
|
||||
/**
|
||||
* Get our list of hooks.
|
||||
*/
|
||||
function generate_hooks_get_hooks() {
|
||||
$hooks = array(
|
||||
'generate_wp_head_php',
|
||||
@ -45,7 +53,7 @@ if ( ! function_exists( 'generate_hooks_get_hooks' ) ) {
|
||||
'generate_after_footer_content_php',
|
||||
'generate_after_footer_content',
|
||||
'generate_wp_footer_php',
|
||||
'generate_wp_footer'
|
||||
'generate_wp_footer',
|
||||
);
|
||||
|
||||
return $hooks;
|
||||
@ -407,7 +415,7 @@ if ( ! class_exists( 'Generate_Hooks_Settings' ) ) {
|
||||
}
|
||||
$html .= '</select>';
|
||||
$html .= '<p style="padding:0;margin:13px 0 0 0;" class="submit">';
|
||||
$html .= '<input name="Submit" type="submit" class="button-primary" value="' . esc_attr( __( 'Save Hooks' , 'generate-hooks' ) ) . '" />';
|
||||
$html .= '<input name="Submit" type="submit" class="button-primary" value="' . esc_attr( __( 'Save Hooks', 'gp-premium' ) ) . '" />';
|
||||
$html .= '</p>';
|
||||
$html .= '</div>';
|
||||
$html .= '</div>';
|
||||
|
Reference in New Issue
Block a user