Comments

duellj’s picture

StatusFileSize
new924 bytes

Attached is a patch for the coder_upgrade_upgrade_call_theme_alter() function.

Here's a test function:

function example_placeholder() {
  return theme('placeholder');
}
solotandem’s picture

Great job. My comments:

- add some parameters to the theme examples (they should not affect the routine, but it is always good to test with them)

- allow for single or double quotes around 'placeholder'

duellj’s picture

Status: Active » Needs review
StatusFileSize
new1007 bytes

Here's a new patch and a test function with parameters:

function example_placeholder() {
  $placeholder =  theme('placeholder');
  $placeholder =  theme('placeholder', array('text' => $format->name));
}
solotandem’s picture

Assigned: Unassigned » solotandem
Status: Needs review » Fixed

Patch committed. Thanks.

Status: Fixed » Closed (fixed)
Issue tags: -Intermediate

Automatically closed -- issue fixed for 2 weeks with no activity.