Skip to content

Commit

Permalink
Extra space
Browse files Browse the repository at this point in the history
  • Loading branch information
lesterchan committed Dec 19, 2018
1 parent 8b5544e commit f68967f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: https://lesterchan.net/site/donation/
Tags: views, hits, counter, postviews
Requires at least: 4.0
Tested up to: 5.0
Stable tag: 1.76
Stable tag: 1.76.1

Enables you to display how many times a post/page had been viewed.

Expand Down Expand Up @@ -207,4 +207,4 @@ jQuery.ajax({
});
```

Purge the cache to use the updated pages.
Purge the cache to use the updated pages.
4 changes: 2 additions & 2 deletions wp-postviews.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: WP-PostViews
Plugin URI: https://lesterchan.net/portfolio/programming/php/
Description: Enables you to display how many times a post/page had been viewed.
Version: 1.76
Version: 1.76.1
Author: Lester 'GaMerZ' Chan
Author URI: https://lesterchan.net
Text Domain: wp-postviews
Expand Down Expand Up @@ -826,7 +826,7 @@ function add_postviews_column_content($column_name) {


### Function Sort Columns
add_filter( 'manage_edit-post_sortable_columns', 'sort_postviews_column ');
add_filter( 'manage_edit-post_sortable_columns', 'sort_postviews_column');
add_filter( 'manage_edit-page_sortable_columns', 'sort_postviews_column' );
function sort_postviews_column( $defaults ) {
$defaults['views'] = 'views';
Expand Down

0 comments on commit f68967f

Please sign in to comment.