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

datopian / frontend-v2 / 511 / 1
72%
master: 72%

Build:
DEFAULT BRANCH: master
Ran 07 Nov 2019 05:16AM UTC
Files 15
Run time 1s
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

07 Nov 2019 05:14AM UTC coverage: 74.492% (-0.4%) from 74.93%
511.1

push

travis-ci

anuveyatsu
[wp][s] fixes getting wp page with parent (#125)

Using 2 separate requests if there is a parent, because WP API does not allow for a single one:

If to use [`posts/slug:%24post_slug/` method]( https://developer.wordpress.com/docs/api/1.1/get/sites/%24site/posts/slug:%24post_slug/) - we cannot specify parent id - only slug -> if we have two pages one with parent and another without the parent with the same slug - the one without the parent will be returned.

If to use [`posts/` method](https://developer.wordpress.com/docs/api/1.1/get/sites/%24site/posts/) we cannot specify slug (they say in the documentation that it can be specified in tag or category, but that does not work in practice)

193 of 293 branches covered (65.87%)

Branch coverage included in aggregate %.

613 of 789 relevant lines covered (77.69%)

4.78 hits per line

Source Files on job 511.1
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 451
  • Travis Job 511.1
  • c15d4c99 on github
  • Prev Job for on master (#510.1)
  • Next Job for on master (#512.1)
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