Skip to:
Content
Pages
Categories
Search
Top
Bottom

Bug with Cyrillic group names and forums


  • Slava
    Participant

    @slava1

    I found a bug in buddyPress 1.2.4.1. When I try to create a new group with cyrillic name (“?????? ???” is “Hello world”, for example), i can’t create any topic for this group, because BP can’t insert a new record into wp_bb_forums table. And I always saw such message: “There was an error when creating the topic”.
    But when I create a group with latin characters in its name, everything works fine, and I even can add posts and topics with cyrillic. Also, after creating a group I can rename it with cyrillic and this will not broke anything.

    As a temporary solution I change group ‘name’ parameter, wich was $_POST with sanitize_title(esc_attr( $_POST)) in groups_create_group function. So I use slug instead of name.

    Can somebody to advice me a better solution?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Bug with Cyrillic group names and forums’ is closed to new replies.
Skip to toolbar