mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 12:50:28 +00:00
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:
@@ -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' ) ) {
|
||||
|
||||
Reference in New Issue
Block a user