No trimming option names correctly?
-
Using the default example of
[rrssb options="email, facebook, twitter, googleplus, linkedin, reddit, youtube, pinterest, pocket, github, tumblr, hackernews"]
I’m only getting the first (email) button displayed.
I changed the option-trimming code to the following, and all worked okay:
$options = array_map('trim', explode(',', $options));
- The topic ‘No trimming option names correctly?’ is closed to new replies.