Tags are broken after modification on P2 theme

Hello all, I have modified the P2 theme to include a post title in the post-form.php, now, it seems that the tag form does not work anymore. I know this is not a forum dedicated to P2, but I was hoping someone could help me.

Here is the code I am using:

I translated it to Spanish for my site, and I added a word counter to the post box. But the main modification was the addition of the title.

Any ideas why this is happening?


$user = get_userdata( $current_user->ID );

$name = isset( $user->first_name ) && $user->first_name? $user->first_name : $user->display_name;


<div id="postbox">

<form id="new_post" name="new_post" method="post" action="<?php bloginfo( 'url' ); ?>/">

<input type="hidden" name="action" value="post" />

<?php wp_nonce_field( 'new-post' ); ?>

<div class="avatar"><?php echo prologue_get_avatar( $user->ID, $user->user_email, 48 ); ?></div>

<div class="inputarea">

<label for="posttext"><?php printf( __('Hola %s. Cual es tu historia?', 'p2'), wp_specialchars( $name ) ) ?></label>

<div class="postrow" id="post-bar-title">

<input id="my_title" type="text" autocomplete="off" value="" tabindex="1" size="30" name="my_title" />

<span id="regla_titulo">Ponle un título (40 caracteres)</span>



<textarea name="posttext" id="posttext" class="count[50]" tabindex="1" rows="3" cols="60"></textarea>


<label class="post-error" for="posttext" id="posttext_error"></label>

<div class="postrow">

<input type="text" name="tags" id="tags" tabindex="2" autocomplete="off" value="<?php echo attribute_escape(__('No olvides las etiquetas', 'p2')); ?>"

onfocus="this.value=(this.value=='<?php echo js_escape(__('No olvides las etiquetas', 'p2')); ?>') ? '' : this.value;" />

<input id="submit" type="submit" tabindex="3" value="<?php echo attribute_escape(__('Publicar', 'p2')); ?>" />


<div id="reglas">

Tu historia no debe exceder las 100 Palabras, ponle un título y coloca las palabras clave!

Si tu historia no aparece publicada inmediatamente, no desesperes, es que aun no ha sido revisada. Es por seguridad.


<span class="progress" id="ajaxActivity"><img src="<?php bloginfo('template_directory'); ?>/i/indicator.gif"

alt="<?php echo attribute_escape(__('Loading...', 'p2')); ?>" title='<?php echo attribute_escape(__('Loading...', 'p2')); ?>'/></span>


<div class="clear"></div>


</div> <!-- // postbox -->

I’m using wp 2.9 BETA 1 and P2.

I was using 2.8.6, the upgrade did not fix the problem

Thanks in advance for any input you may have.