Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

Commit

Permalink
Add missing paragraph tag in default alert
Browse files Browse the repository at this point in the history
  • Loading branch information
mindctrl committed Dec 7, 2012
1 parent d627759 commit caf8fc5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions alienship-shortcodes.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: Alien Ship Shortcodes
Plugin URI: http://www.johnparris.com/wordpress-plugins/alienship-shortcodes/
Description: Shortcodes for displaying Bootstrap elements in the Alien Ship theme
Version: 1.0
Version: 1.0.2
Author: John Parris
Author URI: http://www.johnparris.com
License: GPL2
Expand All @@ -12,7 +12,7 @@
/* Copyright 2012 John Parris */

/* Prevent direct access */
if ( ! empty( $_SERVER['SCRIPT_FILENAME'] ) && 'alienship-shortcodes.php' == basename( $_SERVER['SCRIPT_FILENAME'] ) )
if ( ! defined( 'ABSPATH' ) )
die ( 'What\'chu talkin\' \'bout, Willis?' );


Expand Down Expand Up @@ -63,7 +63,7 @@ function alienship_alert( $atts, $content = null ) {
if ($type != "alert") {
return '<div class="alert alert-'.$type.' fade in"><a href="#" class="close" data-dismiss="alert">&times;</a><strong>'. do_shortcode( $heading ) .'</strong><p> ' . do_shortcode( $content ) . '</p></div>';
} else {
return '<div class="'.$type.' fade in"><a href="#" class="close" data-dismiss="alert">&times;</a><strong>'. do_shortcode( $heading ) .'</strong>' . do_shortcode( $content ) . '</div>';
return '<div class="'.$type.' fade in"><a href="#" class="close" data-dismiss="alert">&times;</a><strong>'. do_shortcode( $heading ) .'</strong><p>' . do_shortcode( $content ) . '</p></div>';
}
}

Expand Down Expand Up @@ -320,7 +320,7 @@ function alienship_well( $atts, $content = null ) {

} //class

new AlienShip_Shortcodes();
$alienship_shortcodes = new AlienShip_Shortcodes();
endif;


Expand Down

0 comments on commit caf8fc5

Please sign in to comment.