Skip to content

Commit

Permalink
[*] remove copyright character in uploaded file name
Browse files Browse the repository at this point in the history
  • Loading branch information
bpongy committed Jan 5, 2017
1 parent c0eeff1 commit 1c9ea3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions header.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@

<div id="site-desc" class="col-md-4">
<?php
echo ( is_home() ? '<h1>' : '<p>' );
echo ( is_front_page() ? '<h1>' : '<p>' );
echo get_bloginfo('description');
echo ( is_home() ? '</h1>' : '</p>' );
echo ( is_front_page() ? '</h1>' : '</p>' );
?>
</div>

Expand Down
2 changes: 1 addition & 1 deletion lib/twoobl.php
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ function twoobl_adminbar() {
********************************************/
if( !function_exists( 'twoobl_sanitize_file_name' ) ) {
function twoobl_sanitize_file_name($file_name) {
$remove = array("", "@");
$remove = array("", "©");
$file_name = remove_accents($file_name);
$file_name = str_replace($remove, '-', $file_name);
return $file_name;
Expand Down

0 comments on commit 1c9ea3a

Please sign in to comment.