Commit Graph

288 Commits

Author SHA1 Message Date
Ryan Boren ae0a2e7d24 wp_get_attachment_link filter. Props Viper007Bond. fixes #7448
git-svn-id: https://develop.svn.wordpress.org/trunk@9205 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-16 20:00:11 +00:00
Ryan Boren d806f2e97d link_before and link_after from thee17. fixes #5652
git-svn-id: https://develop.svn.wordpress.org/trunk@9202 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-16 19:13:30 +00:00
Ryan Boren 5d6dcacd59 post-template phpdoc from jacobsantos. see #7659
git-svn-id: https://develop.svn.wordpress.org/trunk@9138 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-13 22:28:34 +00:00
Ryan Boren f4fff13218 the_password_form filter from dancoulter. fixes #7758
git-svn-id: https://develop.svn.wordpress.org/trunk@8926 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-18 06:24:45 +00:00
Ryan Boren 6dc8dd451a wp_page_menu(). see #7698
git-svn-id: https://develop.svn.wordpress.org/trunk@8848 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-08 18:56:54 +00:00
Ryan Boren 973fdc9b43 show sticky class only when is_home. Props MtDewVirus. fixes #7712
git-svn-id: https://develop.svn.wordpress.org/trunk@8847 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-08 18:56:13 +00:00
Ryan Boren d7cbc74497 Skeleton phpdoc for post-template.php. Props jacobsantos. see #7659
git-svn-id: https://develop.svn.wordpress.org/trunk@8809 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-04 23:12:08 +00:00
Ryan Boren a487b60f71 post_password_required(). fixes #7679
git-svn-id: https://develop.svn.wordpress.org/trunk@8800 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-03 19:54:14 +00:00
Ryan Boren 21400530e1 get_post_class() from mdawaffe. see #7457
git-svn-id: https://develop.svn.wordpress.org/trunk@8643 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-13 23:26:14 +00:00
Ryan Boren 6992ce6781 Initialize classes array. see #7457
git-svn-id: https://develop.svn.wordpress.org/trunk@8642 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-13 21:59:52 +00:00
Ryan Boren 812ff9b44f Add more classes to post_class(). see #7457
git-svn-id: https://develop.svn.wordpress.org/trunk@8641 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-13 21:58:06 +00:00
Ryan Boren 198e2f10e0 phpdoc fix up for post_class(). see #7457
git-svn-id: https://develop.svn.wordpress.org/trunk@8639 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-13 19:10:44 +00:00
Ryan Boren 47194e9cd7 Add post_class() template function for emitting standard classes for post div. see #7457
git-svn-id: https://develop.svn.wordpress.org/trunk@8638 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-13 19:09:08 +00:00
Ryan Boren 2b8caf9a1f Add sticky_class() template tag. see #7457
git-svn-id: https://develop.svn.wordpress.org/trunk@8637 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-13 18:21:52 +00:00
Ryan Boren 2272a1a950 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@8600 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-09 05:36:14 +00:00
Mark Jaquith 3cab99fbd2 Cast to array when using foreach(). Props santosj (and thanks for your perseverance!). fixes #2784
git-svn-id: https://develop.svn.wordpress.org/trunk@8572 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-06 20:31:54 +00:00
Peter Westwood 5260a37685 Allow the default more string to be translated. Fixes #7449 props Viper007Bond.
git-svn-id: https://develop.svn.wordpress.org/trunk@8547 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-05 06:40:44 +00:00
Ryan Boren 66c719f214 Validation fixes for post revisions. Props mdawaffe. see #6775
git-svn-id: https://develop.svn.wordpress.org/trunk@8012 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-29 23:16:11 +00:00
Ryan Boren 163aa65807 Post revisions API cleanup from mdawaffe. see #6775
git-svn-id: https://develop.svn.wordpress.org/trunk@8011 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-29 22:21:36 +00:00
Ryan Boren 1c4f5de9a1 Revisioning for pages from mdawaffe. see #6775
git-svn-id: https://develop.svn.wordpress.org/trunk@7913 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-09 15:59:17 +00:00
Ryan Boren a1be16cf86 Move autosave to post revisions. Props mdawaffe. see #6775
git-svn-id: https://develop.svn.wordpress.org/trunk@7907 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-08 17:25:07 +00:00
Peter Westwood f70f8d56cc Associate lables with form fields. Fixes #6859 props MarcoZ.
git-svn-id: https://develop.svn.wordpress.org/trunk@7883 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-04 10:37:06 +00:00
Ryan Boren c54046696b Fix pass by ref error. Props DD32. fixes #6776 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7749 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-20 06:45:13 +00:00
Ryan Boren c72fd439c6 Post revisions from mdawaffe. see #6775
git-svn-id: https://develop.svn.wordpress.org/trunk@7747 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 23:38:21 +00:00
Matt Mullenweg 58714b0c30 Return the content so everything doesn't go blank from [7491]. See #6537. Hat tip: robmil.
git-svn-id: https://develop.svn.wordpress.org/trunk@7492 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-23 18:19:03 +00:00
Ryan Boren cbfb5d78b5 Taxonomy queries and urls. Props andy. see #6357
git-svn-id: https://develop.svn.wordpress.org/trunk@7491 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-23 17:02:11 +00:00
Mark Jaquith df6429885e Do not double-mark posts as "Private" in the admin. fixes #3146
git-svn-id: https://develop.svn.wordpress.org/trunk@7404 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-19 21:33:47 +00:00
Ryan Boren 32e414dbf4 Image fixes from andy. see #5911
git-svn-id: https://develop.svn.wordpress.org/trunk@7263 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-12 08:10:00 +00:00
Ryan Boren 7d6440bba2 Fix insert, gallery, sizing, type queries, errors, thumbs, type fallback. Props andy. see #5911
git-svn-id: https://develop.svn.wordpress.org/trunk@7172 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-06 19:48:54 +00:00
Matt Mullenweg cc3147ab22 New functions for attachment image display, fixes #6086. Hat tip: tellyworth.
git-svn-id: https://develop.svn.wordpress.org/trunk@7149 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-04 04:21:37 +00:00
Matt Mullenweg 88bb527a19 Creating intermediate sizes, better thumbnails, and other image improvements. Hat tip: tellyworth.
git-svn-id: https://develop.svn.wordpress.org/trunk@7135 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-03 04:17:37 +00:00
Ryan Boren 75512587f1 Add current_page_item on page_for_posts. Props mdawaffe. fixes #2959
git-svn-id: https://develop.svn.wordpress.org/trunk@7073 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-27 22:38:02 +00:00
Ryan Boren 579698f0b1 Media library work from andy. see #5911
git-svn-id: https://develop.svn.wordpress.org/trunk@6974 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-22 05:53:47 +00:00
Ryan Boren c819fc307f Media handling updates from andy. fixes #5874
git-svn-id: https://develop.svn.wordpress.org/trunk@6876 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-16 21:54:47 +00:00
Ryan Boren 60b802e55d Some notice fixes from Nazgul. fixes #3155
git-svn-id: https://develop.svn.wordpress.org/trunk@6711 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-02 18:42:09 +00:00
Ryan Boren 36dffb5d2d Add unique 'for' attribute to labels for post password forms. Props Nazgul. fixes #4721
git-svn-id: https://develop.svn.wordpress.org/trunk@6698 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-31 21:47:35 +00:00
Peter Westwood 90e193bdab Notice fixing for wp-includes. See #5607 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@6592 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-10 20:51:07 +00:00
Ryan Boren 930b3c2b2e wp_list_pages() no longer requires get_pages() to do a hierarchical sort. Set hierarchical to false. see #5458
git-svn-id: https://develop.svn.wordpress.org/trunk@6399 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-17 06:53:59 +00:00
Ryan Boren 3a8b2fcca3 Remove unused vars. Props DD32. see #5418
git-svn-id: https://develop.svn.wordpress.org/trunk@6364 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-06 19:49:33 +00:00
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