THE BLOG

P4 Auto-update details, build #1159

This morning we’re pushing a smallish auto-update for ProPhoto4 users on auto-upgrade-capable web hosts. This particular update is primarily a small pile of bug-fixes we’ve uncovered in the last few weeks, some of which were related to all of the new grid functionality that we pushed in the last auto update. The pile was large enough and a few of the bugs annoying enough that we thought it worth pushing out an auto update.

-GOTCHA-If your host doesn’t do auto-updates, you can download the latest build from within your admin area, under ProPhoto => Customize => Site Settings => Misc => ProPhoto Updates. Tutorial for updating from downloaded zip can be found here.-/-

Changelog

For those interested in a near-exhaustive list of what’s fixed, see the below list:

  • increase default max number of custom grid items to 50
  • change the method of determining category archive URLs so that we respect pretty permalink settings
  • add a per-image override of watermarking by adding “no-watermark” CSS class
  • added a workaround for a quirk of polish IdeaWebserver home.pl servers that could break the pathfixer functionality
  • fix masonry grids on mobile devices
  • fixed bug with masonry grid positioning when a post had no displayed image
  • fixed a bug that caused uploaded custom fonts to fail when the font name began with a number like “2FancyPeas”
  • ensure that setting custom grid links to open in a new window worked for overlay-style grids
  • fix problem where Lighbox gallery overlays were displaying wrong image when clicked when there were multiple Lightbox galleries on a page
  • simplified how we test if we’re rendering a mobile site
  • significantly improve performance of grids by improving how we cache and retrieve cached markup
  • fixed a bug with mobile slideshow sizing in portrait orientation introduced because of update to jquery mobile framework
  • add font alignment and customization options for grids style text below post-excerpt optional text
  • fixed issue where html width and height attributes were being stripped from image tags when they were set to “0” because PHP is the dumbest language ever
  • updated End User License Agreement (EULA) to provide explicit language that full-on porn sites are NOT permitted
  • fixed issue with html-encoded characters in title tags rendering wrong after ajax page change
  • fixed issue on mobile where screen would freeze if linking from footer popup menu to the page you were already on
  • updated jquery mobile framework to 1.1, bringing speed and animation improvements
  • add some default CSS to style PRE and CODE blocks with a monospace font
  • add the ability to designate custom grid item links to open in a new tab/window
  • don’t preview designs for search spiders
  • allow for directly entered URLs that begin with “mailto:” — helps workaround Email obfuscation issues for japanese and other multi-byte languages
  • strip html tags from menu text when importing menu items from P3 to P4, since these are not permitted in P4 and break the menu items, causing menu items to disappear on upgrade to P4
  • fix a bug where html comments were getting echoed inside of grid html attributes, causing major layout failures for masonry-style grids
  • change how we determine height for text-below style masonry grid items, to allow for the vagaries of custom font sizes
  • add our post-editor ProPhoto menu dropdown as late as possible to attempt to play nicer with plugins that add buttons in the same area
  • explicitly declare grid item height for rollover style grid items to prevent off-by-1px rendering errors when extremely small grid gutters chosen
  • add options for showing post excerpts and comments counts for text-below style grids for excerpt grids
  • fixed a bug that caused certain font squirrel zip kit uploads to fail because of the presence of a “.” in the font name
  • fixed CSS bug that was causing comments count in comments header to inherit the same styles as comments counts in grid items
  • fixed bug: masthead is NOT slideshow if there is a custom override image set through post custom meta data
  • when testing watermark threshold, use intended size, not original image size, prevent watermarking images smaller than threshold
  • ensure that menu splitting still works even if the menu item keyed on for split is hidden on a page type
  • fix improper formatting of font md5 hash data for maxwell starter design, also fix the script that created the bad format
  • allow overriding of masthead image on blog posts page if static front page set
  • apply correct CSS to image protection overlays no matter where they occur, fixes issue in bio area with img-protected grids where a big extra space is added above grid items
  • change font kit upload validator to reflect the fact that Font squirrel no longer includes .svg files in the basic kits generated, fixes problem of people uploading valid font zips and getting “not a font squirrel kit zip” errors
  • be sure to prefix entered URLs for custom grid item links with “http://” if not entered by user
  • fixed an issue that caused some slideshow thumbnails to be hidden on slideshow galleries with hundreds of images