Skip to content

Commit a74e92c

Browse files
v3.3.1
1 parent 2ef55eb commit a74e92c

2 files changed

Lines changed: 3 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Changelog
22
==========
33

4-
#### 3.3.0 - May 17, 2024
4+
#### 3.3.1 - May 17, 2024
55

66
- Minor performance improvements to plugin bootstrapping and autoloader implementation.
77
- Fix link in license key form.

src/admin/class-admin.php

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -214,15 +214,11 @@ public function post_type_column_titles( $columns ) {
214214
*/
215215
public function register() {
216216

217-
// register settings
218217
register_setting( 'boxzilla_settings', 'boxzilla_settings', array( $this, 'sanitize_settings' ) );
219218

220-
// register scripts
221-
$pre_suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
222-
223219
wp_register_script(
224220
'boxzilla-admin',
225-
$this->plugin->url( '/assets/js/admin-script' . $pre_suffix . '.js' ),
221+
$this->plugin->url( '/assets/js/admin-script.js' ),
226222
array(
227223
'jquery',
228224
'wp-util',
@@ -233,8 +229,7 @@ public function register() {
233229
true
234230
);
235231

236-
// load stylesheets
237-
wp_register_style( 'boxzilla-admin', $this->plugin->url( '/assets/css/admin-styles' . $pre_suffix . '.css' ), array(), $this->plugin->version() );
232+
wp_register_style( 'boxzilla-admin', $this->plugin->url( '/assets/css/admin-styles.css' ), array(), $this->plugin->version() );
238233
}
239234

240235
/**

0 commit comments

Comments
 (0)