Skip to content

Commit a1e9818

Browse files
committed
Removed the dashboard feature
Breaks backwards compatibility
1 parent 5f65332 commit a1e9818

9 files changed

+0
-485
lines changed

admin/actions.php

-7
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,3 @@
5858
* @see carelib_maybe_disable_post_layout_metabox
5959
*/
6060
add_action( 'add_meta_boxes','carelib_maybe_disable_post_layout_metabox', 5, 2 );
61-
62-
/**
63-
* Callback defined in includes/admin/dashboard.php
64-
*
65-
* @see carelib_maybe_add_theme_dashboard
66-
*/
67-
add_action( 'init', 'carelib_maybe_add_theme_dashboard' );

admin/dashboard.php

-145
This file was deleted.

admin/scripts.php

-8
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,4 @@
1717
*/
1818
function carelib_admin_register_scripts() {
1919
$suffix = carelib_get_suffix();
20-
21-
wp_register_script(
22-
'carelib-dashboard',
23-
carelib_get_js_uri( "carelib-dashboard{$suffix}.js" ),
24-
array( 'jquery-ui-tabs' ),
25-
CARELIB_VERSION,
26-
true
27-
);
2820
}

admin/styles.php

-7
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,4 @@ function carelib_admin_register_styles() {
2424
null,
2525
CARELIB_VERSION
2626
);
27-
28-
wp_register_style(
29-
'carelib-dashboard',
30-
carelib_get_css_uri( "carelib-dashboard{$suffix}.css" ),
31-
null,
32-
CARELIB_VERSION
33-
);
3427
}

admin/templates/dashboard.php

-33
This file was deleted.

0 commit comments

Comments
 (0)