diff --git a/core/modules/block/block.admin.inc b/core/modules/block/block.admin.inc
index 848298f00d2..cc4bd716354 100644
--- a/core/modules/block/block.admin.inc
+++ b/core/modules/block/block.admin.inc
@@ -285,7 +285,8 @@ function block_admin_configure($form, &$form_state, $module, $delta) {
$form['settings']['title'] = array(
'#type' => 'textfield',
'#title' => t('Block title'),
- '#maxlength' => 64,
+ '#maxlength' => 255,
+ '#size' => 60,
'#description' => $block->module == 'block' ? t('The title of the block as shown to the user.') : t('Override the default title for the block. Use !placeholder to display no title, or leave blank to use the default block title.', array('!placeholder' => '<none>')),
'#default_value' => isset($block->title) ? $block->title : '',
'#weight' => -19,
diff --git a/core/modules/block/block.install b/core/modules/block/block.install
index 4c5149b85fc..09ba522ca50 100644
--- a/core/modules/block/block.install
+++ b/core/modules/block/block.install
@@ -79,7 +79,7 @@ function block_schema() {
),
'title' => array(
'type' => 'varchar',
- 'length' => 64,
+ 'length' => 255,
'not null' => TRUE,
'default' => '',
'description' => 'Custom title for the block. (Empty string will use block default title, will remove the title, text will cause block to use specified title.)',
@@ -311,6 +311,21 @@ function block_update_8002() {
->execute();
}
+/**
+ * Increase {block}.title length to 255 characters.
+ */
+function block_update_8003() {
+ db_change_field('block', 'title', 'title', array(
+ 'type' => 'varchar',
+ 'length' => 255,
+ 'not null' => TRUE,
+ 'default' => '',
+ 'description' => 'Custom title for the block. (Empty string will use block default title, will remove the title, text will cause block to use specified title.)',
+ 'translatable' => TRUE,
+ )
+ );
+}
+
/**
* @} End of "addtogroup updates-7.x-to-8.x".
* The next series of updates should start at 9000.