My implementation of template_preprocess_block() isn't working My block has id=block-block-10, now i want to add a more link after the title.
This is my code in my theme's template.php. 

function mytheme_preprocess_block(&amp;$variables) {
  if($variables['block_id'] == 10){
    $variables['block']-&gt;subject='&lt;h2&gt;test&gt;&lt;/h2&gt;&lt;span&gt;more&lt;/span&gt;';
  }
}


There is no more text on the block's title. What's wrong with my code?
The $variables['block_id'] variable is based on the number of blocks in a region (see template_preprocess_block(). If you want this for a specific block, despite what region it is in, you should be checking $variables['block']-&gt;delta == 10 instead.