• When I click the edit button. I get this garbage:

    post_type == ‘attachment’ ) { if ( ! wp_delete_attachment($post_id_del) ) wp_die( __(‘Error in deleting…’) ); } else { if ( !wp_delete_post($post_id_del) ) wp_die( __(‘Error in deleting…’) ); } $deleted++; } } break; case ‘edit’: if ( isset($_GET[‘post’]) && isset($_GET[‘bulk_edit’]) ) { check_admin_referer(‘bulk-posts’); if ( -1 == $_GET[‘_status’] ) { $_GET[‘post_status’] = null; unset($_GET[‘_status’], $_GET[‘post_status’]); } else { $_GET[‘post_status’] = $_GET[‘_status’]; } $done = bulk_edit_posts($_GET); } break; } $sendback = wp_get_referer(); if ( strpos($sendback, ‘post.php’) !== false ) $sendback = admin_url(‘post-new.php’); elseif ( strpos($sendback, ‘attachments.php’) !== false ) $sendback = admin_url(‘attachments.php’); if ( isset($done) ) { $done[‘updated’] = count( $done[‘updated’] ); $done[‘skipped’] = count( $done[‘skipped’] ); $done[‘locked’] = count( $done[‘locked’] ); $sendback = add_query_arg( $done, $sendback ); } if ( isset($deleted) ) $sendback = add_query_arg(‘deleted’, $deleted, $sendback); wp_redirect($sendback); exit(); } elseif ( isset($_GET[‘_wp_http_referer’]) && ! empty($_GET[‘_wp_http_referer’]) ) { wp_redirect( remove_query_arg( array(‘_wp_http_referer’, ‘_wpnonce’), stripslashes($_SERVER[‘REQUEST_URI’]) ) ); exit; } if ( empty($title) ) $title = __(‘Edit Posts’); $parent_file = ‘edit.php’; wp_enqueue_script(‘inline-edit-post’); list($post_stati, $avail_post_stati) = wp_edit_posts_query(); require_once(‘admin-header.php’); if ( !isset( $_GET[‘paged’] ) ) $_GET[‘paged’] = 1; if ( empty($_GET[‘mode’]) ) $mode = ‘list’; else $mode = esc_attr($_GET[‘mode’]); ?>
    ‘ . __(‘Search results for “%s”’) . ”, esc_html( get_search_query() ) ); ?>

    |

    * ” . sprintf( _nx( ‘All (%s)’, ‘All (%s)’, $total_posts, ‘posts’ ), number_format_i18n( $total_posts ) ) . ”; foreach ( $post_stati as $status => $label ) { $class = ”; if ( !in_array( $status, $avail_post_stati ) ) continue; if ( empty( $num_posts->$status ) ) continue; if ( isset($_GET[‘post_status’]) && $status == $_GET[‘post_status’] ) $class = ‘ class=”current”‘; $status_links[] = “” . sprintf( _n( $label[2][0], $label[2][1], $num_posts->$status ), number_format_i18n( $num_posts->$status ) ) . ”; } echo implode( ” |
    \n”, $status_links ) . ”; unset( $status_links ); endif; ?>

    :
    add_query_arg( ‘paged’, ‘%#%’ ), ‘format’ => ”, ‘prev_text’ => __(‘«’), ‘next_text’ => __(‘»’), ‘total’ => $wp_query->max_num_pages, ‘current’ => $_GET[‘paged’] )); ?>
    posts WHERE post_type = ‘post’ ORDER BY post_date DESC”; $arc_result = $wpdb->get_results( $arc_query ); $month_count = count($arc_result); if ( $month_count && !( 1 == $month_count && 0 == $arc_result[0]->mmonth ) ) { $m = isset($_GET[‘m’]) ? (int)$_GET[‘m’] : 0; ?> __(‘View all categories’), ‘hide_empty’ => 0, ‘hierarchical’ => 1, ‘show_count’ => 0, ‘orderby’ => ‘name’, ‘selected’ => $cat); wp_dropdown_categories($dropdown_options); do_action(‘restrict_manage_posts’); ?>
    ‘ . __( ‘Displaying %s–%s of %s’ ) . ‘%s’, number_format_i18n( ( $_GET[‘paged’] – 1 ) * $wp_query->query_vars[‘posts_per_page’] + 1 ), number_format_i18n( min( $_GET[‘paged’] * $wp_query->query_vars[‘posts_per_page’], $wp_query->found_posts ) ), number_format_i18n( $wp_query->found_posts ), $page_links ); echo $page_links_text; ?>
    id=”view-switch-list” src=”../wp-includes/images/blank.gif” width=”20″ height=”20″ title=”” alt=”” /> id=”view-switch-excerpt” src=”../wp-includes/images/blank.gif” width=”20″ height=”20″ title=”” alt=”” />
    $page_links_text
    “; ?>

    I have recently updated to 2.8.5 and 2.8.6.
    I re-installed the WP-Admin files, no change. The rest of the site seems to work fine. Is this a database issue or code issue?
    Thanks for any help you can give.
    Rex

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter rstahly

    (@rstahly)

    I just tried the obvious thing I should have tried earlier. I use Firefox. Trying it in IE, it works fine. So I am assuming the recent Firefox updates are the problem. Anyone else having this problem?

    Hi,

    Check with the IE to overcome from your doubts. Also check with upgrading wordpress to the latest version and disabling the plugins.

    Thanks,

    Shane G.

    I am assuming the recent Firefox updates are the problem.

    It’s not Firefox. The ‘garbage’ is PHP. Looks like part of wp-admin/edit.php is being displayed rather than parsed. Try re-uploading the wp-admin folder from a fresh download of WP 2.8.5.

    libraaks

    (@libraaks)

    I also have similar problem…….
    My edit post link not working.
    my Hot blogger shows no post when i try to click edit post button.
    And if I try to search through my blog then it shows “No posts found. Try a different search?”.

    What should i do for this…?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Edit Not Working’ is closed to new replies.