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 | lib/experimental/navigation-theme-opt-in.php +10 -10 23.5.2 → trunk View file →
@@ -26,9 +26,9 @@
26 26 *
27 27 * This shim can be removed when the Gutenberg plugin requires a WordPress
28 28 * version that has the ticket below.
29 29 *
30 - * @see https://core.trac.wordpress.org/ticket/50544
30 + * @link https://core.trac.wordpress.org/ticket/50544
31 31 *
32 32 * @global WP_Customize_Manager $wp_customize
33 33 *
34 34 * @param int $menu_id ID of the updated menu.
@@ -81,9 +81,9 @@
81 81 *
82 82 * This shim can be removed when the Gutenberg plugin requires a WordPress
83 83 * version that has the ticket below.
84 84 *
85 - * @see https://core.trac.wordpress.org/ticket/50544
85 + * @link https://core.trac.wordpress.org/ticket/50544
86 86 *
87 87 * @param object $menu_item The menu item object.
88 88 *
89 89 * @return object Updated menu item object.
@@ -114,9 +114,9 @@
114 114 *
115 115 * This shim can be removed when the Gutenberg plugin requires a WordPress
116 116 * version that has the ticket below.
117 117 *
118 - * @see https://core.trac.wordpress.org/ticket/50544
118 + * @link https://core.trac.wordpress.org/ticket/50544
119 119 *
120 120 * @param string $item_output The menu item's starting HTML output.
121 121 * @param WP_Post $item Menu item data object.
122 122 * @param int $depth Depth of menu item. Used for padding.
@@ -146,9 +146,9 @@
146 146 *
147 147 * This shim can be removed when the Gutenberg plugin requires a WordPress
148 148 * version that has the ticket below.
149 149 *
150 - * @see https://core.trac.wordpress.org/ticket/50544
150 + * @link https://core.trac.wordpress.org/ticket/50544
151 151 *
152 152 * @param array $menu_items The menu items, sorted by each menu item's menu order.
153 153 *
154 154 * @return array Updated menu items, sorted by each menu item's menu order.
@@ -154,9 +154,9 @@
154 154 * @return array Updated menu items, sorted by each menu item's menu order.
155 155 */
156 156 function gutenberg_remove_block_nav_menu_items( $menu_items ) {
157 157 // We should uncomment the line below when the block-nav-menus feature becomes stable.
158 - // @see https://github.com/WordPress/gutenberg/issues/34265.
158 + // @link https://github.com/WordPress/gutenberg/issues/34265.
159 159 /*if ( current_theme_supports( 'block-nav-menus' ) ) {*/
160 160 if ( false ) {
161 161 return $menu_items;
162 162 }
@@ -176,9 +176,9 @@
176 176 *
177 177 * Transformation depends on the menu item type. Link menu items are turned into
178 178 * a `core/navigation-link` block. Block menu items are simply parsed.
179 179 *
180 - * @param array $menu_items The menu items to convert, sorted by each menu item's menu order.
180 + * @param array $menu_items The menu items to convert, sorted by each menu item's menu order.
181 181 * @param array $menu_items_by_parent_id All menu items, indexed by their parent's ID.
182 182 *
183 183 * @return array Updated menu items, sorted by each menu item's menu order.
184 184 */
@@ -240,9 +240,9 @@
240 240 *
241 241 * This shim can be removed when the Gutenberg plugin requires a WordPress
242 242 * version that has the ticket below.
243 243 *
244 - * @see https://core.trac.wordpress.org/ticket/50544
244 + * @link https://core.trac.wordpress.org/ticket/50544
245 245 *
246 246 * @param string|null $output Nav menu output to short-circuit with. Default null.
247 247 * @param stdClass $args An object containing wp_nav_menu() arguments.
248 248 *
@@ -249,9 +249,9 @@
249 249 * @return string|null Nav menu output to short-circuit with.
250 250 */
251 251 function gutenberg_output_block_nav_menu( $output, $args ) {
252 252 // We should uncomment the line below when the block-nav-menus feature becomes stable.
253 - // @see https://github.com/WordPress/gutenberg/issues/34265.
253 + // @link https://github.com/WordPress/gutenberg/issues/34265.
254 254 /*if ( ! current_theme_supports( 'block-nav-menus' ) ) {*/
255 255 if ( true ) {
256 256 return null;
257 257 }
@@ -330,9 +330,9 @@
330 330 *
331 331 * This shim can be removed when the Gutenberg plugin requires a WordPress
332 332 * version that has the ticket below.
333 333 *
334 - * @see https://core.trac.wordpress.org/ticket/50544
334 + * @link https://core.trac.wordpress.org/ticket/50544
335 335 *
336 336 * @param int $item_id Menu item ID.
337 337 * @param WP_Post $item Menu item data object.
338 338 */
@@ -357,9 +357,9 @@
357 357 *
358 358 * This shim can be removed when the Gutenberg plugin requires a WordPress
359 359 * version that has the ticket below.
360 360 *
361 - * @see https://core.trac.wordpress.org/ticket/50544
361 + * @link https://core.trac.wordpress.org/ticket/50544
362 362 *
363 363 * @param string $hook The current admin page.
364 364 */
365 365 function gutenberg_add_block_menu_item_styles_to_nav_menus( $hook ) {