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 +101 -6 23.3.1 → trunk View file →
@@ -9,51 +9,146 @@
9 9 return array(
10 10 array(
11 11 'name' => 'core/activity',
12 12 'dir_name' => 'activity',
13 + 'title' => 'Activity',
14 + 'description' => 'Displays recently published posts, scheduled posts, and recent comments.',
15 + 'help' => array( 'content' => 'Recent publishing and comment activity on this site.' ),
16 + 'icon' => null,
17 + 'actions' => null,
18 + 'attributes' => array( array( 'id' => 'perPage', 'type' => 'integer', 'label' => 'Items per page' ) ),
13 19 'has_render' => true,
14 - 'has_widget' => true,
20 + 'has_widget' => false,
15 21 'presentation' => 'content-bleed',
22 + 'category' => 'dashboard',
23 + 'keywords' => null,
24 + 'textdomain' => 'default',
16 25 ),
17 26 array(
27 + 'name' => 'core/events',
28 + 'dir_name' => 'events',
29 + 'title' => 'WordPress events',
30 + 'description' => 'Displays upcoming WordPress community events.',
31 + 'help' => 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' ) ),
35 + 'has_render' => true,
36 + 'has_widget' => false,
37 + 'presentation' => 'content-bleed',
38 + 'category' => 'dashboard',
39 + 'keywords' => null,
40 + 'textdomain' => 'default',
41 + ),
42 + array(
43 + 'name' => 'core/hello-dolly',
44 + 'dir_name' => 'hello-dolly',
45 + 'title' => 'Hello Dolly',
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.',
47 + 'help' => null,
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,
51 + 'has_render' => true,
52 + 'has_widget' => false,
53 + 'presentation' => 'full-bleed',
54 + 'category' => 'dashboard',
55 + 'keywords' => null,
56 + 'textdomain' => 'default',
57 + ),
58 + array(
18 59 'name' => 'core/hello-world',
19 60 'dir_name' => 'hello-world',
61 + 'title' => 'Hello World',
62 + 'description' => 'A minimal example widget.',
63 + 'help' => null,
64 + 'icon' => 'dashboard-widgets/wordpress',
65 + 'actions' => null,
66 + 'attributes' => array( array( 'id' => 'message', 'type' => 'text', 'label' => 'Message' ) ),
20 67 'has_render' => true,
21 68 'has_widget' => true,
22 69 'presentation' => 'full-bleed',
70 + 'category' => 'demo',
71 + 'keywords' => null,
72 + 'textdomain' => 'default',
23 73 ),
24 74 array(
25 75 'name' => 'core/news',
26 76 'dir_name' => 'news',
77 + 'title' => 'WordPress news',
78 + 'description' => 'Displays the latest news from WordPress.org and Planet WordPress.',
79 + 'help' => 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,
27 83 'has_render' => true,
28 - 'has_widget' => true,
84 + 'has_widget' => false,
29 85 'presentation' => 'content-bleed',
86 + 'category' => 'dashboard',
87 + 'keywords' => null,
88 + 'textdomain' => 'default',
30 89 ),
31 90 array(
32 91 'name' => 'core/quick-draft',
33 92 'dir_name' => 'quick-draft',
93 + 'title' => 'Quick draft',
94 + 'description' => 'Quickly draft a new post.',
95 + 'help' => array( 'content' => 'Drafts saved here are <em>private</em> until you publish them.' ),
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,
34 99 'has_render' => true,
35 - 'has_widget' => true,
100 + 'has_widget' => false,
36 101 'presentation' => 'content-bleed',
102 + 'category' => 'dashboard',
103 + 'keywords' => null,
104 + 'textdomain' => 'default',
37 105 ),
38 106 array(
39 107 'name' => 'core/site-health',
40 108 'dir_name' => 'site-health',
109 + 'title' => 'Site Health Status',
110 + 'description' => 'Shows an overview of your site health and any issues that need attention.',
111 + 'help' => array( 'content' => 'Results come from your site\'s latest health checks.', 'links' => array( array( 'label' => 'Visit Site Health', 'href' => 'site-health.php' ) ) ),
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,
41 115 'has_render' => true,
42 - 'has_widget' => true,
116 + 'has_widget' => false,
43 117 'presentation' => 'framed',
118 + 'category' => 'site',
119 + 'keywords' => null,
120 + 'textdomain' => 'default',
44 121 ),
45 122 array(
46 123 'name' => 'core/site-preview',
47 124 'dir_name' => 'site-preview',
125 + 'title' => 'Site preview',
126 + 'description' => 'Shows preview of the site homepage.',
127 + 'help' => null,
128 + 'icon' => 'dashboard-widgets/site-logo',
129 + 'actions' => null,
130 + 'attributes' => null,
48 131 'has_render' => true,
49 - 'has_widget' => true,
132 + 'has_widget' => false,
50 133 'presentation' => 'full-bleed',
134 + 'category' => 'dashboard',
135 + 'keywords' => null,
136 + 'textdomain' => 'default',
51 137 ),
52 138 array(
53 139 'name' => 'core/welcome',
54 140 'dir_name' => 'welcome',
141 + 'title' => 'Welcome',
142 + 'description' => 'Displays a welcome panel to introduce users to WordPress.',
143 + 'help' => null,
144 + 'icon' => 'dashboard-widgets/wordpress',
145 + 'actions' => null,
146 + 'attributes' => null,
55 147 'has_render' => true,
56 - 'has_widget' => true,
148 + 'has_widget' => false,
57 149 'presentation' => 'full-bleed',
150 + 'category' => 'dashboard',
151 + 'keywords' => null,
152 + 'textdomain' => 'default',
58 153 )
59 154 );