PluginProbe
OpenStation: Desktop Windows, Dock & Virtual Desktops for WP Admin / 1.1.11
OpenStation: Desktop Windows, Dock & Virtual Desktops for WP Admin v1.1.11
1.1.11 1.1.10 1.1.9 1.1.8 1.1.7 1.1.6 1.1.5 1.1.4 1.1.3 1.1.2 1.1.1 1.1.0 1.0.1 1.0.0 0.9.8 0.9.7 0.9.6 0.9.4 0.9.5 0.9.3 0.9.2 0.9.1 0.9.0 0.8.9 0.8.8 All 35 releases
← All changes | apps/pages/pages.os.php +22 -0 1.1.7 → 1.1.11 View file →
@@ -49,8 +49,30 @@
49 49 return openstation_pages_app_config();
50 50 }
51 51 )
52 52 ->state( openstation_posts_app_state( 'menu_order', 'asc' ) )
53 + // Same as Posts. Page atlas is the case the declaration exists
54 + // for: a tab wp-admin has no screen for, which the dock now
55 + // offers as a row because this list says so.
56 + ->menu(
57 + 'edit.php?post_type=page',
58 + static function () {
59 + return array(
60 + 'posts' => array(
61 + 'label' => __( 'All pages', 'desktop-mode' ),
62 + 'page' => 'edit.php?post_type=page',
63 + ),
64 + 'new' => array(
65 + 'label' => __( 'Add Page', 'desktop-mode' ),
66 + 'page' => 'post-new.php?post_type=page',
67 + ),
68 + // No wp-admin page behind this one; the dock offers it
69 + // because this list says so.
70 + 'atlas' => __( 'Page atlas', 'desktop-mode' ),
71 + );
72 + },
73 + 'openstation_pages_window_user_can_use'
74 + )
53 75 ->action(
54 76 'filter',
55 77 static function ( State $state ) {
56 78 openstation_posts_app_filter( $state );