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/scripts/block-library/page-list.php +10 -10 23.7.1 → trunk View file →
@@ -35,10 +35,10 @@
35 35 * which will be applied to the pages markup in the front-end when it is a descendant of navigation.
36 36 *
37 37 * @since 5.8.0
38 38 *
39 - * @param array $attributes Block attributes.
40 - * @param array $context Navigation block context.
39 + * @param array $attributes Block attributes.
40 + * @param array $context Navigation block context.
41 41 * @return array Colors CSS classes and inline styles.
42 42 */
43 43 function gutenberg_block_core_page_list_build_css_colors( $attributes, $context ) {
44 44 $colors = array(
@@ -127,16 +127,16 @@
127 127 * Outputs Page list markup from an array of pages with nested children.
128 128 *
129 129 * @since 5.8.0
130 130 *
131 - * @param string $submenu_visibility The submenu visibility mode: 'hover', 'click', or 'always'.
132 - * @param boolean $show_submenu_icons Whether to show submenu indicator icons.
133 - * @param boolean $is_navigation_child If block is a child of Navigation block.
134 - * @param array $nested_pages The array of nested pages.
135 - * @param boolean $is_nested Whether the submenu is nested or not.
131 + * @param string $submenu_visibility The submenu visibility mode: 'hover', 'click', or 'always'.
132 + * @param boolean $show_submenu_icons Whether to show submenu indicator icons.
133 + * @param boolean $is_navigation_child If block is a child of Navigation block.
134 + * @param array $nested_pages The array of nested pages.
135 + * @param boolean $is_nested Whether the submenu is nested or not.
136 136 * @param array $active_page_ancestor_ids An array of ancestor ids for active page.
137 - * @param array $colors Color information for overlay styles.
138 - * @param integer $depth The nesting depth.
137 + * @param array $colors Color information for overlay styles.
138 + * @param integer $depth The nesting depth.
139 139 *
140 140 * @return string List markup.
141 141 */
142 142 function gutenberg_block_core_page_list_render_nested_page_list( $submenu_visibility, $show_submenu_icons, $is_navigation_child, $nested_pages, $is_nested, $active_page_ancestor_ids = array(), $colors = array(), $depth = 0 ) {
@@ -226,9 +226,9 @@
226 226 *
227 227 * @since 5.8.0
228 228 *
229 229 * @param array $current_level The level being iterated through.
230 - * @param array $children The children grouped by parent post ID.
230 + * @param array $children The children grouped by parent post ID.
231 231 *
232 232 * @return array The nested array of pages.
233 233 */
234 234 function gutenberg_block_core_page_list_nest_pages( $current_level, $children ) {