Viewing 1 reply thread
  • Author
    Posts
    • #4534
      ndbe
      Member

      In one of my custom post types I have this code:

      'status' => array(
                  'draft' => array(
                      'label' => __('Draft')
                  )
                  ,'publish' => array(
                      'label' => __('Custom status name')
                  )
      
      ... [additional post statuses] ...
      
              )  

      After update to 0.9.9.2 (from 0.9.4) the label for “publish” status changed on every post list in admin panel (list of pages, other post types etc.) On post edit screen everything is fine

    • #4553
      Steve
      Keymaster

      @ndbe– WordPress stores all post statuses in the $wp_post_statuses global, and they all have to be unique. You can’t have two post statuses with the same key and different labels. WordPress doesn’t allow it.

Viewing 1 reply thread
  • The topic ‘Post status label [v.0.9.9.2]’ is closed to new replies.