Fix src for images
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 31 Jul 2015 17:54:47 +0000 (13:54 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 31 Jul 2015 17:54:47 +0000 (13:54 -0400)
commit85635ab26e3408f05bb2d04777672c108240db7e
treea4c82000fe7b8a21ca1c288b3cb565dff4cea307
parentd65da4e124efcd18aeae2073e22cd83167739cbc
Fix src for images

This fixes why some images after the import aren't editable.
Finds all src tags in content and finds the images from the Media
Library to match it and places the class attribute with the wp-image
class with it's id so it can be referenced. Also fixes the size of these
images when they we're adjusted.style attribute part.
controllers/Import.php