Skip to content

Commit

Permalink
This plugin is My Tickets; mt_, not mc_...
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Oct 15, 2021
1 parent 7514ce3 commit ac0a3c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/my-tickets.php
Original file line number Diff line number Diff line change
Expand Up @@ -790,13 +790,13 @@ function mt_user_profile() {
$options .= "<li><input type='checkbox' name='mt_capabilities[]' value='$cap' id='mt_$cap' $checked /> <label for='mt_$cap'>$label</label></li>";
}
$options = "<ul>$options</ul>";
echo wp_kses( $options, mc_kses_elements() );
echo wp_kses( $options, mt_kses_elements() );
}
if ( current_user_can( 'mt-copy-cart' ) || current_user_can( 'edit_user' ) ) {
echo wp_kses_post( '<h3>' . __( 'My Tickets Shopping Cart', 'my-tickets' ) . '</h3>' );
$cart = mt_get_cart( $edit_user );
$confirmation = mt_generate_cart_table( $cart, 'confirmation' );
echo wp_kses( $confirmation . "<p><a href='" . admin_url( "post-new.php?post_type=mt-payments&amp;cart=$edit_user" ) . "'>" . __( 'Create new payment with this cart', 'my-tickets' ) . '</a></p>', mc_kses_elements() );
echo wp_kses( $confirmation . "<p><a href='" . admin_url( "post-new.php?post_type=mt-payments&amp;cart=$edit_user" ) . "'>" . __( 'Create new payment with this cart', 'my-tickets' ) . '</a></p>', mt_kses_elements() );
}
}

Expand Down
4 changes: 4 additions & 0 deletions src/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ Read the <a href="http://docs.joedolson.com/my-tickets/">online documentation</a

== Changelog ==

= 1.8.33 =

* Bug fix: two instances of a misnamed function.

= 1.8.32 =

* Bug fix: One string replacement placeholder mistyped in receipts template.
Expand Down

0 comments on commit ac0a3c3

Please sign in to comment.