Skip to:
Content

BuddyPress.org

Changeset 8716


Ignore:
Timestamp:
07/29/2014 01:57:09 PM (12 years ago)
Author:
johnjamesjacoby
Message:

Column alignment tweaks in bp_activity_thumbnail_content_images().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-activity/bp-activity-functions.php

    r8711 r8716  
    17341734
    17351735        // Get the SRC value
    1736         preg_match( '/<img.*?(src\=[\'|"]{0,1}.*?[\'|"]{0,1})[\s|>]{1}/i', $matches[0][0], $src );
     1736        preg_match( '/<img.*?(src\=[\'|"]{0,1}.*?[\'|"]{0,1})[\s|>]{1}/i',    $matches[0][0], $src    );
    17371737
    17381738        // Get the width and height
     
    17411741
    17421742        if ( !empty( $src ) ) {
    1743             $src    = substr( substr( str_replace( 'src=', '', $src[1] ), 0, -1 ), 1 );
     1743            $src    = substr( substr( str_replace( 'src=',    '', $src[1]    ), 0, -1 ), 1 );
    17441744            $height = substr( substr( str_replace( 'height=', '', $height[1] ), 0, -1 ), 1 );
    1745             $width  = substr( substr( str_replace( 'width=', '', $width[1] ), 0, -1 ), 1 );
     1745            $width  = substr( substr( str_replace( 'width=',  '', $width[1] ), 0, -1 ), 1 );
    17461746
    17471747            if ( empty( $width ) || empty( $height ) ) {
Note: See TracChangeset for help on using the changeset viewer.