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

WordPoints / wordpoints
68%
master: 53%

Build:
Build:
LAST BUILD BRANCH: 1.10.4
DEFAULT BRANCH: master
Repo Added 03 Jan 2015 09:43PM UTC
Files 38
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

LAST BUILD ON BRANCH issue-256
branch: issue-256
CHANGE BRANCH
x
Reset
  • issue-256
  • 1.10
  • 1.10.0
  • 1.10.1
  • 1.10.2
  • 1.10.4
  • 1.5
  • 1.9
  • 1.9.0
  • 1.9.1
  • 1.9.2
  • 2.0
  • 2.0.0
  • 2.0.1
  • 2.0.2
  • feature/296
  • feature/misc
  • issue-210
  • issue-221
  • issue/211
  • issue/220
  • issue/222
  • issue/262
  • issue/263
  • issue/273
  • issue/277
  • issue/298
  • issue/300
  • issue/307
  • issue/317
  • issue/326
  • issue/328
  • issue/330
  • issue/335
  • issue/337
  • issue/345
  • issue/349
  • master
  • release/2.0.0
  • release/2.0.1
  • release/2.0.2
  • security/77231
  • stable

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

Relevant lines Covered
Build:
Build:
2451 RELEVANT LINES 1666 COVERED LINES
24.96 HITS PER LINE
Source Files on issue-256
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
290 issue-256 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-obj... push 28 Jan 2015 12:58AM UTC JDGrimes travis-ci pending completion  
289 issue-256 Remove dead assignment Thank you Scrutinizer. push 28 Jan 2015 12:40AM UTC JDGrimes travis-ci pending completion  
288 issue-256 Post hook: let auto-reverse be disabled on legacy See #256 push 27 Jan 2015 10:41PM UTC JDGrimes travis-ci pending completion  
See All Builds (121)
  • Repo on GitHub
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

© 2025 Coveralls, Inc