Commit Graph

92 Commits

Author SHA1 Message Date
Ryan Boren
e3e8dfeef4 Make sure permalinks for draft pages use query string style since the slug might not be set yet.
git-svn-id: https://develop.svn.wordpress.org/trunk@3708 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-15 00:59:40 +00:00
Ryan Boren
eda9ffad88 Removed unused var.
git-svn-id: https://develop.svn.wordpress.org/trunk@3696 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-06 00:44:35 +00:00
Ryan Boren
4d5eb321e7 Paging fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@3694 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-05 20:48:29 +00:00
Ryan Boren
4bbee1b73c Some optimization of the post query. #2604
git-svn-id: https://develop.svn.wordpress.org/trunk@3678 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-02 00:33:10 +00:00
Ryan Boren
940499731d edit_comment_link fix from westi. fixes #2559
git-svn-id: https://develop.svn.wordpress.org/trunk@3647 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-20 19:45:46 +00:00
Ryan Boren
7a89d5f0bd Post paging rework from David House. fixes #2536
git-svn-id: https://develop.svn.wordpress.org/trunk@3646 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-20 19:43:57 +00:00
Ryan Boren
25dc212067 Actually move these this time. #2520
git-svn-id: https://develop.svn.wordpress.org/trunk@3590 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-02 03:31:43 +00:00
Ryan Boren
64173c9918 Move deprecated functions to deprecated.php. #2520
git-svn-id: https://develop.svn.wordpress.org/trunk@3589 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-02 03:27:48 +00:00
Ryan Boren
bc8f242382 Fix edit links.
git-svn-id: https://develop.svn.wordpress.org/trunk@3567 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-22 19:17:28 +00:00
Ryan Boren
7ba0ac70b4 get_permalink() performance improvement from arnee. fixes #2463
git-svn-id: https://develop.svn.wordpress.org/trunk@3538 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-17 01:04:20 +00:00
Ryan Boren
6008a133c4 Death to trailing tabs. Props Mark J. fixes #2405
git-svn-id: https://develop.svn.wordpress.org/trunk@3517 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-12 07:53:23 +00:00
Ryan Boren
f156e83af5 Post status = future. #2426
git-svn-id: https://develop.svn.wordpress.org/trunk@3514 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-12 07:41:56 +00:00
Ryan Boren
f961003343 Allow draft pages. Use post_type for object types. Reserve post_status strictly for status. fixes #1820
git-svn-id: https://develop.svn.wordpress.org/trunk@3510 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-09 10:03:48 +00:00
Matt Mullenweg
3388fce967 Exclude cats like we said we would, davidhouse. Fixes #2215 and fixes #2187
git-svn-id: https://develop.svn.wordpress.org/trunk@3508 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-09 08:26:30 +00:00
Ryan Boren
6cb2813239 Use current_user_can
git-svn-id: https://develop.svn.wordpress.org/trunk@3505 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-07 01:06:04 +00:00
Ryan Boren
353b0b2b5c wp_specialchars the request uri when contructing paging links. fixes #1686
git-svn-id: https://develop.svn.wordpress.org/trunk@3440 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-15 23:42:10 +00:00
Ryan Boren
f29f877dba Edit link does not belong on attachments. fixes #2119
git-svn-id: https://develop.svn.wordpress.org/trunk@3333 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-21 15:47:54 +00:00
Ryan Boren
f160329f66 Attachment enhancements from skeltoac. fixes #2074
git-svn-id: https://develop.svn.wordpress.org/trunk@3303 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-13 19:19:56 +00:00
Matt Mullenweg
39a7455309 Fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@3122 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 01:57:18 +00:00
Ryan Boren
1a012b8b49 Renaming. object and subpost are now attachment. post_type is post_mime_type.
git-svn-id: https://develop.svn.wordpress.org/trunk@3092 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-15 22:55:24 +00:00
Ryan Boren
1da25e1927 Image fu from Andy. fixes #1776
git-svn-id: https://develop.svn.wordpress.org/trunk@2958 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-20 20:48:32 +00:00
Ryan Boren
ac45aae4d7 More code cleanups from Mark Jaquith. fixes #1768
git-svn-id: https://develop.svn.wordpress.org/trunk@2952 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-17 23:41:28 +00:00
Ryan Boren
3c14e443da Spacing fix from markjaquith. fixes #1665
git-svn-id: https://develop.svn.wordpress.org/trunk@2861 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-09 23:35:30 +00:00
Ryan Boren
28fbadb064 Fix before/after spacing. Props mjsteinbaugh. fixes #1588
git-svn-id: https://develop.svn.wordpress.org/trunk@2859 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-08 21:40:37 +00:00
Ryan Boren
87dc2431b6 posts_nav_link fixes from Denis-de-Bernardy. fixes #789
git-svn-id: https://develop.svn.wordpress.org/trunk@2855 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-08 21:05:07 +00:00
Matt Mullenweg
d40e12b750 Fixes #1357
git-svn-id: https://develop.svn.wordpress.org/trunk@2803 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-23 07:43:11 +00:00
Matt Mullenweg
07fc6d5bac http://mosquito.wordpress.org/view.php?id=1348 - rboren - perhaps we should standardize on REQUEST_URI and clean up in wp-settings?
git-svn-id: https://develop.svn.wordpress.org/trunk@2602 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-13 21:11:26 +00:00
Ryan Boren
79ee1c30f1 In same category support for next and previous post navigation. http://mosquito.wordpress.org/view.php?id=1252 Props: skippy
git-svn-id: https://develop.svn.wordpress.org/trunk@2542 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-18 21:47:35 +00:00
Ryan Boren
f558669a6e Filter the title in next_post() and previous_post(). Mark next_post() and previous_post() as deprecated. Update the default theme to use next_post_link() and previous_post_link(). http://mosquito.wordpress.org/view.php?id=1241 Hat tip: wyrfel
git-svn-id: https://develop.svn.wordpress.org/trunk@2538 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-17 17:09:19 +00:00
Ryan Boren
a0d5ea6ba2 Remove old preview stuff. Allow draft posts to be displayed if the logged in user has edit permissions on the draft. Don't use cruft-free links for drafts since they might not have a slug. http://mosquito.wordpress.org/view.php?id=1220
git-svn-id: https://develop.svn.wordpress.org/trunk@2523 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-09 17:12:36 +00:00
Ryan Boren
92bfcd3e37 Fix Manage->Posts paging when running WP in a subdir. http://mosquito.wordpress.org/view.php?id=1177
git-svn-id: https://develop.svn.wordpress.org/trunk@2499 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-30 06:51:55 +00:00
Ryan Boren
82d89d8d7c Add paging to Manage->Posts. http://mosquito.wordpress.org/view.php?id=1177
git-svn-id: https://develop.svn.wordpress.org/trunk@2481 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-28 02:34:16 +00:00
Ryan Boren
8dec99fddb Cacheing cleanup. Introduce get_post() and get_category(). http://mosquito.wordpress.org/view.php?id=1157
git-svn-id: https://develop.svn.wordpress.org/trunk@2478 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-27 20:45:01 +00:00
Ryan Boren
9e7ef95b4c Cache the max number of pages to avoid multiple queries. http://mosquito.wordpress.org/view.php?id=1063
git-svn-id: https://develop.svn.wordpress.org/trunk@2422 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-09 04:15:30 +00:00
Ryan Boren
87bbe3b04f Use index.php for feed links instead of wp-*.php http://mosquito.wordpress.org/view.php?id=915
git-svn-id: https://develop.svn.wordpress.org/trunk@2384 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-26 06:12:16 +00:00
michelvaldrighi
8150ffc1a3 if permalink_structure doesn't have %category%, don't bother querying categories
git-svn-id: https://develop.svn.wordpress.org/trunk@2355 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-16 15:49:02 +00:00
Matt Mullenweg
a29e5dbc3c Don't show posts from the future
git-svn-id: https://develop.svn.wordpress.org/trunk@2255 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-11 01:27:10 +00:00
Matt Mullenweg
5173c86910 Remove querystring variable legacy code
git-svn-id: https://develop.svn.wordpress.org/trunk@2239 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-07 07:37:53 +00:00
Ryan Boren
e90040e79b Correctly add args to strings that contain only a query string and not a full URI.
git-svn-id: https://develop.svn.wordpress.org/trunk@2227 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-06 03:40:08 +00:00
michelvaldrighi
35445592b7 Fix for bug #559, just use user_can_ functions
git-svn-id: https://develop.svn.wordpress.org/trunk@2195 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-01 11:14:45 +00:00
Ryan Boren
6fba9fa40c Feed link fix for bug 775. Hat tip: Kafkaesqui
git-svn-id: https://develop.svn.wordpress.org/trunk@2181 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-01 02:01:38 +00:00
Ryan Boren
eb37982a00 Add link filters for bug 743 (hat tip to morganiq). More abstraction and flexibility in WP_Rewrite.
git-svn-id: https://develop.svn.wordpress.org/trunk@2152 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-26 22:46:40 +00:00
Ryan Boren
323fc1ad10 If a category has parents, include those parents when generating the post permalink (if the permalink contains %category%).
git-svn-id: https://develop.svn.wordpress.org/trunk@2148 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-25 05:01:54 +00:00
Matt Mullenweg
2f13f79e76 More escaping of description and cleaner default feed URIs.
git-svn-id: https://develop.svn.wordpress.org/trunk@2118 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-22 03:45:35 +00:00
Ryan Boren
04b4729e6e Add the_permalink filter. Bug 693. Props: morganiq
git-svn-id: https://develop.svn.wordpress.org/trunk@2094 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-14 23:43:20 +00:00
Matt Mullenweg
7e8f96ac46 Some feed template function cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@2068 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-07 22:01:59 +00:00
Matt Mullenweg
3ebf5a36e2 Cleaning up blogfilename.
git-svn-id: https://develop.svn.wordpress.org/trunk@1997 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-24 01:34:47 +00:00
Ryan Boren
dd4e4b9df6 Move rewrite and permalink functions into WP_Rewrite class.
git-svn-id: https://develop.svn.wordpress.org/trunk@1908 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-03 02:38:11 +00:00
Ryan Boren
91e1e27d01 Permalink love. Wrap mod_rewrite rules in a conditional. Make sure date permalinks are sane. Add get_year_link().
git-svn-id: https://develop.svn.wordpress.org/trunk@1868 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-19 20:54:16 +00:00
Ryan Boren
cc06069384 Allow comments on pages. Props: error http://wordpress.org/support/6/16759
git-svn-id: https://develop.svn.wordpress.org/trunk@1860 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-17 03:45:50 +00:00