Skip to:
Content

BuddyPress.org

Changeset 9168


Ignore:
Timestamp:
11/22/2014 03:40:04 PM (9 years ago)
Author:
djpaul
Message:

Core, Activity: change the Activity table's primary_link column from varchar(255) to text.

This change will avoid unintended truncation for long URLs. This can be a problem for links
built from slugs written in double-byte languages, or for letters that have been URL encoded.

We've tried previously to fix this, in r5966. Better luck this time. :)

Fixes #5890, props tharsheblows

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/admin/bp-core-schema.php

    r8567 r9168  
    137137                action text NOT NULL,
    138138                content longtext NOT NULL,
    139                 primary_link varchar(255) NOT NULL,
     139                primary_link text NOT NULL,
    140140                item_id bigint(20) NOT NULL,
    141141                secondary_item_id bigint(20) DEFAULT NULL,
  • trunk/src/bp-loader.php

    r9035 r9168  
    302302
    303303        $this->version    = '2.2-alpha';
    304         $this->db_version = 8311;
     304        $this->db_version = 9167;
    305305
    306306        /** Loading ***********************************************************/
Note: See TracChangeset for help on using the changeset viewer.