WordPress.org

Make WordPress Core

Ticket #12398: 12398-typofix.patch

File 12398-typofix.patch, 677 bytes (added by TobiasBg, 4 years ago)

Patch to correct $post_columns typos

  • template.php

     
    673673        if ( 'page' == $post_type ) 
    674674                $posts_columns = apply_filters( 'manage_pages_columns', $posts_columns ); 
    675675        else 
    676                 $post_columns = apply_filters( 'manage_posts_columns', $posts_columns, $post_type ); 
    677         $post_columns = apply_filters( "manage_{$post_type}_posts_columns", $posts_columns ); 
     676                $posts_columns = apply_filters( 'manage_posts_columns', $posts_columns, $post_type ); 
     677        $posts_columns = apply_filters( "manage_{$post_type}_posts_columns", $posts_columns ); 
    678678 
    679679        return $posts_columns; 
    680680}