• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

WordPoints / wordpoints / 290
68%
master: 53%

Build:
Build:
LAST BUILD BRANCH: 1.10.4
DEFAULT BRANCH: master
Ran 28 Jan 2015 12:58AM UTC
Jobs 1
Files 49
Run time 22s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
290

push

travis-ci

JDGrimes
Avoid errors when creating posts of invalid types

In WordPress 3.9 and below there is this function
`_update_blog_date_on_post_publish()` which assumes that the post type
is valid, and will give an error like:

`
Trying to get property of non-object

/tmp/wordpress/wp-includes/ms-blogs.php:864

/tmp/wordpress/wp-includes/plugin.php:470

/tmp/wordpress/wp-includes/post.php:3664

/tmp/wordpress/wp-includes/post.php:3199

/tmp/wordpress-tests/includes/factory.php:79

/tmp/wordpress-tests/includes/factory.php:286
`

This should keep that from happening.

1666 of 2451 relevant lines covered (67.97%)

24.96 hits per line

Jobs
ID Job ID Ran Files Coverage
27 290.27 (TRAVISCI_RUN=phpunit WP_VERSION=stable) 28 Jan 2015 12:49AM UTC 0
67.97
Travis Job 290.27
Source Files on build 290
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #290
  • 85cd7884 on github
  • Prev Build on issue-256 (#289)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc