-
-
Save danielbachhuber/bae02f65d0e05a34e214 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ wp shell | |
wp> require_once ABSPATH.'wp-admin/includes/plugin.php'; | |
wp> require_once ABSPATH.'wp-admin/includes/plugin-install.php'; | |
wp> plugins_api( 'query_plugins', array( 'per_page' => 1, 'search' => 'co-authors', 'fields' => array( 'name' ) ) ); | |
array ( | |
'timeout' => 15, | |
'body' => | |
array ( | |
'action' => 'query_plugins', | |
'request' => 'O:8:"stdClass":4:{s:8:"per_page";i:1;s:6:"search";s:10:"co-authors";s:6:"fields";a:1:{i:0;s:4:"name";}s:6:"locale";s:5:"en_US";}', | |
), | |
) | |
object(stdClass)#368 (2) { | |
["info"]=> | |
array(3) { | |
["page"]=> | |
int(1) | |
["pages"]=> | |
int(154) | |
["results"]=> | |
int(154) | |
} | |
["plugins"]=> | |
array(1) { | |
[0]=> | |
object(stdClass)#369 (15) { | |
["name"]=> | |
string(10) "Co-Authors" | |
["slug"]=> | |
string(10) "co-authors" | |
["version"]=> | |
string(12) "1.0 (beta 6)" | |
["author"]=> | |
string(51) "<a href="http://weston.ruter.net/">Weston Ruter</a>" | |
["author_profile"]=> | |
string(42) "https://profiles.wordpress.org/westonruter" | |
["contributors"]=> | |
array(1) { | |
["westonruter"]=> | |
string(42) "https://profiles.wordpress.org/westonruter" | |
} | |
["requires"]=> | |
string(3) "2.3" | |
["tested"]=> | |
string(5) "2.6.2" | |
["compatibility"]=> | |
array(0) { | |
} | |
["rating"]=> | |
int(0) | |
["num_ratings"]=> | |
string(1) "0" | |
["ratings"]=> | |
array(5) { | |
[5]=> | |
int(0) | |
[4]=> | |
int(0) | |
[3]=> | |
int(0) | |
[2]=> | |
int(0) | |
[1]=> | |
int(0) | |
} | |
["homepage"]=> | |
string(47) "http://wordpress.org/extend/plugins/co-authors/" | |
["description"]=> | |
string(223) "<p>This plugin has been forked and is now being maintained by Automattic as <a href="http://wordpress.org/plugins/co-authors-plus/">Co-Authors Plus</a>. Their fork supercedes this original plugin; please use it instead.</p>" | |
["short_description"]=> | |
string(150) "Allows multiple authors to be assigned to a post. Co-authored posts appear on a co-author's posts page and feed. New template tags list co-author" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment