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

datopian / frontend-v2 / 507 / 1
74%
master: 72%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v2.1.7
DEFAULT BRANCH: master
Ran 05 Nov 2019 11:02AM 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

05 Nov 2019 11:01AM UTC coverage: 74.099% (-0.4%) from 74.544%
507.1

Pull #125

travis-ci

web-flow
[wp][s] fixes getting wp page with parent

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)
Pull Request #125: [wp][s] fixes getting wp page with parent

191 of 291 branches covered (65.64%)

Branch coverage included in aggregate %.

590 of 763 relevant lines covered (77.33%)

4.65 hits per line

Source Files on job 507.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 447
  • Travis Job 507.1
  • a8c0b470 on github
  • Prev Job for on fix/wp-parent-page (#506.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