Skip to content

Commit

Permalink
Bug fix: length of custom template names
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Jun 20, 2018
1 parent 18ff38e commit c8fe548
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/my-calendar-templating.php
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ function mc_get_custom_template( $key ) {
*/
function mc_key_exists( $key ) {
// Keys are md5 hashed, so should always be 32 chars.
if ( 25 != strlen( $key ) ) {
if ( 32 != strlen( $key ) ) {
return false;
}

Expand Down
2 changes: 2 additions & 0 deletions src/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ Translating my plug-ins is always appreciated. Visit <a href="https://translate.
= 3.0.5 =

* Bug fix: If only one event on a day, event title did not show in list view with show title option.
* Bug fix: Incorrect array key for fallback parameter in widget
* Bug fix: custom template query expected 25 chars instead of 32
* Re-allow <br> in event titles.

= 3.0.4 =
Expand Down

0 comments on commit c8fe548

Please sign in to comment.