Viewing 3 reply threads
  • Author
    Posts
    • #234

      Think I’ve come across a slight bug in how Piklist automatically generates all the variations of an item name for labels throughout WordPress. I have a taxonomy called ‘Job Status’ that it’s having some trouble with- I think because it ends in S already.

      Screenshot: http://imgur.com/zBBXO

      I am guessing that I can override this using WP’s standard label array rather than using Piklist here?

    • #236
      Steve
      Keymaster

      @Sarah– Yep… a bug.

      You have two choices:
      1) You can define your own labels the same way it’s done with register_taxonomy. Just include the $labels array in the Piklist function.

      2) Open pikist/includes/class-piklist.php and comment out line 57, which we will fix in next version.

      ,'/s$/i' => ""
      
    • #280
      James Mc
      Member

      Related to label generation… in the function post_type_labels:

      ,'view_item' => __('View ' . self::pluralize($label), 'piklist')

      should probably be


      ,'view_item' => __('View ' . self::singularize($label), 'piklist')

    • #286
      Steve
      Keymaster

      @jmcphail– Good catch! Will be fixed in next release.

Viewing 3 reply threads
  • You must be logged in to reply to this topic.