Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

Commit

Permalink
Merge pull request #382 from ryandasher/master
Browse files Browse the repository at this point in the history
Fix function name misspelling:
  • Loading branch information
olefredrik committed Jul 16, 2015
2 parents ed38148 + 7b6d968 commit 616da1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/cleanup.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ function foundationpress_image_editor($html, $id, $alt, $title) {
endif;

// Wrap images with figure tag - Credit: Robert O'Rourke - http://bit.ly/1q0WHFs .
if ( ! function_exists( 'img_unauto' ) ) :
if ( ! function_exists( 'img_unautop' ) ) :
function img_unautop($pee) {
$pee = preg_replace( '/<p>\\s*?(<a .*?><img.*?><\\/a>|<img.*?>)?\\s*<\\/p>/s', '<figure>$1</figure>', $pee );
return $pee;
Expand Down

0 comments on commit 616da1e

Please sign in to comment.