Commit Graph

45 Commits

Author SHA1 Message Date
ryan e2dc2a8dd3 Add some taxonomy validation. Rearrange funcs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-19 00:33:44 +00:00
ryan 64d3a54b85 Don't use permalinks for pending posts. see #4446
git-svn-id: http://svn.automattic.com/wordpress/trunk@5716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-15 22:11:01 +00:00
ryan 2f09416258 Trim empty lines. Nothing but newline.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 02:25:30 +00:00
rob1n d268eae391 Some more get_pagenum_link() fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 03:36:40 +00:00
rob1n 544f18ce7d Fix get_pagenum_link() for query strings. fixes #3930
git-svn-id: http://svn.automattic.com/wordpress/trunk@5610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 03:29:44 +00:00
ryan 6a314d85d8 Use taxonomy instead of post2cat. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-29 16:52:31 +00:00
markjaquith b0ffd98c95 switch to term_id and name for category sorting. see #4189. sort by term_id for category permalinks, by name for get_the_category(). fixes #4335 for trunk. Props Erik Barzeski for the find.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-29 04:54:45 +00:00
ryan 6621b8eed0 Fix category permalinks. Update cat_ID to term_id. fixes #4349 see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-28 18:47:08 +00:00
ryan a438f8a92a Better draft, private, and future post/page management from mdawaffe. fixes #3945
git-svn-id: http://svn.automattic.com/wordpress/trunk@5575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-28 18:34:06 +00:00
markjaquith 6a41f63aae permalink_link() is deprecated, and should reference its replacement.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-28 04:39:40 +00:00
rob1n 77b86e7c68 Fix get_pagenum_link(). fixes #3930
git-svn-id: http://svn.automattic.com/wordpress/trunk@5481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-16 02:47:24 +00:00
rob1n 1fb3798eb5 Bring get_pagenum_link() into this century. Props Mark Jaquith. fixes #3930
git-svn-id: http://svn.automattic.com/wordpress/trunk@5454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-12 00:17:34 +00:00
ryan e5ea802c0c Fix edit comment links
git-svn-id: http://svn.automattic.com/wordpress/trunk@5340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-28 16:45:47 +00:00
ryan d44752d2ca Consult global comment in get_comment(). Don't show empty edit links.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-27 03:51:36 +00:00
rob1n 534eeaf7bc get_edit_*_link() functions. fixes #4153
git-svn-id: http://svn.automattic.com/wordpress/trunk@5302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-24 23:21:56 +00:00
ryan 49166ab920 Revert [5275] - [5277]. Fix it later. see #4153
git-svn-id: http://svn.automattic.com/wordpress/trunk@5282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-17 23:00:35 +00:00
rob1n 47de90d17a Fix another typo. Not a good day at all.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-17 01:17:45 +00:00
rob1n 37d7ae825b Fix typo. Thanks Lloyd.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-17 00:53:58 +00:00
rob1n 763828ed10 Add get_edit_comment_link() and get_edit_post_link(). fixes #4153
git-svn-id: http://svn.automattic.com/wordpress/trunk@5275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-16 23:53:34 +00:00
rob1n 0e669f143d Replace some stristr's with stripos'.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-12 21:59:31 +00:00
matt c86599b85c Now tag pretty permalinks should work, and support custom tag bases.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-31 09:19:32 +00:00
matt 7602d17899 (int)er the dragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 00:59:21 +00:00
ryan 9f9d9a8d9e Cast to int. Props xknown. fixes #4012 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-22 01:04:19 +00:00
markjaquith 611b037efa use clean_url() instead of attribute_escape() when dealing with src/href to protect against XSS. props xknown. fixes #3986 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-17 08:46:59 +00:00
markjaquith 28c0f0d0ee Sanitize output of previous_posts() and next_posts(). Props Alex Concha for the report.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-16 08:04:24 +00:00
markjaquith de23b425c3 new function: untrailingslashit(). fixes #3899
git-svn-id: http://svn.automattic.com/wordpress/trunk@5020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-10 06:25:33 +00:00
markjaquith 05486cce3d user_trailingslashit filter for users who sometimes want trailing slashes only on certain URL types. fixes #3899
git-svn-id: http://svn.automattic.com/wordpress/trunk@5019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-10 06:18:43 +00:00
markjaquith 3320dd1380 Use strpos instead of strstr where ever possible, for speed. Props rob1n. fixes #3920
git-svn-id: http://svn.automattic.com/wordpress/trunk@4990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-07 05:29:15 +00:00
ryan 8d7839b14c Standardize on 'url' for fetching the blog's url. Props rob1n. fixes #3623
git-svn-id: http://svn.automattic.com/wordpress/trunk@4983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-07 03:05:41 +00:00
markjaquith d0f79bb3f2 trailing tabs and whitespace cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-27 15:24:54 +00:00
ryan 6dd7765ae1 Add get_post_comments_feed_link() and have popup comments templates use it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-23 08:31:07 +00:00
markjaquith dfeeedc8da Consistent use or disuse of trailing slashes in URLs according to user preference. props MathiasBynens. fixes #1485
git-svn-id: http://svn.automattic.com/wordpress/trunk@4886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-15 07:07:12 +00:00
ryan efea3d66fc Prev/next query filters. Props mdwaffe. fixes #2415
git-svn-id: http://svn.automattic.com/wordpress/trunk@4721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-11 04:30:44 +00:00
ryan 6c31c17921 Avoid infinite loop when getting attachment link.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-12 22:50:54 +00:00
ryan 9f534ebae6 Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: http://svn.automattic.com/wordpress/trunk@4495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-19 07:56:05 +00:00
ryan fd46e4b1f6 Fix attachment links for page on front. Props mdawaffe. fixes #2515
git-svn-id: http://svn.automattic.com/wordpress/trunk@4475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-17 20:00:11 +00:00
ryan 92bacd1a91 Remove paging by days. fixes #3341
git-svn-id: http://svn.automattic.com/wordpress/trunk@4457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-08 21:22:35 +00:00
ryan 19942073ea Use FOUND_ROWS to calculate the max number of pages. Need to cleanup/eliminate _max_num_pages().
git-svn-id: http://svn.automattic.com/wordpress/trunk@4455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-08 09:13:11 +00:00
markjaquith 21586ee6b6 [4432] missed "comment => c" conversion in edit_comment_link(). Props tinyau. fixes #3309
git-svn-id: http://svn.automattic.com/wordpress/trunk@4436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-31 06:13:43 +00:00
markjaquith f26dffc5d0 Manage Posts paging fix from Westi. fixes #2693
git-svn-id: http://svn.automattic.com/wordpress/trunk@4316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-04 07:43:23 +00:00
ryan 202c2067b4 Resolve table ambiguity.Props filosofo. fixes #3091
git-svn-id: http://svn.automattic.com/wordpress/trunk@4155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-09-01 18:50:58 +00:00
ryan 849a0d29d7 Use get_option instead of get_settings. Just 'cause.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-30 21:46:31 +00:00
ryan efcb63ad21 s/URI/URL/. Props Nazgul. fixes #2666
git-svn-id: http://svn.automattic.com/wordpress/trunk@4133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-30 16:40:17 +00:00
ryan 207d876c81 Make those chars feel special.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-24 22:33:16 +00:00
ryan c93efa866e Include file renames. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-11 06:43:54 +00:00