What request is WordPress sending on theme update?

WP send pretty much… everything with update request. You can examine wp_update_themes() for logic, but data would include something like this for every theme installed: ┌──────────────────────────────────────────────────────────────────────────────┐ │ $request │ └──────────────────────────────────────────────────────────────────────────────┘ array (2) [ ‘active’ => string (6) “twentysixteen” ‘themes’ => array (16) [ ‘twentysixteen’ => array (7) [ ‘Name’ => string (14) “Twenty Sixteen” ‘Title’ … Read more

ng-repeat is not returning a list of posts

It looks like the tutorial you linked is using success, and you’ve changed it to then. The success method has been deprecated, so you were correct to do that. However, because then returns data a little differently from success, you’ll need to update your $scope.post variable accordingly: $scope.post = res.data; You can find a great … Read more

WP API and Proxy

Using a proxy is important when you cannot store your authentication credentials securely. One encounters this problem when building single page applications with client-side JavaScript Frameworks like Angular or Ember. This blog entry by Alex Bilbie nicely summarises the issue. As a side project, involving a Angular/Ionic/Cordova application and WordPress, I’m building a proxy plugin … Read more