PluginProbe
Adminify – White Label, Admin Menu Editor, Login Customizer / 4.0
Adminify – White Label, Admin Menu Editor, Login Customizer v4.0
4.3.1 4.3.0 4.2.26 4.2.25 4.2.24 4.2.23 4.2.22 4.2.21 4.2.20 4.2.19 4.2.18 4.2.17 4.2.16 4.2.15 4.2.14 4.2.13 4.2.12 4.2.11 4.2.10 4.2.9 4.2.8 4.2.7 4.2.6 4.2.5 4.1.17 All 164 releases
← All changes | Libs/adminify-framework/classes/customize-options.class.php +4 -4 4.2.94.0 View file →
@@ -141,9 +141,9 @@
141 141 }
142 142
143 143 public function add_customize_options( $wp_customize ) {
144 144
145 - if ( ! class_exists( 'PXLBSAdminify_Customize_Panel' ) ) {
145 + if ( ! class_exists( 'WP_Customize_Panel_ADMINIFY' ) ) {
146 146 ADMINIFY::include_plugin_file( 'functions/customize.php' );
147 147 }
148 148
149 149 foreach ( $this->pre_sections as $section ) {
@@ -151,9 +151,9 @@
151 151 if ( ! empty( $section['subs'] ) ) {
152 152
153 153 $panel_id = ( isset( $section['id'] ) ) ? $section['id'] : $this->unique .'-panel-'. $this->priority;
154 154
155 - $wp_customize->add_panel( new PXLBSAdminify_Customize_Panel( $wp_customize, $panel_id, array(
155 + $wp_customize->add_panel( new WP_Customize_Panel_ADMINIFY( $wp_customize, $panel_id, array(
156 156 'title' => ( isset( $section['title'] ) ) ? $section['title'] : null,
157 157 'description' => ( isset( $section['description'] ) ) ? $section['description'] : null,
158 158 'priority' => ( isset( $section['priority'] ) ) ? $section['priority'] : null,
159 159 ) ) );
@@ -192,9 +192,9 @@
192 192 $section_id = $section_args['assign'];
193 193
194 194 } else {
195 195
196 - $wp_customize->add_section( new PXLBSAdminify_Customize_Section( $wp_customize, $section_id, array(
196 + $wp_customize->add_section( new WP_Customize_Section_ADMINIFY( $wp_customize, $section_id, array(
197 197 'title' => ( isset( $section_args['title'] ) ) ? $section_args['title'] : '',
198 198 'description' => ( isset( $section_args['description'] ) ) ? $section_args['description'] : '',
199 199 'priority' => ( isset( $section_args['priority'] ) ) ? $section_args['priority'] : '',
200 200 'panel' => ( $panel_id ) ? $panel_id : '',
@@ -235,9 +235,9 @@
235 235 'validate_callback' => $field_validate
236 236 ) )
237 237 );
238 238
239 - $wp_customize->add_control( new PXLBSAdminify_Customize_Control( $wp_customize, $setting_id,
239 + $wp_customize->add_control( new WP_Customize_Control_ADMINIFY( $wp_customize, $setting_id,
240 240 wp_parse_args( $control_args, array(
241 241 'unique' => $this->unique,
242 242 'field' => $field,
243 243 'section' => $section_id,