Skip to content

Commit

Permalink
Fix - Private notes list table design not enqueued
Browse files Browse the repository at this point in the history
  • Loading branch information
iamprazol committed Aug 14, 2024
1 parent 6b3fb9b commit 9d6bcfa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion includes/admin/class-ur-admin-assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,11 @@ public function admin_styles() {
if ( 'plugins' === $screen_id ) {
wp_enqueue_style( 'user-registration-menu' );
}

wp_register_style( 'user-registration-admin', UR()->plugin_url() . '/assets/css/admin.css', array( 'nav-menus', 'wp-color-picker' ), UR_VERSION );

// Admin styles for UR pages only.
if ( in_array( $screen_id, ur_get_screen_ids(), true ) ) {
wp_register_style( 'user-registration-admin', UR()->plugin_url() . '/assets/css/admin.css', array( 'nav-menus', 'wp-color-picker' ), UR_VERSION );
wp_enqueue_style( 'user-registration-admin' );

if ( strpos( $screen_id, 'user-registration-settings' ) ) {
Expand Down

0 comments on commit 9d6bcfa

Please sign in to comment.