Skip to content

Commit

Permalink
2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbillion committed Oct 19, 2013
1 parent 9670ef0 commit ae34923
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions extended-cpts.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
Plugin Name: Extended CPTs
Description: Extended custom post types.
Version: 2.3-beta1
Version: 2.3
Author: John Blackbourn
Author URI: http://johnblackbourn.com
License: GPL v2 or later
Expand Down Expand Up @@ -470,7 +470,7 @@ public function __construct( Extended_CPT $cpt, array $args = null ) {

# 'Right Now' dashboard widget:
if ( $this->args['right_now'] )
add_action( 'right_now_content_table_end', array( $this, 'right_now' ), $this->args['menu_position'] );
add_action( 'right_now_content_table_end', array( $this, 'right_now' ), $this->cpt->args['menu_position'] );

# Nav menus screen item:
if ( $this->args['archive_in_nav_menus'] and $this->cpt->args['show_in_nav_menus'] and $this->cpt->args['has_archive'] )
Expand Down Expand Up @@ -862,7 +862,7 @@ public function filter_posts_by_post_meta( array $vars ) {
);
} else if ( isset( $filter['meta_exists'] ) and isset( $vars[$filter_key] ) and !empty( $vars[$filter_key] ) ) {
$args = array(
'key' => stripslashes( $vars[$filter_key] ),
'key' => stripslashes( $vars[$filter_key] ),
);
if ( isset( $filter['meta_value'] ) ) {
$args['value'] = $filter['meta_value'];
Expand Down

0 comments on commit ae34923

Please sign in to comment.