Commit Graph

99 Commits

Author SHA1 Message Date
Peter Westwood
789b65933e Add is_page_template() function to allow theme developers to detect that they are is a page template. Fixes #3335
git-svn-id: https://develop.svn.wordpress.org/trunk@6228 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-12 20:01:16 +00:00
Peter Westwood
d36d0756e3 Define $constaint is all cases in get_attachment_icon() to fix E_NOTICE. Fixed #5159 props richcon.
git-svn-id: https://develop.svn.wordpress.org/trunk@6201 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-07 07:35:20 +00:00
Ryan Boren
ec05e6cfd7 the_title_attribute(). Props Nazgul. fixes #4731
git-svn-id: https://develop.svn.wordpress.org/trunk@6132 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 22:50:59 +00:00
Ryan Boren
7941b7160a Revert rename of more-link class. Props foolswisdom. fixes #4999
git-svn-id: https://develop.svn.wordpress.org/trunk@6128 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 16:44:35 +00:00
Ryan Boren
3db6ccefb0 Deprecate fakeit arg. Props Nazgul. fixes #4439
git-svn-id: https://develop.svn.wordpress.org/trunk@6114 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 21:27:26 +00:00
Ryan Boren
7a43c01e08 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@6026 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 23:32:58 +00:00
Ryan Boren
72be6cb001 Move the_title filter to get_the_title. Props jhodgdon. fixes #4477
git-svn-id: https://develop.svn.wordpress.org/trunk@5752 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-25 17:48:35 +00:00
Ryan Boren
09da00f7fe Use EXTR_SKIP when extracting. see #4468
git-svn-id: https://develop.svn.wordpress.org/trunk@5708 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 22:45:40 +00:00
Mark Jaquith
0f0788d24d Introducing post_status="pending". see #4446 and put any initial bug reports on that ticket
git-svn-id: https://develop.svn.wordpress.org/trunk@5707 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 16:24:28 +00:00
Ryan Boren
b046d67f41 Trim empty lines. Nothing but newline.
git-svn-id: https://develop.svn.wordpress.org/trunk@5700 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 02:25:30 +00:00
rob1n
46745ee278 Don't translate "you haven't installed" text yet, because text domain isn't installed. Props nbachiyski.
git-svn-id: https://develop.svn.wordpress.org/trunk@5615 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 12:29:46 +00:00
rob1n
c213997f48 Use wp_parse_args(). fixes #4237
git-svn-id: https://develop.svn.wordpress.org/trunk@5444 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-11 03:10:05 +00:00
rob1n
7aca30b768 has_excerpt() template tag. fixes #4177 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5293 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-22 04:25:47 +00:00
rob1n
f8680b6c3a <!--more--> regex fixes. Props Nazgul. fixes #3698
git-svn-id: https://develop.svn.wordpress.org/trunk@5244 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-11 22:47:36 +00:00
rob1n
0fced13a94 Don't use fancy permalinks on draft previews. Props Viper007Bond. fixes #4117
git-svn-id: https://develop.svn.wordpress.org/trunk@5242 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-11 16:52:58 +00:00
rob1n
95918aee5d Add the_meta_key filter with $key and $value arguments. Props mdawaffe. fixes #2861
git-svn-id: https://develop.svn.wordpress.org/trunk@5241 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-11 05:38:30 +00:00
rob1n
2e64f813ec Set the post ID when calling wp_get_attachment_url(). Props chess64. fixes #4104
git-svn-id: https://develop.svn.wordpress.org/trunk@5199 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 23:42:38 +00:00
Mark Jaquith
cb973fe273 have wp_list_pages() default to menu_order sorting and only use post_title sorting as a secondary sort. props johnbillion. fixes #3924 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@5049 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-16 08:19:10 +00:00
Mark Jaquith
e2f9950018 user_trailingslashit filter for users who sometimes want trailing slashes only on certain URL types. fixes #3899
git-svn-id: https://develop.svn.wordpress.org/trunk@5019 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-10 06:18:43 +00:00
Mark Jaquith
b2105a943e Cleaner and more complete fix for [5017]. fixes #3949
git-svn-id: https://develop.svn.wordpress.org/trunk@5018 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-10 06:09:52 +00:00
Mark Jaquith
af92eb9142 Respect user trailing slash preference for multipage posts and eliminate redundant /1/. fixes #3949
git-svn-id: https://develop.svn.wordpress.org/trunk@5017 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-10 05:54:12 +00:00
Mark Jaquith
5acfcd9fea trailing tabs and whitespace cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@4953 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-27 15:24:54 +00:00
Ryan Boren
4ff1f542b8 Change more from anchor to span for proper validation. Props coolmann and rob1n. fixes #3530
git-svn-id: https://develop.svn.wordpress.org/trunk@4925 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-23 01:15:51 +00:00
Ryan Boren
ae8cc717ac Check page ID only if is_page. fixes #3049
git-svn-id: https://develop.svn.wordpress.org/trunk@4863 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-02 16:38:26 +00:00
Ryan Boren
21fdc53a8f Send to Editor fixes from mdawaffe. fixes #3594
git-svn-id: https://develop.svn.wordpress.org/trunk@4748 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-16 18:10:54 +00:00
Ryan Boren
b9719b9a71 Pass all args to the page walker.
git-svn-id: https://develop.svn.wordpress.org/trunk@4723 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-12 03:54:22 +00:00
Ryan Boren
ac7d4b46cc wp_get_attachment_thumb_url() fix from mdawaffe. fixes #3520
git-svn-id: https://develop.svn.wordpress.org/trunk@4682 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-05 20:54:55 +00:00
Ryan Boren
29d5c032ce Now with less bugs. fixes #3411
git-svn-id: https://develop.svn.wordpress.org/trunk@4671 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-02 19:51:36 +00:00
Ryan Boren
368695f87d Attachment fixes from mdawaffe. fixes #3411
git-svn-id: https://develop.svn.wordpress.org/trunk@4670 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-02 19:28:30 +00:00
Mark Jaquith
a011b23b47 Whitespace cleanup for [4656]
git-svn-id: https://develop.svn.wordpress.org/trunk@4657 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-21 10:45:58 +00:00
Mark Jaquith
31c39f948d new function for escaping within attributes: attribute_escape()
git-svn-id: https://develop.svn.wordpress.org/trunk@4656 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-21 10:10:04 +00:00
Ryan Boren
32c1d247ac Attachment data abstraction from mdawaffe. fixes #3440
git-svn-id: https://develop.svn.wordpress.org/trunk@4612 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-05 22:37:19 +00:00
Mark Jaquith
8ac738081e trailingslashit() fix for paged posts links from activeingredient. fixes #3163
git-svn-id: https://develop.svn.wordpress.org/trunk@4603 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-04 14:42:34 +00:00
Mark Jaquith
5a35e93a0a global exclude filter for wp_list_pages(). fixes #3402
git-svn-id: https://develop.svn.wordpress.org/trunk@4586 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-03 09:23:17 +00:00
Ryan Boren
80203b1777 Don't use 'import' as a mime type. Props mdawaffe and westi. fixes #3219
git-svn-id: https://develop.svn.wordpress.org/trunk@4552 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-30 01:56:06 +00:00
Mark Jaquith
e4896b513a Entity encode image title attribute. Props mdawaffe. fixes #3258
git-svn-id: https://develop.svn.wordpress.org/trunk@4402 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-17 18:24:36 +00:00
Mark Jaquith
836286e8ec Post meta caching fix by mdawaffe. fixes #3229
git-svn-id: https://develop.svn.wordpress.org/trunk@4372 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-11 09:18:54 +00:00
Ryan Boren
08ca04f068 more-link css class. Props Viper007Bond. fixes #3009
git-svn-id: https://develop.svn.wordpress.org/trunk@4278 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-03 15:46:45 +00:00
Ryan Boren
0022e717d8 Show more link in RSS. Don't show more link if more link text empty. Take more into account when creating excerpt.
git-svn-id: https://develop.svn.wordpress.org/trunk@4184 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-11 23:59:00 +00:00
Ryan Boren
aa0adc291e Get pages by author[s]. Props westi. fixes #1486
git-svn-id: https://develop.svn.wordpress.org/trunk@4180 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-10 17:47:49 +00:00
Ryan Boren
a28be38534 i18n fixes from nbachiyski. fixes #3109
git-svn-id: https://develop.svn.wordpress.org/trunk@4165 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-05 18:52:24 +00:00
Ryan Boren
7e82eef627 Use get_option instead of get_settings. Just 'cause.
git-svn-id: https://develop.svn.wordpress.org/trunk@4144 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 21:46:31 +00:00
Ryan Boren
64fb5cb109 Deprecate link_pages(). Clean up wp_link_pages().
git-svn-id: https://develop.svn.wordpress.org/trunk@4142 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 21:00:37 +00:00
Ryan Boren
fbfc1f6947 Don't page off the end. Props Mark J. fixes #3039
git-svn-id: https://develop.svn.wordpress.org/trunk@4106 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-18 08:36:11 +00:00
Ryan Boren
8386c4a5c9 There can be only one, or maybe more. Props Mark J. fixes #2991
git-svn-id: https://develop.svn.wordpress.org/trunk@4071 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-01 13:53:04 +00:00
Ryan Boren
1eba7bb0f3 (More more more) how do you like it, how do you like it. fixes #2991
git-svn-id: https://develop.svn.wordpress.org/trunk@4070 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-01 04:54:23 +00:00
Ryan Boren
5e32c14d39 Move ping and trackback functions to comment.php (maybe to ping.php later?) #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3900 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-22 19:44:36 +00:00
Ryan Boren
d672e3fc7f Add show_option_none to wp_dropdown_pages(). Props ryanscheuermann. #2515
git-svn-id: https://develop.svn.wordpress.org/trunk@3852 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-07 23:27:25 +00:00
Ryan Boren
d3f6c3ca0d Reworg post/page/attachment functions. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3851 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-07 23:17:59 +00:00