Support » Installing WordPress » Error on installation ..includes/post-template.php line 1164

  • Resolved Norbert McDorbert

    (@dadreviewed)


    I just downloaded 3.0.1 and am attempting a fresh install.

    it spits out this error (hidden dir details of non pertinent)

    Parse error: syntax error, unexpected T_IF in ……/public_html/wp-includes/post-template.php on line 1164

    if ( 'form-table'if ( $parent )

    This is 1164.

    To give idea this is 1155 to 1167

    foreach ( $revisions as $revision ) {
    		if ( !current_user_can( 'read_post', $revision->ID ) )
    			continue;
    		if ( 'revision' === $type && wp_is_post_autosave( $revision ) )
    			continue;
    
    		$date = wp_post_revision_title( $revision );
    		$name = get_the_author_meta( 'display_name', $revision->post_author );
    
    		if ( 'form-table'if ( $parent )
    		array_unshift( $revisions, $post );
    
    	$rows = '';
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error on installation ..includes/post-template.php line 1164’ is closed to new replies.