Files
wordpress/wp-includes
Scott Taylor 523b51a359 Query:
Add a query var, `title`, that allows you to query posts by `post_title`. To accomplish this now, you have to do something like:

{{{
$tacos = get_posts( [
  'post_type' => 'taco',
  's' => $name,
  'exact' => true,
  'sentence' => true,
  'post_status' => 'publish',
  'fields' => 'ids',
  'posts_per_page' => 1
] );
}}}

Adds unit tests.

Fixes #33074.

Built from https://develop.svn.wordpress.org/trunk@33706


git-svn-id: http://core.svn.wordpress.org/trunk@33673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-22 16:59:26 +00:00
..
2015-07-23 10:03:24 +00:00
2015-06-28 00:17:25 +00:00
2015-06-28 15:27:24 +00:00
2015-06-28 15:27:24 +00:00
2015-06-28 15:27:24 +00:00
2015-08-22 16:59:26 +00:00
2015-08-17 21:39:25 +00:00
2015-06-16 20:01:25 +00:00
2015-05-26 21:51:31 +00:00
2015-08-20 19:40:25 +00:00
2015-08-22 16:59:26 +00:00
2015-06-16 20:01:25 +00:00
2015-06-28 15:27:24 +00:00
2015-08-17 21:39:25 +00:00
2015-08-22 16:59:26 +00:00