PluginProbe
Gutenberg / trunk
Gutenberg vtrunk
24.1.0 24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 All 404 releases
← All changes | build/widgets/registry.php +31 -13 23.7.2 → trunk View file →
@@ -12,11 +12,13 @@
12 12 'dir_name' => 'activity',
13 13 'title' => 'Activity',
14 14 'description' => 'Displays recently published posts, scheduled posts, and recent comments.',
15 15 'help' => array( 'content' => 'Recent publishing and comment activity on this site.' ),
16 + 'icon' => null,
16 17 'actions' => null,
18 + 'attributes' => array( array( 'id' => 'perPage', 'type' => 'integer', 'label' => 'Items per page' ) ),
17 19 'has_render' => true,
18 - 'has_widget' => true,
20 + 'has_widget' => false,
19 21 'presentation' => 'content-bleed',
20 22 'category' => 'dashboard',
21 23 'keywords' => null,
22 24 'textdomain' => 'default',
@@ -26,11 +28,13 @@
26 28 'dir_name' => 'events',
27 29 'title' => 'WordPress events',
28 30 'description' => 'Displays upcoming WordPress community events.',
29 31 'help' => null,
30 - 'actions' => null,
32 + 'icon' => 'core/calendar',
33 + 'actions' => array( array( 'id' => 'meetups', 'label' => 'Meetups', 'href' => 'https://make.wordpress.org/community/meetups-landing-page', 'openInNewTab' => true, 'relevance' => 'high' ), array( 'id' => 'wordcamps', 'label' => 'WordCamps', 'href' => 'https://central.wordcamp.org/schedule/', 'openInNewTab' => true, 'relevance' => 'high' ) ),
34 + 'attributes' => array( array( 'id' => 'location', 'type' => 'location', 'label' => 'Event location', 'description' => 'City or region for nearby events.', 'relevance' => 'high' ) ),
31 35 'has_render' => true,
32 - 'has_widget' => true,
36 + 'has_widget' => false,
33 37 'presentation' => 'content-bleed',
34 38 'category' => 'dashboard',
35 39 'keywords' => null,
36 40 'textdomain' => 'default',
@@ -40,11 +44,13 @@
40 44 'dir_name' => 'hello-dolly',
41 45 'title' => 'Hello Dolly',
42 46 'description' => 'This is not just a widget, it symbolizes the hope and enthusiasm of an entire generation summed up in two words sung most famously by Louis Armstrong: Hello, Dolly. When activated you will randomly see a lyric from Hello, Dolly in the dashboard.',
43 47 'help' => null,
44 - 'actions' => array( array( 'id' => 'plugin-page', 'label' => 'WordPress.org plugin page', 'href' => 'https://wordpress.org/plugins/hello-dolly/', 'openInNewTab' => true ), array( 'id' => 'download-lyrics', 'label' => 'Download lyrics', 'href' => 'hello-dolly-lyrics.txt', 'download' => 'hello-dolly-lyrics.txt' ) ),
48 + 'icon' => 'core/audio',
49 + 'actions' => array( array( 'id' => 'plugin-page', 'label' => 'WordPress.org plugin page', 'href' => 'https://wordpress.org/plugins/hello-dolly/', 'openInNewTab' => true, 'icon' => 'core/external', 'relevance' => 'low' ) ),
50 + 'attributes' => null,
45 51 'has_render' => true,
46 - 'has_widget' => true,
52 + 'has_widget' => false,
47 53 'presentation' => 'full-bleed',
48 54 'category' => 'dashboard',
49 55 'keywords' => null,
50 56 'textdomain' => 'default',
@@ -54,9 +60,11 @@
54 60 'dir_name' => 'hello-world',
55 61 'title' => 'Hello World',
56 62 'description' => 'A minimal example widget.',
57 63 'help' => null,
64 + 'icon' => 'dashboard-widgets/wordpress',
58 65 'actions' => null,
66 + 'attributes' => array( array( 'id' => 'message', 'type' => 'text', 'label' => 'Message' ) ),
59 67 'has_render' => true,
60 68 'has_widget' => true,
61 69 'presentation' => 'full-bleed',
62 70 'category' => 'demo',
@@ -68,11 +76,13 @@
68 76 'dir_name' => 'news',
69 77 'title' => 'WordPress news',
70 78 'description' => 'Displays the latest news from WordPress.org and Planet WordPress.',
71 79 'help' => null,
72 - 'actions' => null,
80 + 'icon' => null,
81 + 'actions' => array( array( 'id' => 'news-visit', 'label' => 'Visit WordPress News', 'href' => 'https://wordpress.org/news/', 'openInNewTab' => true, 'icon' => 'core/external', 'relevance' => 'high' ) ),
82 + 'attributes' => null,
73 83 'has_render' => true,
74 - 'has_widget' => true,
84 + 'has_widget' => false,
75 85 'presentation' => 'content-bleed',
76 86 'category' => 'dashboard',
77 87 'keywords' => null,
78 88 'textdomain' => 'default',
@@ -82,11 +92,13 @@
82 92 'dir_name' => 'quick-draft',
83 93 'title' => 'Quick draft',
84 94 'description' => 'Quickly draft a new post.',
85 95 'help' => array( 'content' => 'Drafts saved here are <em>private</em> until you publish them.' ),
86 - 'actions' => null,
96 + 'icon' => 'dashboard-widgets/drafts',
97 + 'actions' => array( array( 'id' => 'view-drafts', 'label' => 'View all drafts', 'href' => 'edit.php?post_status=draft', 'relevance' => 'high' ) ),
98 + 'attributes' => null,
87 99 'has_render' => true,
88 - 'has_widget' => true,
100 + 'has_widget' => false,
89 101 'presentation' => 'content-bleed',
90 102 'category' => 'dashboard',
91 103 'keywords' => null,
92 104 'textdomain' => 'default',
@@ -96,11 +108,13 @@
96 108 'dir_name' => 'site-health',
97 109 'title' => 'Site Health Status',
98 110 'description' => 'Shows an overview of your site health and any issues that need attention.',
99 111 'help' => array( 'content' => 'Results come from your site\'s latest health checks.', 'links' => array( array( 'label' => 'Visit Site Health', 'href' => 'site-health.php' ) ) ),
100 - 'actions' => null,
112 + 'icon' => 'core/shield',
113 + 'actions' => array( array( 'id' => 'site-health-details', 'label' => 'Details', 'href' => 'admin.php?page=dashboard-wp-admin&p=/site-health', 'icon' => 'core/chart-bar', 'relevance' => 'high' ), array( 'id' => 'site-health-status', 'label' => 'Status', 'href' => 'site-health.php', 'icon' => 'dashboard-widgets/seen', 'relevance' => 'low' ), array( 'id' => 'site-health-info', 'label' => 'Info', 'href' => 'site-health.php?tab=debug', 'icon' => 'core/info', 'relevance' => 'low' ) ),
114 + 'attributes' => null,
101 115 'has_render' => true,
102 - 'has_widget' => true,
116 + 'has_widget' => false,
103 117 'presentation' => 'framed',
104 118 'category' => 'site',
105 119 'keywords' => null,
106 120 'textdomain' => 'default',
@@ -110,11 +124,13 @@
110 124 'dir_name' => 'site-preview',
111 125 'title' => 'Site preview',
112 126 'description' => 'Shows preview of the site homepage.',
113 127 'help' => null,
128 + 'icon' => 'dashboard-widgets/site-logo',
114 129 'actions' => null,
130 + 'attributes' => null,
115 131 'has_render' => true,
116 - 'has_widget' => true,
132 + 'has_widget' => false,
117 133 'presentation' => 'full-bleed',
118 134 'category' => 'dashboard',
119 135 'keywords' => null,
120 136 'textdomain' => 'default',
@@ -124,11 +140,13 @@
124 140 'dir_name' => 'welcome',
125 141 'title' => 'Welcome',
126 142 'description' => 'Displays a welcome panel to introduce users to WordPress.',
127 143 'help' => null,
144 + 'icon' => 'dashboard-widgets/wordpress',
128 145 'actions' => null,
146 + 'attributes' => null,
129 147 'has_render' => true,
130 - 'has_widget' => true,
148 + 'has_widget' => false,
131 149 'presentation' => 'full-bleed',
132 150 'category' => 'dashboard',
133 151 'keywords' => null,
134 152 'textdomain' => 'default',