2008-12-13, 08:32 PM
While developing my new plugin which uses the flash_message() function, I notice that when I went to the page, the message wouldn't show up. But when I refreshed the page, it showed up then.
I was using this:
Is this a bug, or is it meant to be this way?
I was using this:
$page->output_header("Edit Plugin");
$page->output_nav_tabs($sub_tabs, 'edit_plugin');
flash_message("You can only edit plugins that <strong>are not</strong> active.");
The flip-side of this works though...flash_message("You can only edit plugins that <strong>are not</strong> active.");
$page->output_header("Edit Plugin");
$page->output_nav_tabs($sub_tabs, 'edit_plugin');
Is this a bug, or is it meant to be this way?