Sorry, the forums are locked while I handle some maintenance.

 
This Forum is Currently Locked – Access is Read Only
You must be logged in to post Login


Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Enhancement Suggestion: LTR for @username

UserPost

1:32 am
March 27, 2010


bagadoodxavisys@gmail.com

New Member

posts 1

Post edited 8:37 am – March 27, 2010 by bagadoodxavisys@gmail.com


Thanks 4 the pro plugin :)

As you know this plugin is being used in many languages. Some of them like Arabic are RTL. However, the @username part in twitter is always LTR. So my suggestion is to amend the below function in

wp-twitter-widget.php

by including the additional dir attribute as shown below:

 

    private function _linkTwitterUsersCallback($matches) {
        $linkAttrs = array(
            'href'    => 'http://twitter.com/' . urlencode($matches[2]),
            'dir'    => 'ltr',
            'class'    => 'twitter-user'
        );
        return $matches[1] . $this->_buildLink('@'.$matches[2], $linkAttrs);
    }

About the Xavisys Forum

Forum Timezone: America/Phoenix

Most Users Ever Online: 50

Currently Online:
1 Guest

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 3
Forums: 26
Topics: 410
Posts: 1034

Membership:

There are 806 Members
There has been 1 Guest

There are 2 Admins
There is 1 Moderator

Top Posters:

lkmweb@me.com – 9
Aaron Fineman – 8
Brayne – 8
Xarzu – 8
Iain – 8
greg@gregdowning.com – 6

Recent New Members: jane@janeparkinson.com, waimalao@hotmail.com, Raffael, esparkinfo@esparkinfo.com, hgof520@hotmail.com, neunkirchen@gmail.com

Administrators: AaronCampbell (242 Posts), Imported Questions (1 Post)

Moderators: nancy@mequoda.com (0 Posts)