Plugin Directory

Changeset 1024816


Ignore:
Timestamp:
11/13/2014 02:41:44 AM (11 years ago)
Author:
vellengs
Message:

Fixed the Special chars in "All auction view".
https://wordpress.org/support/topic/special-chars-in-all-auction-view?replies=2#post-6218420

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dutch-auction-masters/trunk/inc/Functions.php

    r910844 r1024816  
    356356                foreach ($items as $auction) {
    357357                    $item = new stdClass ();
    358                     $item->title = (strlen($auction->title) > 18) ? substr($auction->title, 0, 16) . '...' : $auction->title;
     358                    $item->title = (strlen($auction->title) > 18) ? mb_substr($auction->title, 0, 16) . '...' : $auction->title;
    359359                    $item->alttitle = $auction->title;
    360360                    $item->auction_link = get_permalink($auction->post_id);
Note: See TracChangeset for help on using the changeset viewer.