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

Fix function name misspelling: #382

Merged
merged 1 commit into from
Jul 16, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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