From b470eaee81e6eb38f71dff3c5ea2af3d55930031 Mon Sep 17 00:00:00 2001 From: Kim-the-Diamond Date: Wed, 28 Aug 2024 12:49:01 +0000 Subject: [PATCH] Fix styling --- config/press.php | 6 +++--- packages/press/src/Resources/WpPageResource.php | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/config/press.php b/config/press.php index 7c1ecd69f..92efd0a5f 100644 --- a/config/press.php +++ b/config/press.php @@ -1165,12 +1165,12 @@ 'admin_color' => 'fresh', 'use_ssl' => '0', 'show_admin_bar_front' => 'true', - env('WP_PREFIX', 'wp_') . 'capabilities' => serialize([ + env('WP_PREFIX', 'wp_').'capabilities' => serialize([ 'subscriber' => true, ]), - env('WP_PREFIX', 'wp_') . 'user_level' => '0', + env('WP_PREFIX', 'wp_').'user_level' => '0', 'dismissed_wp_pointers' => '', - env('WP_PREFIX', 'wp_') . 'dashboard_quick_press_last_post_id' => '0', + env('WP_PREFIX', 'wp_').'dashboard_quick_press_last_post_id' => '0', 'mm_sua_attachment_id' => '', // locale diff --git a/packages/press/src/Resources/WpPageResource.php b/packages/press/src/Resources/WpPageResource.php index 61732ba89..23cf87733 100644 --- a/packages/press/src/Resources/WpPageResource.php +++ b/packages/press/src/Resources/WpPageResource.php @@ -15,7 +15,6 @@ use Filament\Tables\Actions\EditAction; use Filament\Tables\Actions\ViewAction; use Filament\Tables\Table; -use Illuminate\Database\Eloquent\Builder; use Moox\Press\Models\WpPage; use Moox\Press\Resources\WpPageResource\Pages; use Moox\Press\Resources\WpPageResource\RelationManagers\WpPostMetaRelationManager; @@ -384,7 +383,7 @@ public static function table(Table $table): Table ->actions([ ViewAction::make(), EditAction::make(), - Action::make('Wp Edit')->url(fn($record): string => "/wp/wp-admin/post.php?post={$record->ID}&action=edit"), + Action::make('Wp Edit')->url(fn ($record): string => "/wp/wp-admin/post.php?post={$record->ID}&action=edit"), ]) ->bulkActions([DeleteBulkAction::make()]); }