Neil
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: upload.php (grid mode) – no viewable itemsIt appears I have managed to get the grid view working by commenting the following code:
// Loop through all potential sizes that may be chosen. Try to do this with some efficiency. // First: run the image_downsize filter. If it returns something, we can use its data. // If the filter does not return something, then image_downsize() is just an expensive // way to check the image metadata, which we do second. foreach ( $possible_sizes as $size => $label ) { /** This filter is documented in wp-includes/media.php */ if ( $downsize = apply_filters( 'image_downsize', false, $attachment->ID, $size ) ) { if ( ! $downsize[3] ) continue; $sizes[ $size ] = array( 'height' => $downsize[2], 'width' => $downsize[1], 'url' => $downsize[0], 'orientation' => $downsize[2] > $downsize[1] ? 'portrait' : 'landscape', ); } elseif ( isset( $meta['sizes'][ $size ] ) ) { if ( ! isset( $base_url ) ) $base_url = str_replace( wp_basename( $attachment_url ), '', $attachment_url ); // Nothing from the filter, so consult image metadata if we have it. $size_meta = $meta['sizes'][ $size ]; // We have the actual image size, but might need to further constrain it if content_width is narrower. // Thumbnail, medium, and full sizes are also checked against the site's height/width options. list( $width, $height ) = image_constrain_size_for_editor( $size_meta['width'], $size_meta['height'], $size, 'edit' ); $sizes[ $size ] = array( 'height' => $height, 'width' => $width, 'url' => $base_url . $size_meta['file'], 'orientation' => $height > $width ? 'portrait' : 'landscape', ); } }
Located – Code Line 2798:
wp-includes/media.php
I will have to leave this commented until further notice.
Forum: Fixing WordPress
In reply to: Media Grid not loading after 4.1 updateAnyone find a solution on this? For a blog platform I consider this a big bug..
Thanks.
Forum: Plugins
In reply to: [Ultimate Coming Soon Page] Google Fonts Output bugNo the box can be extended that is not the problem.
Is there any means to use a meta tag, In which an html <textarea> to insert whatever I wish rather than small snippets
Forum: Plugins
In reply to: [Ultimate Coming Soon Page] Google Fonts Output bugNo problem,
It’s a great plugin, however I wondered, if it was possible to create a large textarea for a block of code? Rather than css and a separate html block.
I did not get an option to add any meta tags..
Thanks for the quick response!
Forum: Plugins
In reply to: [W3 Total Cache] FTP credentials don't allow to write to file /.htaccesswhere is the setting exclusion settings in WP Security, I love the plugin however it takes over .htaccess and I can’t find the option.