[Resolved] Custom Post Types views bug
Found a small bug with custom post types and the pending status of them.
When a custom post type is not yet published, it throws this error:
Warning: number_format() expects parameter 1 to be double, string given in /home/user/public_html/wp-includes/functions.php on line 155
This is likely because it’s trying to query a post that is not yet public and therefor, no stats are available.
Also, probably worth adding an option to decide which post types to query, having it for every CPT is likely making the page load slower when I don’t actually want that data being retrieved or tracked.
- The topic ‘[Resolved] Custom Post Types views bug’ is closed to new replies.