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

datopian / frontend-v2 / 511
72%

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

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

Jobs
ID Job ID Ran Files Coverage
1 511.1 07 Nov 2019 05:16AM UTC 0
74.49
Travis Job 511.1
Source Files on build 511
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #511
  • c15d4c99 on github
  • Prev Build on master (#510)
  • Next Build on master (#512)
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