Skip to content

Commit

Permalink
Merge pull request #1572 from semperfiwebdesign/development
Browse files Browse the repository at this point in the history
Development to master for 2.4.5.1
  • Loading branch information
michaeltorbert authored Feb 14, 2018
2 parents f74d0cf + b8a951e commit 581838b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions all_in_one_seo_pack.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: All In One SEO Pack
Plugin URI: https://semperplugins.com/all-in-one-seo-pack-pro-version/
Description: Out-of-the-box SEO for your WordPress blog. Features like XML Sitemaps, SEO for custom post types, SEO for blogs or business sites, SEO for ecommerce sites, and much more. More than 30 million downloads since 2007.
Version: 2.4.5
Version: 2.4.5.1
Author: Michael Torbert
Author URI: https://semperplugins.com/all-in-one-seo-pack-pro-version/
Text Domain: all-in-one-seo-pack
Expand Down Expand Up @@ -31,14 +31,14 @@
* The original WordPress SEO plugin.
*
* @package All-in-One-SEO-Pack
* @version 2.4.4.1
* @version 2.4.5.1
*/

if ( ! defined( 'AIOSEOPPRO' ) ) {
define( 'AIOSEOPPRO', false );
}
if ( ! defined( 'AIOSEOP_VERSION' ) ) {
define( 'AIOSEOP_VERSION', '2.4.4.1' );
define( 'AIOSEOP_VERSION', '2.4.5.1' );
}
global $aioseop_plugin_name;
$aioseop_plugin_name = 'All in One SEO Pack';
Expand Down
2 changes: 1 addition & 1 deletion js/modules/aioseop_module.js
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ jQuery(document).ready( function() {
});

function initAll($){
if($('.aiseop-date').eq(0).prop('type').toLowerCase() === 'text'){
if ( $('.aiseop-date').length > 0 && $('.aiseop-date').eq(0).prop('type').toLowerCase() === 'text' ) {
$('.aiseop-date').datepicker({
dateFormat: "yy-mm-dd"
});
Expand Down

0 comments on commit 581838b

Please sign in to comment.