diff --git a/src/wp-admin/includes/class-wp-ms-themes-list-table.php b/src/wp-admin/includes/class-wp-ms-themes-list-table.php
index 81c35414d9053..eb49de155107c 100644
--- a/src/wp-admin/includes/class-wp-ms-themes-list-table.php
+++ b/src/wp-admin/includes/class-wp-ms-themes-list-table.php
@@ -724,7 +724,7 @@ public function column_description( $theme ) {
$pre . $theme->errors()->get_error_message(),
array(
'type' => 'error',
- 'additional_classes' => 'inline',
+ 'additional_classes' => array( 'inline' ),
)
);
}
diff --git a/src/wp-content/themes/twentynineteen/inc/template-tags.php b/src/wp-content/themes/twentynineteen/inc/template-tags.php
index 63e9f78e1b505..c884a71621f01 100644
--- a/src/wp-content/themes/twentynineteen/inc/template-tags.php
+++ b/src/wp-content/themes/twentynineteen/inc/template-tags.php
@@ -209,7 +209,7 @@ function twentynineteen_comment_form( $order ) {
comment_form(
array(
- 'title_reply' => null,
+ 'title_reply' => '',
)
);
}
diff --git a/src/wp-content/themes/twentytwenty/template-parts/footer-menus-widgets.php b/src/wp-content/themes/twentytwenty/template-parts/footer-menus-widgets.php
index 83c3c8c47cfe5..4355afe64bed9 100644
--- a/src/wp-content/themes/twentytwenty/template-parts/footer-menus-widgets.php
+++ b/src/wp-content/themes/twentytwenty/template-parts/footer-menus-widgets.php
@@ -70,7 +70,7 @@
'depth' => 1,
'link_before' => '',
'link_after' => '',
- 'fallback_cb' => '',
+ 'fallback_cb' => false,
)
);
?>
diff --git a/src/wp-content/themes/twentytwenty/template-parts/modal-menu.php b/src/wp-content/themes/twentytwenty/template-parts/modal-menu.php
index f157f5159b946..139f00ae1ac13 100644
--- a/src/wp-content/themes/twentytwenty/template-parts/modal-menu.php
+++ b/src/wp-content/themes/twentytwenty/template-parts/modal-menu.php
@@ -129,7 +129,7 @@
'depth' => 1,
'link_before' => '',
'link_after' => '',
- 'fallback_cb' => '',
+ 'fallback_cb' => false,
)
);
?>
diff --git a/src/wp-includes/bookmark.php b/src/wp-includes/bookmark.php
index d4b597843820d..9e44d781909ed 100644
--- a/src/wp-includes/bookmark.php
+++ b/src/wp-includes/bookmark.php
@@ -108,28 +108,29 @@ function get_bookmark_field( $field, $bookmark, $context = 'display' ) {
* @param string|array $args {
* Optional. String or array of arguments to retrieve bookmarks.
*
- * @type string $orderby How to order the links by. Accepts 'id', 'link_id', 'name', 'link_name',
- * 'url', 'link_url', 'visible', 'link_visible', 'rating', 'link_rating',
- * 'owner', 'link_owner', 'updated', 'link_updated', 'notes', 'link_notes',
- * 'description', 'link_description', 'length' and 'rand'.
- * When `$orderby` is 'length', orders by the character length of
- * 'link_name'. Default 'name'.
- * @type string $order Whether to order bookmarks in ascending or descending order.
- * Accepts 'ASC' (ascending) or 'DESC' (descending). Default 'ASC'.
- * @type int $limit Amount of bookmarks to display. Accepts any positive number or
- * -1 for all. Default -1.
- * @type string $category Comma-separated list of category IDs to include links from.
- * Default empty.
- * @type string $category_name Category to retrieve links for by name. Default empty.
- * @type int|bool $hide_invisible Whether to show or hide links marked as 'invisible'. Accepts
- * 1|true or 0|false. Default 1|true.
- * @type int|bool $show_updated Whether to display the time the bookmark was last updated.
- * Accepts 1|true or 0|false. Default 0|false.
- * @type string $include Comma-separated list of bookmark IDs to include. Default empty.
- * @type string $exclude Comma-separated list of bookmark IDs to exclude. Default empty.
- * @type string $search Search terms. Will be SQL-formatted with wildcards before and after
- * and searched in 'link_url', 'link_name' and 'link_description'.
- * Default empty.
+ * @type string $orderby How to order the links by. Accepts 'id', 'link_id', 'name', 'link_name',
+ * 'url', 'link_url', 'visible', 'link_visible', 'rating', 'link_rating',
+ * 'owner', 'link_owner', 'updated', 'link_updated', 'notes', 'link_notes',
+ * 'description', 'link_description', 'length' and 'rand'.
+ * When `$orderby` is 'length', orders by the character length of
+ * 'link_name'. Default 'name'.
+ * @type string $order Whether to order bookmarks in ascending or descending order.
+ * Accepts 'ASC' (ascending) or 'DESC' (descending). Default 'ASC'.
+ * @type int $limit Amount of bookmarks to display. Accepts any positive number or
+ * -1 for all. Default -1.
+ * @type int|string $category A category ID, or a comma-separated list of category IDs to include
+ * links from. Ignored if `$category_name` is passed. Default empty.
+ * @type string $category_name Category to retrieve links for by name. Takes precedence over
+ * `$category`. Default empty.
+ * @type int|bool $hide_invisible Whether to show or hide links marked as 'invisible'. Accepts
+ * 1|true or 0|false. Default 1|true.
+ * @type int|bool $show_updated Whether to display the time the bookmark was last updated.
+ * Accepts 1|true or 0|false. Default 0|false.
+ * @type string $include Comma-separated list of bookmark IDs to include. Default empty.
+ * @type string $exclude Comma-separated list of bookmark IDs to exclude. Default empty.
+ * @type string $search Search terms. Will be SQL-formatted with wildcards before and after
+ * and searched in 'link_url', 'link_name' and 'link_description'.
+ * Default empty.
* }
* @return object[] List of bookmark row objects.
*/
diff --git a/src/wp-includes/class-wp-ajax-response.php b/src/wp-includes/class-wp-ajax-response.php
index ed996a19de0dd..ab747618e0fbf 100644
--- a/src/wp-includes/class-wp-ajax-response.php
+++ b/src/wp-includes/class-wp-ajax-response.php
@@ -46,21 +46,21 @@ public function __construct( $args = '' ) {
* @param string|array $args {
* Optional. An array or string of XML response arguments.
*
- * @type string $what XML-RPC response type. Used as a child element of ``.
- * Default 'object' (`