Sergey Biryukov
|
a33ecb5f56
|
Improve punctuation in phpdoc. see #23090.
git-svn-id: https://develop.svn.wordpress.org/trunk@23665 602fd350-edb4-49c9-b593-d223f7449a82
|
2013-03-12 09:30:13 +00:00 |
Sergey Biryukov
|
3c38bfeaac
|
Fix typo in phpdoc. fixes #23090.
git-svn-id: https://develop.svn.wordpress.org/trunk@23312 602fd350-edb4-49c9-b593-d223f7449a82
|
2013-01-22 03:44:31 +00:00 |
Andrew Nacin
|
f4a95f061d
|
Ensure that get_archive_template() only loads a post type archive (archive-$post_type.php file) if there is exactly one post type in the query.
props scribu.
see #22956.
for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@23249 602fd350-edb4-49c9-b593-d223f7449a82
|
2013-01-03 06:17:47 +00:00 |
Ryan Boren
|
6d8bce688f
|
Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@22634 602fd350-edb4-49c9-b593-d223f7449a82
|
2012-11-17 15:11:29 +00:00 |
Ryan Boren
|
5108ff8b1e
|
Avoid notices in get_*_template() functions that use get_queried_object(), which can return null. Props wonderboymusic. fixes #20519
git-svn-id: https://develop.svn.wordpress.org/trunk@22293 602fd350-edb4-49c9-b593-d223f7449a82
|
2012-10-25 12:54:50 +00:00 |
Andrew Nacin
|
383487466b
|
Expect a possible array of post types in get_archive_template(). props SergeyBiryukov. fixes #20867.
git-svn-id: https://develop.svn.wordpress.org/trunk@21861 602fd350-edb4-49c9-b593-d223f7449a82
|
2012-09-15 20:07:15 +00:00 |
Andrew Nacin
|
44b778f75c
|
Remove reference to a global eliminated long ago. props tamlyn, fixes #20668.
git-svn-id: https://develop.svn.wordpress.org/trunk@20872 602fd350-edb4-49c9-b593-d223f7449a82
|
2012-05-24 07:06:13 +00:00 |
Andrew Nacin
|
11fd4b45c0
|
Introduce get_page_template_slug( $id = null ) to return a page's template (like "showcase.php"). Returns false if post ID is not a page, and an empty string for the default page template. Use the function across core. props billerickson for initial patch. fixes #18750.
git-svn-id: https://develop.svn.wordpress.org/trunk@20075 602fd350-edb4-49c9-b593-d223f7449a82
|
2012-03-02 18:56:54 +00:00 |
Andrew Nacin
|
563c3231b2
|
Move the template loading functions from wp-includes/theme.php to wp-includes/template.php. This includes get_query_template(), locate_template(), and friends. see #20103.
git-svn-id: https://develop.svn.wordpress.org/trunk@20002 602fd350-edb4-49c9-b593-d223f7449a82
|
2012-02-28 01:49:49 +00:00 |