'<p>' . __( 'You are not allowed to edit theme options on this site.' ) . '</p>',
15
'<p>' . __( 'Sorry, you are not allowed to edit theme options on this site.' ) . '</p>',
16
16
403
17
17
);
18
18
}
40
40
if ( ! current_user_can( 'delete_themes' ) ) {
41
41
wp_die(
42
42
'<h1>' . __( 'Cheatin’ uh?' ) . '</h1>' .
43
'<p>' . __( 'You are not allowed to delete this item.' ) . '</p>',
43
'<p>' . __( 'Sorry, you are not allowed to delete this item.' ) . '</p>',
44
44
403
45
45
);
46
46
}
89
89
if ( is_multisite() ) {
90
90
$help_install = '<p>' . __('Installing themes on Multisite can only be done from the Network Admin section.') . '</p>';
91
91
} else {
92
$help_install = '<p>' . sprintf( __('If you would like to see more themes to choose from, click on the “Add New” button and you will be able to browse or search for additional themes from the <a href="%s" target="_blank">WordPress.org Theme Directory</a>. Themes in the WordPress.org Theme Directory are designed and developed by third parties, and are compatible with the license WordPress uses. Oh, and they’re free!'), 'https://wordpress.org/themes/' ) . '</p>';
92
$help_install = '<p>' . sprintf( __('If you would like to see more themes to choose from, click on the “Add New” button and you will be able to browse or search for additional themes from the <a href="%s" target="_blank">WordPress Theme Directory</a>. Themes in the WordPress Theme Directory are designed and developed by third parties, and are compatible with the license WordPress uses. Oh, and they’re free!'), 'https://wordpress.org/themes/' ) . '</p>';