Skip to content

antonioortegajr/wp-sys-profile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

WP Sys Profile

This plugin creates a custom REST API Endpoint that displays information on the WordPress install and the stack it runs on.

Requires WordPress 4.4 or higher.

No authentication is required for public route. Private route looks for a key passed in the request headers. OAuth is probably better, but this might make this plugin useful for larger scale support where getting information quickly with a little customer effort is valuable.

NO sensitive information (usernames, passwords, etc...) is passed in the public route.

Some are in ONLY the private route.

If you need to report further sensitive information feel free to fork this repo.

Displays the following information:

  • URL
  • Server type
  • PHP Version
  • PHP mem limit
  • MySQL version
  • cURL enabled
  • WordPress Version
  • Encoding
  • WP mem limit
  • WP max mem limit
  • Permalink structure
  • Is a MultiSite
  • Current Theme
  • Array of installed plugins

If you have security concerns about displaying this kind of information publicly, fork this repo and remove any of the info you like. Or disable the public route. Or add in some further level of security. Pulls welcome.

Live example of this on my site: http://antonioortegajr.com/wp-json/sys_profile/v1/profile

WP API docs: http://wp-api.org/guides/extending.html

I have seen other plugins that do a very similar thing. However they don't offer me an REST endpoint to argue against and ultimately that is why I started this project.

Any changes and with a little set up, I can know programmatically.

The plugins that display this kind of report in WP dash, in an accessible html page, or in an external service are all neat. I just wanted an API endpoint.

Forks and Pulls welcome. And Issues...

GitHub Page: http://antonioortegajr.github.io/wp-sys-profile/

About

This plugin creates a custom REST API Endpoint that displays information on the WordPress install and the stack it runs on.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages