Docs: Document more parameters and properties using typed array notation.

See #41756


git-svn-id: https://develop.svn.wordpress.org/trunk@42875 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2018-03-25 18:09:56 +00:00
parent 7c2f97597d
commit d541798a64
32 changed files with 127 additions and 128 deletions
+1 -1
View File
@@ -143,7 +143,7 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
*
* @since 2.8.0
*
* @param array $tabs The tabs shown on the Add Themes screen. Default is 'upload'.
* @param string[] $tabs Associative array of the tabs shown on the Add Themes screen. Default is 'upload'.
*/
$tabs = apply_filters( 'install_themes_tabs', array( 'upload' => __( 'Upload Theme' ) ) );
if ( ! empty( $tabs['upload'] ) && current_user_can( 'upload_themes' ) ) {