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

datopian / frontend-v2 / 508
74%
master: 72%

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

push

travis-ci

EvgeniiaVak
[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)

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

Jobs
ID Job ID Ran Files Coverage
1 508.1 05 Nov 2019 11:27AM UTC 0
74.1
Travis Job 508.1
Source Files on build 508
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #508
  • 2f8564de 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

© 2026 Coveralls, Inc