From 056bbc95ea48d80128db5dc1e8dfc71abe7c6f98 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 2 May 2022 13:07:14 +0000 Subject: [PATCH] Docs: Improve `plugin_install_action_links` filter's docs. Refer developers to `plugins_api()` for array of plugin data. Follow-up to [53074], [53328]. Props afragen, pbiron. See #55480. Built from https://develop.svn.wordpress.org/trunk@53330 git-svn-id: http://core.svn.wordpress.org/trunk@52919 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-plugin-install-list-table.php | 5 +++-- wp-includes/blocks/cover.php | 2 +- wp-includes/version.php | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/wp-admin/includes/class-wp-plugin-install-list-table.php b/wp-admin/includes/class-wp-plugin-install-list-table.php index 5b8eb62f3b..3c8dc1d2bb 100644 --- a/wp-admin/includes/class-wp-plugin-install-list-table.php +++ b/wp-admin/includes/class-wp-plugin-install-list-table.php @@ -671,8 +671,9 @@ class WP_Plugin_Install_List_Table extends WP_List_Table { * * @since 2.7.0 * - * @param string[] $action_links An array of plugin action links. Defaults are links to Details and Install Now. - * @param array $plugin An array of plugin data. See the {@see 'plugin_row_meta'} filter + * @param string[] $action_links An array of plugin action links. + * Defaults are links to Details and Install Now. + * @param array $plugin An array of plugin data. See {@see plugins_api()} * for the list of possible values. */ $action_links = apply_filters( 'plugin_install_action_links', $action_links, $plugin ); diff --git a/wp-includes/blocks/cover.php b/wp-includes/blocks/cover.php index d2f1959bdb..82ff93e6c0 100644 --- a/wp-includes/blocks/cover.php +++ b/wp-includes/blocks/cover.php @@ -40,7 +40,7 @@ function render_block_core_cover( $attributes, $content ) { $object_position = ''; if ( isset( $attributes['focalPoint'] ) ) { $object_position = round( $attributes['focalPoint']['x'] * 100 ) . '%' . ' ' . - round( $attributes['focalPoint']['x'] * 100 ) . '%'; + round( $attributes['focalPoint']['y'] * 100 ) . '%'; } $image_template = '