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
This commit is contained in:
parent
afd35d1958
commit
056bbc95ea
|
@ -671,8 +671,9 @@ class WP_Plugin_Install_List_Table extends WP_List_Table {
|
||||||
*
|
*
|
||||||
* @since 2.7.0
|
* @since 2.7.0
|
||||||
*
|
*
|
||||||
* @param string[] $action_links An array of plugin action links. Defaults are links to Details and Install Now.
|
* @param string[] $action_links An array of plugin action links.
|
||||||
* @param array $plugin An array of plugin data. See the {@see 'plugin_row_meta'} filter
|
* 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.
|
* for the list of possible values.
|
||||||
*/
|
*/
|
||||||
$action_links = apply_filters( 'plugin_install_action_links', $action_links, $plugin );
|
$action_links = apply_filters( 'plugin_install_action_links', $action_links, $plugin );
|
||||||
|
|
|
@ -40,7 +40,7 @@ function render_block_core_cover( $attributes, $content ) {
|
||||||
$object_position = '';
|
$object_position = '';
|
||||||
if ( isset( $attributes['focalPoint'] ) ) {
|
if ( isset( $attributes['focalPoint'] ) ) {
|
||||||
$object_position = round( $attributes['focalPoint']['x'] * 100 ) . '%' . ' ' .
|
$object_position = round( $attributes['focalPoint']['x'] * 100 ) . '%' . ' ' .
|
||||||
round( $attributes['focalPoint']['x'] * 100 ) . '%';
|
round( $attributes['focalPoint']['y'] * 100 ) . '%';
|
||||||
}
|
}
|
||||||
|
|
||||||
$image_template = '<img
|
$image_template = '<img
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.0-beta3-53329';
|
$wp_version = '6.0-beta3-53330';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue