Commit Graph

320 Commits

Author SHA1 Message Date
ryan
db067b4335 Relocate raquo. Props nbachiyski. fixes #8198
git-svn-id: http://svn.automattic.com/wordpress/trunk@9767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-18 22:46:56 +00:00
ryan
153d88757c Fix notice
git-svn-id: http://svn.automattic.com/wordpress/trunk@9734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-17 18:21:20 +00:00
azaozz
4bc175346f Fixes for previous/next page links, props Viper007Bond, fixes #8058
git-svn-id: http://svn.automattic.com/wordpress/trunk@9632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-12 10:13:50 +00:00
ryan
55feabee97 Escape attribute translation. Props nbachiyski. fixes #8010
git-svn-id: http://svn.automattic.com/wordpress/trunk@9415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-30 15:53:58 +00:00
ryan
ce62669cc4 Introduce get_edit_tag_link() and add option to wp_tag_cloud() for showing edit links.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-25 18:19:42 +00:00
markjaquith
cf2730334f Enable pretty permalinks for previous_ and next_comments_link(). props DD32, Viper007Bond. see #7942
git-svn-id: http://svn.automattic.com/wordpress/trunk@9318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-24 07:36:43 +00:00
ryan
f275541cf6 pretty permalinks for comment paging. Props Viper007Bind. fixes #7942
git-svn-id: http://svn.automattic.com/wordpress/trunk@9300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-23 18:55:22 +00:00
ryan
91841f2e3c Comment paging and sorting from Viper007Bond. see #7927
git-svn-id: http://svn.automattic.com/wordpress/trunk@9296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-23 16:08:47 +00:00
ryan
45686c6bc8 link-template phpdoc from jacobsantos. fixes #5642
git-svn-id: http://svn.automattic.com/wordpress/trunk@9274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-22 03:08:33 +00:00
ryan
3fc6097a5a phpdoc corrections from jacobsantos. see #7918
git-svn-id: http://svn.automattic.com/wordpress/trunk@9243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-18 20:46:30 +00:00
ryan
cf50b7100a doc skeleton for link-template. Props jacobsantos. see #5642
git-svn-id: http://svn.automattic.com/wordpress/trunk@9136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-13 22:00:07 +00:00
ryan
ae65f5197c paginate_comments_links(). see #7769
git-svn-id: http://svn.automattic.com/wordpress/trunk@9097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-07 22:41:51 +00:00
ryan
04ce449e3c First cut of comment paging. Add paging and threading settings. see #7769 #7635
git-svn-id: http://svn.automattic.com/wordpress/trunk@8961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-23 21:11:27 +00:00
ryan
1d9facfbe7 Support %date in next post link template. Props noel. fixes #7726
git-svn-id: http://svn.automattic.com/wordpress/trunk@8896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-15 23:48:24 +00:00
azaozz
fcaf29bc65 Typo fix
git-svn-id: http://svn.automattic.com/wordpress/trunk@8890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-15 11:08:47 +00:00
ryan
5828310157 wp_list_comments() and threaded comment support. First cut. see #7635
git-svn-id: http://svn.automattic.com/wordpress/trunk@8869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-11 19:25:50 +00:00
ryan
bcdb29372d Add edit and delete links to the Content->Links rows. Add get_edit_bookmark_link(). Add caching for individual bookmarks. see #7552
git-svn-id: http://svn.automattic.com/wordpress/trunk@8758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-27 22:04:12 +00:00
ryan
894d5682de Respect argument in get_author_feed_link(). Props Latz. fixes #7564
git-svn-id: http://svn.automattic.com/wordpress/trunk@8706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-22 02:21:37 +00:00
ryan
0348a10d49 site_url filter
git-svn-id: http://svn.automattic.com/wordpress/trunk@8672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-19 19:41:11 +00:00
ryan
35b18e5034 Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@8600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 05:36:14 +00:00
westi
e612643a06 Allow a plugin to add attributes to the next and previous posts links. Fixes #7434 props JohnLamansky.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-30 07:01:03 +00:00
westi
91fcf4e904 Pass $leavename to filters in get_permalink. Fixes #7421.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-29 19:52:44 +00:00
ryan
7339da643f Pass context to get_edit_post_link filter. Props mdawaffe. fixes #7424 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-28 23:39:15 +00:00
ryan
a030bdbd5d Make get_edit_post_link() and get_edit_comment_link() SSL aware. Props robertaccettura. fixes #7359 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-20 04:46:59 +00:00
ryan
9ce9fec7c4 plugins_url()
git-svn-id: http://svn.automattic.com/wordpress/trunk@8334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-15 00:10:07 +00:00
ryan
4460d7efc9 phpdoc for site_url() and friends
git-svn-id: http://svn.automattic.com/wordpress/trunk@8333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-14 23:39:11 +00:00
ryan
4846338eeb Press This: properly add and load press-this-ie.css, cleanup of the bookmarklet code. Props azaozz. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@8323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-13 04:57:01 +00:00
ryan
6960418d18 Reduce size of Press This bookmarklet. see #7261
git-svn-id: http://svn.automattic.com/wordpress/trunk@8308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-10 16:54:32 +00:00
ryan
e2aa6d619c Introduce content_url(). Don't prepend base url to content url in script loader. see #6938 #7001
git-svn-id: http://svn.automattic.com/wordpress/trunk@8301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-09 17:24:36 +00:00
ryan
63b5bd26fe Only use SSL for login POST links if SSL logins are forced. Clear old cookies. see #7001
git-svn-id: http://svn.automattic.com/wordpress/trunk@8197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-26 16:40:04 +00:00
ryan
9b181f0973 previous_post_link and next_post_link filters. Props JohnLamansky. fixes #6985 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-16 22:27:07 +00:00
ryan
6adcab8b27 Introduce logged_in cookie. Deliver auth cookies only to wp-admin. see #7001
git-svn-id: http://svn.automattic.com/wordpress/trunk@8069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-11 17:25:55 +00:00
ryan
c790febe36 More use of site_url(), admin_url(), and site_url(). Force login and admin links to be https if FORCE_SSL_LOGIN. see #7001
git-svn-id: http://svn.automattic.com/wordpress/trunk@8058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-06 07:39:11 +00:00
ryan
af2c9dd301 Fix slashing in tag feed link. fixes #7044 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-27 17:56:46 +00:00
ryan
9771ec5110 First cut and better admin SSL support. see #7001
git-svn-id: http://svn.automattic.com/wordpress/trunk@7998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-27 17:46:01 +00:00
ryan
3ce00adc38 Use user_trailingslashit. Props Sam_a. fixes #6996 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-19 18:51:28 +00:00
ryan
aa927d3859 Brand as Press This. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@7931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-14 16:59:07 +00:00
ryan
967ee06a32 Don't pass image list via GET. Fetch images remotely. Load photo tab via AJAX. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@7927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-13 22:12:52 +00:00
ryan
9b7daff0b4 Quick post updates: More gettext, escaping, compress bookmarklet JS. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@7924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-13 16:02:12 +00:00
ryan
9830ab988c Quick post bookmarklet. First cut. see #6813
git-svn-id: http://svn.automattic.com/wordpress/trunk@7919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-12 19:08:39 +00:00
ryan
35086b850f Post revisions from mdawaffe. see #6775
git-svn-id: http://svn.automattic.com/wordpress/trunk@7747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 23:38:21 +00:00
ryan
7d2a7755a3 Fix category exclusion when getting adjacent posts. Props filosofo. fixes #6551 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-14 17:56:58 +00:00
ryan
9714b08b71 Move category query to get category case of get_permalink to avoid unnecessary queries. Props mdawaffe. fixes #6638 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-08 01:55:04 +00:00
westi
3eee635513 Replace the last usage of ctype_digit with is_numeric. Fixes #6534 for trunk props mtekk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-02 16:18:11 +00:00
ryan
bba593e250 Fix attachment links for permalink structures containing category tag. Props andy. fixes #4699
git-svn-id: http://svn.automattic.com/wordpress/trunk@7531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-26 20:17:31 +00:00
ryan
ef8ff2324c use explicit attachment permalink marker for int names. Props andy. fixes #6280
git-svn-id: http://svn.automattic.com/wordpress/trunk@7437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-21 03:08:22 +00:00
ryan
3d0435bb58 Attachment editing from mdawaffe. fixes #6181
git-svn-id: http://svn.automattic.com/wordpress/trunk@7262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-12 05:50:07 +00:00
ryan
674e725d06 Fix edit links for attachments. Props mdawaffe. fixes #6168
git-svn-id: http://svn.automattic.com/wordpress/trunk@7250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-11 21:08:09 +00:00
ryan
8aab63b7cf Use default category when getting permalink if the post has no categories assigned. Props nbachiyski. see #6083
git-svn-id: http://svn.automattic.com/wordpress/trunk@7204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-10 07:15:01 +00:00
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
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