WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Strange Malfunction PHP Code, Not Obvious (4 posts)

  1. Leo Blanchette
    Member
    Posted 1 year ago #

    I'm extending WP_Widget class... everything is going well, except this little snip here seems to be malfunctioning. Can't for the life of me figure out what is wrong in here -

    <input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo get_field_name( 'title' ); ?>" type="text" value ="<?php
    		echo esc_attr( 'title' ); ?>" value ="<?php echo esc_attr( 'title' ); ?>" />
  2. Leo Blanchette
    Member
    Posted 1 year ago #

    Problem is, when I take this out, everything runs smooth though incomplete. When I put it in, it messes up the admin area, right-side widget dock disappears...seems to crash admin area.

  3. Leo Blanchette
    Member
    Posted 1 year ago #

    ...And my IDE is not giving me a syntax error...

  4. Leo Blanchette
    Member
    Posted 1 year ago #

    Solved it. Delete thread plz.

Topic Closed

This topic has been closed to new replies.

About this Topic