WordPress.org

Make WordPress Core

Ticket #9033: 9033.patch

File 9033.patch, 501 bytes (added by johnbillion, 5 years ago)

Patch

  • wp-admin/includes/template.php

     
    32393239        if ( 'pending' == $post->post_status && 'pending' != $post_status ) 
    32403240                $post_states[] = _c('Pending|post state'); 
    32413241 
     3242        $post_states = apply_filters( 'post_states', $post_states ); 
     3243 
    32423244        if ( ! empty($post_states) ) { 
    32433245                $state_count = count($post_states); 
    32443246                $i = 0;