Support » Fixing WordPress » Scirpt Error: Expected ) in /wp-admin/edit.php

  • Please See:

    http://img353.imageshack.us/img353/9517/scripterror6zu.png

    BTW this is the code in question:

    <td><?php if ( user_can_edit_post($user_ID,$post->ID) ) { echo "<a href='post.php?action=delete&amp;post=$id' class='delete' onclick=\"return confirm('" . sprintf(__("You are about to delete this post '%s'\n 'OK' to delete, 'Cancel' to stop."), wp_specialchars(get_the_title('', ''), 1) ) . "')\">" . __('Delete') . "</a>"; } ?></td>

    I don’t see anything wrong it.

    Thanks for any help,
    Will

Viewing 3 replies - 1 through 3 (of 3 total)
  • Is this a new blog ?
    Was all good then it broke ?

    Try deleting that file from the server and uploading another.
    Delete first – overwriting makes errors

    Thread Starter war59312

    (@war59312)

    Tried that and same. Yes new blog as in edit.php has never been touched and running 1.5.2.

    Also deleteing the code above from file and no more script error so its somewhere in their.

    BTW I only see this error at:

    …/wp-admin/edit.php

    And I redownload file from Download above and compared file to mine and excatly the same.

    Fire Fox shows:

    Error: Unexpected end of file while searching for closing } of invalid rule set.
    Source File: http://www.willsdownloads.com/blog/wp-admin/edit.php
    Line: 491

    Thread Starter war59312

    (@war59312)

    Never mind i figured it out…damn firewall lol

    sorry

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Scirpt Error: Expected ) in /wp-admin/edit.php’ is closed to new replies.