Skip to content
This repository has been archived by the owner on Dec 27, 2018. It is now read-only.

Commit

Permalink
Just cleaning up some code/comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
bamadesigner committed Mar 17, 2014
1 parent dff7839 commit d326c94
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ public function admin_register_styles_and_scripts( $page ) {
$cpt_onomies_admin_post_translation[ 'no_terms_selected' ][ $taxonomy ] = sprintf( __( 'There are no %s selected.', CPT_ONOMIES_TEXTDOMAIN ), strtolower( $tax->labels->name ) );
}

// add our info to the scripts
wp_localize_script( CPT_ONOMIES_DASH . '-admin-post', 'cpt_onomies_admin_post_data', $cpt_onomies_admin_post_data );

wp_localize_script( CPT_ONOMIES_DASH . '-admin-post', 'cpt_onomies_admin_post_L10n', $cpt_onomies_admin_post_translation );

break;
Expand Down Expand Up @@ -1017,7 +1017,7 @@ public function add_cpt_onomy_admin_column( $columns, $post_type='page' ) {
// make sure its a registered CPT-onomy
if ( $cpt_onomies_manager->is_registered_cpt_onomy( $taxonomy ) ) {

/*
/**
* If version >= 3.5, the 'show_admin_column' setting works for you
* but you still have the capability to remove the column,
* via filter, if desired. 'show_admin_column' is set to true
Expand All @@ -1026,7 +1026,7 @@ public function add_cpt_onomy_admin_column( $columns, $post_type='page' ) {
*/
if ( get_bloginfo( 'version' ) >= 3.5 ) {

/*
/**
* If the column already exists, i.e. added by WordPress,
* this filter allows you to remove the column by returning false.
*/
Expand All @@ -1043,7 +1043,7 @@ public function add_cpt_onomy_admin_column( $columns, $post_type='page' ) {
// backwards compatability
else {

/*
/**
* The column is added by default. This filter allows you
* to remove the column by returning false.
*/
Expand Down

0 comments on commit d326c94

Please sign in to comment.