• s0what

    (@s0what)


    Hi!

    Every time I upgrade to latest version I have to remove following code from wp-includes/media.php
    <br style="clear: both" /> at line 775

    If I don’t remove it, I got a large gap after first image line in gallery.
    Is this a WP or my Theme bug?
    How can I fix this with plugin, so I don’t have to edit include files on each upgrade?

Viewing 1 replies (of 1 total)
  • esmi

    (@esmi)

    It’s your theme, I think. Whilst I’m not too keen on the way in which the native gallery is added to posts/pages, it can be dealt with via your theme’s functions.php file and your own stylesheet.

Viewing 1 replies (of 1 total)
  • The topic ‘Wired code in file media.php’ is closed to new replies.