106 reputation
3
bio website tamlyn.org
location London, United Kingdom
age
visits member for 3 years, 8 months
seen Nov 8 '13 at 17:49

Aug
14
comment Best practice for versioning wp-config.php?
Splitting wp-config.php has an extra benefit: you can include conf.php into a non WP script without loading the whole of WordPress.
Apr
26
comment wordpress.org codebase
+1 for introducing me to the API but it's not quite what I need as the version info is missing for plugins with few ratings.
Apr
26
awarded  Student
Apr
26
asked wordpress.org codebase
Apr
16
comment How to Get All Posts with any post status?
If you trace through the code (often easier than reading the docs, I find) you can see that WP_Query#get_posts() calls get_post_stati() which filters $wp_post_statuses for values where exclude_from_search is true then it excludes posts with these statuses from the query. There's a similar process for post types when post_type is set to 'any'.
Apr
15
comment How to Get All Posts with any post status?
From the WP_Query docs: 'any' - retrieves any status except those from post types with 'exclude_from_search' set to true. (There's a typo there, they actually mean post statuses instead of post types.) This means statuses auto-draft and trash are excluded.
Apr
15
awarded  Supporter
May
5
awarded  Citizen Patrol