Commit Graph

71 Commits

Author SHA1 Message Date
ryan
68606d301e get_pagenum_link filter from Martin2006. fixes #5969
git-svn-id: http://svn.automattic.com/wordpress/trunk@7022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-25 18:40:46 +00:00
ryan
ed09992863 Slug edit for pages. Hide advanced slug field if JS enabled. Trigger first autosave after 15 chars. Set autosave interval to 60s. Props filosofo. see #5749
git-svn-id: http://svn.automattic.com/wordpress/trunk@6955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 20:19:34 +00:00
ryan
1edf014a54 s/2.4/2.5/. Props ffemtcj. fixes #5810
git-svn-id: http://svn.automattic.com/wordpress/trunk@6777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-10 07:59:34 +00:00
ryan
ab0ea44dc7 Page permalink fixes from josephscott. fixes #5781
git-svn-id: http://svn.automattic.com/wordpress/trunk@6737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-06 18:11:49 +00:00
ryan
d88983793b Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@6726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 06:47:27 +00:00
ryan
8263948a96 Some notice fixes from Nazgul. fixes #3155
git-svn-id: http://svn.automattic.com/wordpress/trunk@6711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-02 18:42:09 +00:00
matt
5fbca12c9e Edit permalink in place. Fixes #5679. Hat tip: nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-17 16:51:32 +00:00
westi
1aaec4ff30 Notice fixing for wp-includes. See #5607 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-10 20:51:07 +00:00
ryan
1ae1811dd0 Unused var cleanup. Props DD32. see #5418
git-svn-id: http://svn.automattic.com/wordpress/trunk@6551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-04 19:36:34 +00:00
ryan
4004a7cffa Fix previous/next links for slugs containing 'page'. Props xknown. fixes #5318
git-svn-id: http://svn.automattic.com/wordpress/trunk@6415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-19 19:27:14 +00:00
ryan
22fc69ea24 get_search_feed_link and get_search_comments_feed_link from ionfish. fixes #5442
git-svn-id: http://svn.automattic.com/wordpress/trunk@6413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-19 18:05:21 +00:00
ryan
83afcae858 New feed_link functions. Deprecate rss_link functions. Make default feed pluggable. Props rubys. see #5328
git-svn-id: http://svn.automattic.com/wordpress/trunk@6365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-06 19:58:15 +00:00
ryan
028a159440 Remove unused vars. Props DD32. see #5418
git-svn-id: http://svn.automattic.com/wordpress/trunk@6364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-06 19:49:33 +00:00
ryan
524c32cad5 Refactor next_post_link, previous_post_link. props xknown. fixes #5411
git-svn-id: http://svn.automattic.com/wordpress/trunk@6359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-05 09:25:45 +00:00
ryan
9a9521e01e Avoid unnecesary call to get_userdata in get_permalink function. Props xknown. fixes #5414
git-svn-id: http://svn.automattic.com/wordpress/trunk@6352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-04 00:40:00 +00:00
markjaquith
21c25b5566 prepare() for wp-includes/ link-template.php, post.php, general-template.php, pluggable.php, functions.php. see #4553
git-svn-id: http://svn.automattic.com/wordpress/trunk@6180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-02 18:45:47 +00:00
markjaquith
c005340430 Fix PATH_INFO first page paging link. fixes #5039
git-svn-id: http://svn.automattic.com/wordpress/trunk@6152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-22 06:07:03 +00:00
ryan
40b7e58b82 Always remove index.php from request before contructing page links. fixes #5000
git-svn-id: http://svn.automattic.com/wordpress/trunk@6144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-20 20:56:22 +00:00
ryan
4a03a94051 Bail if post is empty. Props mdawaffe. fixes #5019
git-svn-id: http://svn.automattic.com/wordpress/trunk@6142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-20 18:25:14 +00:00
westi
223182463d Ensure the parentlink is trailingslashed when building the url - don't trim / off the front. Fixes #2801 props Libertus
git-svn-id: http://svn.automattic.com/wordpress/trunk@6095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 17:46:13 +00:00
westi
446c704af5 Ensure (next|previous)_post_link always have some content even when the post title is blank. Fixes #1835, props johnbillion
git-svn-id: http://svn.automattic.com/wordpress/trunk@6082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-11 20:05:52 +00:00
markjaquith
d59743c972 Strip index.php/ before adding it in get_pagenum_link(). Insert index.php/ for the first page when blog is on a page. fixes #4945
git-svn-id: http://svn.automattic.com/wordpress/trunk@6068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-10 15:06:21 +00:00
westi
03d6c4d0ba Change queries in get_{next|previous}_post so that plugins can INNER JOIN on other tables with an ID column. Fixes #4822 props Cimmo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 16:46:31 +00:00
markjaquith
a2cac0cf09 Kill %tag%-based permalinks. fixes #4875
git-svn-id: http://svn.automattic.com/wordpress/trunk@5995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-30 19:42:34 +00:00
ryan
666bfd2d91 Don't return permalink for non-existent post. Props Viper007Bond. fixes #4834
git-svn-id: http://svn.automattic.com/wordpress/trunk@5956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-28 18:58:54 +00:00
ryan
f65528ed41 Fix get_post_comments_feed_link() to work with pages. fixes #4637
git-svn-id: http://svn.automattic.com/wordpress/trunk@5919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-22 22:42:57 +00:00
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