Ticket #38686: 38686.diff
File 38686.diff, 477 bytes (added by , 8 years ago) |
---|
-
src/wp-includes/post.php
diff --git src/wp-includes/post.php src/wp-includes/post.php index 9e20aa0..98e01fe 100644
function register_post_status( $post_status, $args = array() ) { 815 815 $args->label = $post_status; 816 816 817 817 if ( false === $args->label_count ) 818 $args->label_count = array( $args->label, $args->label );818 $args->label_count = _n_noop( $args->label, $args->label ); 819 819 820 820 $wp_post_statuses[$post_status] = $args; 821 821