Block does not show up in block list recentpost.file

name = recentpost
description = A list of node with thumbnail
package = Liu's custom
core = 7.x
version = 1.0
files[] = recentpost.module


recentpost.module

/**
 * @file
 * Add thumbnail to each node
 */

function recentpost_block_info(){
  $blocks['recentpost'] = array(
    'info' =&gt; t('Recentpost'),
    'status' =&gt; true,       
    'weight' =&gt; 0,
  );
  return $blocks;
}



function recentpost_block_view($delta = '') {
  $block = array();
  $block['subject'] = t('Node with thumbnail');
  $block['content'] = 'ssssssssssssssss';
  return $block;
}


I've created a sample module from scratch and can activate it in admin-&gt;module, but when I go to structure-&gt;block, the block I've just created doesn't show in the list no matter how many times I've cleared the cache both from drupal and the IE. Can anyone help me sort it out.
Always set region (Until bug is fixed)

I believe this may be a bug in the code, it seems that is Status/region are toggled it causes problems, to guarantee that it shows for now make sure you set region

    function recentpost_block_info(){
      $blocks['recentpost'] = array(
        'info' =&gt; t('Recentpost'),
        'region' =&gt; BLOCK_REGION_NONE,
        'status' =&gt; true,       
        'weight' =&gt; 0,
      );
      return $blocks;
    }


The bug seems to be in the function "_block_rehash()" where it checks for empty($block['status'])