Page View Count source code
By Steve Truman, on WordPress.org since 2012. 10,000+ active installs.
A beautifully simple to set up plugin that gives site visitors and site owners the ability to quickly and easily see how many people have visited that page or post. Below is its source code for every one of its 75 releases, what changed in the latest one, and how often it ships.
What changed in 2.9.2
Released Jul 9, 2026, 1 month after 2.9.1- This maintenance release applies security hardening and minor code tidy-ups.
- Hardening – Restrict admin AJAX actions to authorized users and remove the unauthenticated hook
- Hardening – Limit the number of IDs processed per page view count request
- Tweak – Enable SSL verification on outbound API requests
- Tweak – Remove deprecated get_magic_quotes_gpc() usage for PHP 8 compatibility
- Tweak – Remove redundant output in the page view AJAX handlers
6 files changed since 2.9.1: 6 modified, 0 added, 0 removed.
- admin/admin-interface.php modified, -109 bytes
- admin/admin-ui.php modified, -168 bytes
- admin/includes/fonts_face.php modified, -428 bytes
- page-views-count.php modified, same size
- readme.txt modified, +482 bytes
- src/api/pvc-api.php modified, +365 bytes
Release history
75 releases since January 2013- 2.9.2 Jul 9, 2026 This maintenance release applies security hardening and minor code tidy-ups.
- 2.9.1 Jun 1, 2026 This maintenance release adds compatibility with PHP 8.5.
- 2.9.0 Apr 14, 2026 This maintenance release has bug fixes and compatibility with WordPress 7.0
- 2.8.7 Dec 2, 2025 This maintenance release has 2 user identified code bug fixes.
- 2.8.6 Apr 28, 2025 This maintenance release has a bug fix that was introduced in security patch release 2.8.5 earlier today.