Commit Graph

295 Commits

Author SHA1 Message Date
Ryan Boren fe7c34b6fd s/attribute_escape/attr/. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11109 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 05:58:45 +00:00
Andrew Ozz d67f8147d5 Make plugin_dir() and plugin_basename() work for mu-plugins directory, props Denis-de-Bernardy, fixes #9561
git-svn-id: https://develop.svn.wordpress.org/trunk@11069 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-23 08:16:06 +00:00
Ryan Boren cd7a5b36b1 Formatting cleanups. Props Viper007Bond. fixes #8703
git-svn-id: https://develop.svn.wordpress.org/trunk@11062 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-22 22:56:52 +00:00
Andrew Ozz 1dd8d336aa Add a complementary get_* function for posts_nav_link(), props filosofo, fixes #9094
git-svn-id: https://develop.svn.wordpress.org/trunk@11049 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-22 08:44:37 +00:00
Ryan Boren 12c7093645 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@11013 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-20 18:18:39 +00:00
Ryan Boren ed74bba997 Add url filters. Props coffee2code. see #7709
git-svn-id: https://develop.svn.wordpress.org/trunk@10983 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-17 07:05:41 +00:00
Ryan Boren 378932c255 Escape title. Props GamerZ. fixes #9540
git-svn-id: https://develop.svn.wordpress.org/trunk@10936 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-15 17:12:31 +00:00
Peter Westwood 6963c9d1b9 Add relational links to next/prev/parent posts. See #8703 props sivel.
git-svn-id: https://develop.svn.wordpress.org/trunk@10815 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-18 21:56:03 +00:00
Ryan Boren 8d00b5d37d Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10810 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-18 02:43:45 +00:00
Peter Westwood cebaec1ed5 Extend plugins_url to allow you to specify the plugin file you want to be relative to so slugs don't need to be hardcoded. Fixes #6341.
git-svn-id: https://develop.svn.wordpress.org/trunk@10578 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-15 16:50:45 +00:00
Ryan Boren 0066076858 Add taxonomy argument to wp_tag_cloud()
git-svn-id: https://develop.svn.wordpress.org/trunk@10554 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-11 23:41:29 +00:00
Andrew Ozz c676499d51 Fix permalink editor for pages, hide "View Post" button while editing permalink, fixes #9040
git-svn-id: https://develop.svn.wordpress.org/trunk@10525 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-08 13:38:02 +00:00
Andrew Ozz 358a5e681a Add classes to "edit_comment_link" and "edit_post_link", props yoavf, fixes #8945 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10426 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-24 09:35:12 +00:00
Andrew Ozz 19577d0a8d Add support for automatic feed links in themes, props Viper007Bond, see #8878
git-svn-id: https://develop.svn.wordpress.org/trunk@10377 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-19 05:04:58 +00:00
Ryan Boren 7d0211f12c Don't return comment page links if paging is disabled. fixes #8824 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10361 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-14 23:06:46 +00:00
Ryan Boren d664f9888f Fix paginate comment link slashing. Props AntonShevchuk. fixes #8821 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10335 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-08 18:26:52 +00:00
Ryan Boren c2f108aec4 Don't assume page 1 when cpage is empty. Props filosofo. fixes #8630 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10277 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-30 22:32:43 +00:00
Ryan Boren 001f4a16b8 get_previous_comments_link() and get_next_comments_link(). Props Viper007Bond. fixes #8058 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10239 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-22 19:33:09 +00:00
Ryan Boren 97a6c04681 Don't cache filtered post objects. Set filter when getting sample permalink. Props brianwhite. fixes #8526 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10213 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-16 23:50:39 +00:00
Ryan Boren baaaa352ba Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10150 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-09 18:03:31 +00:00
Ryan Boren fc8c54d3d9 Add paging links above comments list. Props Viper007Bond. fixes #8219
git-svn-id: https://develop.svn.wordpress.org/trunk@10097 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-07 04:49:22 +00:00
Ryan Boren 8db8771085 Page comments from the first page of a multi-page post. Props Viper007Bond. fixes #8450
git-svn-id: https://develop.svn.wordpress.org/trunk@10039 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-04 19:11:53 +00:00
Ryan Boren 36f809cde8 Fix notice
git-svn-id: https://develop.svn.wordpress.org/trunk@9987 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-30 19:29:46 +00:00
Andrew Ozz b0fb781848 PressThis fixes for window resizing and Chrome bugs from Noel, see #7949
git-svn-id: https://develop.svn.wordpress.org/trunk@9838 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-21 23:31:59 +00:00
Mark Jaquith ee672054aa Comment Page URL fixes by wnorris. fixes #8297
git-svn-id: https://develop.svn.wordpress.org/trunk@9831 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-21 17:33:05 +00:00
Ryan Boren c65315702d Relocate raquo. Props nbachiyski. fixes #8198
git-svn-id: https://develop.svn.wordpress.org/trunk@9767 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-18 22:46:56 +00:00
Ryan Boren 0b2f93762d Fix notice
git-svn-id: https://develop.svn.wordpress.org/trunk@9734 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-17 18:21:20 +00:00
Andrew Ozz 6b1aec92f5 Fixes for previous/next page links, props Viper007Bond, fixes #8058
git-svn-id: https://develop.svn.wordpress.org/trunk@9632 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-12 10:13:50 +00:00
Ryan Boren 60e40dbc72 Escape attribute translation. Props nbachiyski. fixes #8010
git-svn-id: https://develop.svn.wordpress.org/trunk@9415 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-30 15:53:58 +00:00
Ryan Boren 5999f964e7 Introduce get_edit_tag_link() and add option to wp_tag_cloud() for showing edit links.
git-svn-id: https://develop.svn.wordpress.org/trunk@9340 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-25 18:19:42 +00:00
Mark Jaquith 9a3ac6934f Enable pretty permalinks for previous_ and next_comments_link(). props DD32, Viper007Bond. see #7942
git-svn-id: https://develop.svn.wordpress.org/trunk@9318 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-24 07:36:43 +00:00
Ryan Boren 1378f82ebc pretty permalinks for comment paging. Props Viper007Bind. fixes #7942
git-svn-id: https://develop.svn.wordpress.org/trunk@9300 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-23 18:55:22 +00:00
Ryan Boren 873a5b075b Comment paging and sorting from Viper007Bond. see #7927
git-svn-id: https://develop.svn.wordpress.org/trunk@9296 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-23 16:08:47 +00:00
Ryan Boren 08e5813a50 link-template phpdoc from jacobsantos. fixes #5642
git-svn-id: https://develop.svn.wordpress.org/trunk@9274 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-22 03:08:33 +00:00
Ryan Boren b406bec607 phpdoc corrections from jacobsantos. see #7918
git-svn-id: https://develop.svn.wordpress.org/trunk@9243 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-18 20:46:30 +00:00
Ryan Boren c3de146cbb doc skeleton for link-template. Props jacobsantos. see #5642
git-svn-id: https://develop.svn.wordpress.org/trunk@9136 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-13 22:00:07 +00:00
Ryan Boren 608a92c414 paginate_comments_links(). see #7769
git-svn-id: https://develop.svn.wordpress.org/trunk@9097 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-07 22:41:51 +00:00
Ryan Boren 23fd52bd85 First cut of comment paging. Add paging and threading settings. see #7769 #7635
git-svn-id: https://develop.svn.wordpress.org/trunk@8961 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-23 21:11:27 +00:00
Ryan Boren b3d45e868e Support %date in next post link template. Props noel. fixes #7726
git-svn-id: https://develop.svn.wordpress.org/trunk@8896 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-15 23:48:24 +00:00
Andrew Ozz 1f77dacb90 Typo fix
git-svn-id: https://develop.svn.wordpress.org/trunk@8890 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-15 11:08:47 +00:00
Ryan Boren 403d9214ed wp_list_comments() and threaded comment support. First cut. see #7635
git-svn-id: https://develop.svn.wordpress.org/trunk@8869 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-11 19:25:50 +00:00
Ryan Boren fa0b44817d 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: https://develop.svn.wordpress.org/trunk@8758 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-27 22:04:12 +00:00
Ryan Boren 6cf5701318 Respect argument in get_author_feed_link(). Props Latz. fixes #7564
git-svn-id: https://develop.svn.wordpress.org/trunk@8706 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-22 02:21:37 +00:00
Ryan Boren 8027eb1ca6 site_url filter
git-svn-id: https://develop.svn.wordpress.org/trunk@8672 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-19 19:41:11 +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
Peter Westwood 29d888d397 Allow a plugin to add attributes to the next and previous posts links. Fixes #7434 props JohnLamansky.
git-svn-id: https://develop.svn.wordpress.org/trunk@8502 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-30 07:01:03 +00:00
Peter Westwood f698dfbb3b Pass $leavename to filters in get_permalink. Fixes #7421.
git-svn-id: https://develop.svn.wordpress.org/trunk@8487 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-29 19:52:44 +00:00
Ryan Boren 79da5c32a9 Pass context to get_edit_post_link filter. Props mdawaffe. fixes #7424 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8478 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-28 23:39:15 +00:00
Ryan Boren 4cd1b1c3a0 Make get_edit_post_link() and get_edit_comment_link() SSL aware. Props robertaccettura. fixes #7359 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8380 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-20 04:46:59 +00:00
Ryan Boren fcd681da15 plugins_url()
git-svn-id: https://develop.svn.wordpress.org/trunk@8334 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-15 00:10:07 +00:00
Ryan Boren b8824f4057 phpdoc for site_url() and friends
git-svn-id: https://develop.svn.wordpress.org/trunk@8333 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-14 23:39:11 +00:00
Ryan Boren 3becff10c3 Press This: properly add and load press-this-ie.css, cleanup of the bookmarklet code. Props azaozz. see #6813
git-svn-id: https://develop.svn.wordpress.org/trunk@8323 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-13 04:57:01 +00:00
Ryan Boren bea854ed2e Reduce size of Press This bookmarklet. see #7261
git-svn-id: https://develop.svn.wordpress.org/trunk@8308 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-10 16:54:32 +00:00
Ryan Boren 0fba0a6d4a Introduce content_url(). Don't prepend base url to content url in script loader. see #6938 #7001
git-svn-id: https://develop.svn.wordpress.org/trunk@8301 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-09 17:24:36 +00:00
Ryan Boren 1d3ec18c2d Only use SSL for login POST links if SSL logins are forced. Clear old cookies. see #7001
git-svn-id: https://develop.svn.wordpress.org/trunk@8197 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-26 16:40:04 +00:00
Ryan Boren 55a2ea611f previous_post_link and next_post_link filters. Props JohnLamansky. fixes #6985 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8108 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-16 22:27:07 +00:00
Ryan Boren bab6fa872c Introduce logged_in cookie. Deliver auth cookies only to wp-admin. see #7001
git-svn-id: https://develop.svn.wordpress.org/trunk@8069 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-11 17:25:55 +00:00
Ryan Boren 5d786d179c 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: https://develop.svn.wordpress.org/trunk@8058 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-06 07:39:11 +00:00
Ryan Boren 85c6d10658 Fix slashing in tag feed link. fixes #7044 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8000 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-27 17:56:46 +00:00
Ryan Boren f213f87d59 First cut and better admin SSL support. see #7001
git-svn-id: https://develop.svn.wordpress.org/trunk@7998 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-27 17:46:01 +00:00
Ryan Boren 1dbd76720f Use user_trailingslashit. Props Sam_a. fixes #6996 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7955 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-19 18:51:28 +00:00
Ryan Boren b14c207c1d Brand as Press This. see #6813
git-svn-id: https://develop.svn.wordpress.org/trunk@7931 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-14 16:59:07 +00:00
Ryan Boren e4bccb85d2 Don't pass image list via GET. Fetch images remotely. Load photo tab via AJAX. see #6813
git-svn-id: https://develop.svn.wordpress.org/trunk@7927 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-13 22:12:52 +00:00
Ryan Boren 5b27fcb794 Quick post updates: More gettext, escaping, compress bookmarklet JS. see #6813
git-svn-id: https://develop.svn.wordpress.org/trunk@7924 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-13 16:02:12 +00:00
Ryan Boren eb744058fb Quick post bookmarklet. First cut. see #6813
git-svn-id: https://develop.svn.wordpress.org/trunk@7919 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-12 19:08:39 +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
Ryan Boren 06fc36b142 Fix category exclusion when getting adjacent posts. Props filosofo. fixes #6551 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7667 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 17:56:58 +00:00
Ryan Boren 2bb5262cdd Move category query to get category case of get_permalink to avoid unnecessary queries. Props mdawaffe. fixes #6638 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7626 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-08 01:55:04 +00:00
Peter Westwood 414be415cd Replace the last usage of ctype_digit with is_numeric. Fixes #6534 for trunk props mtekk.
git-svn-id: https://develop.svn.wordpress.org/trunk@7588 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-02 16:18:11 +00:00
Ryan Boren 9ce77cf8d8 Fix attachment links for permalink structures containing category tag. Props andy. fixes #4699
git-svn-id: https://develop.svn.wordpress.org/trunk@7531 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-26 20:17:31 +00:00
Ryan Boren f99aa53f68 use explicit attachment permalink marker for int names. Props andy. fixes #6280
git-svn-id: https://develop.svn.wordpress.org/trunk@7437 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-21 03:08:22 +00:00
Ryan Boren df8228fa6c Attachment editing from mdawaffe. fixes #6181
git-svn-id: https://develop.svn.wordpress.org/trunk@7262 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-12 05:50:07 +00:00
Ryan Boren 3a1f2b5dcc Fix edit links for attachments. Props mdawaffe. fixes #6168
git-svn-id: https://develop.svn.wordpress.org/trunk@7250 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-11 21:08:09 +00:00
Ryan Boren 64aaf796c2 Use default category when getting permalink if the post has no categories assigned. Props nbachiyski. see #6083
git-svn-id: https://develop.svn.wordpress.org/trunk@7204 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-10 07:15:01 +00:00
Ryan Boren 7918daa768 get_pagenum_link filter from Martin2006. fixes #5969
git-svn-id: https://develop.svn.wordpress.org/trunk@7022 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-25 18:40:46 +00:00
Ryan Boren da73b7408d 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: https://develop.svn.wordpress.org/trunk@6955 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-21 20:19:34 +00:00
Ryan Boren d99739dac9 s/2.4/2.5/. Props ffemtcj. fixes #5810
git-svn-id: https://develop.svn.wordpress.org/trunk@6777 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-10 07:59:34 +00:00
Ryan Boren 69e33afad3 Page permalink fixes from josephscott. fixes #5781
git-svn-id: https://develop.svn.wordpress.org/trunk@6737 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-06 18:11:49 +00:00
Ryan Boren 3a18b96c9b Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@6726 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-05 06:47:27 +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
Matt Mullenweg 098e6672e4 Edit permalink in place. Fixes #5679. Hat tip: nbachiyski.
git-svn-id: https://develop.svn.wordpress.org/trunk@6633 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-17 16:51:32 +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 791a7d7191 Unused var cleanup. Props DD32. see #5418
git-svn-id: https://develop.svn.wordpress.org/trunk@6551 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-04 19:36:34 +00:00
Ryan Boren c66540fc1a Fix previous/next links for slugs containing 'page'. Props xknown. fixes #5318
git-svn-id: https://develop.svn.wordpress.org/trunk@6415 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-19 19:27:14 +00:00
Ryan Boren a62059d49e get_search_feed_link and get_search_comments_feed_link from ionfish. fixes #5442
git-svn-id: https://develop.svn.wordpress.org/trunk@6413 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-19 18:05:21 +00:00
Ryan Boren fb05263f15 New feed_link functions. Deprecate rss_link functions. Make default feed pluggable. Props rubys. see #5328
git-svn-id: https://develop.svn.wordpress.org/trunk@6365 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-06 19:58:15 +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
Ryan Boren 5293dfa9be Refactor next_post_link, previous_post_link. props xknown. fixes #5411
git-svn-id: https://develop.svn.wordpress.org/trunk@6359 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-05 09:25:45 +00:00
Ryan Boren 5398d5ac32 Avoid unnecesary call to get_userdata in get_permalink function. Props xknown. fixes #5414
git-svn-id: https://develop.svn.wordpress.org/trunk@6352 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-04 00:40:00 +00:00
Mark Jaquith 11e69b6820 prepare() for wp-includes/ link-template.php, post.php, general-template.php, pluggable.php, functions.php. see #4553
git-svn-id: https://develop.svn.wordpress.org/trunk@6180 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-02 18:45:47 +00:00
Mark Jaquith 381dc189dd Fix PATH_INFO first page paging link. fixes #5039
git-svn-id: https://develop.svn.wordpress.org/trunk@6152 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-22 06:07:03 +00:00
Ryan Boren 4d35d6b824 Always remove index.php from request before contructing page links. fixes #5000
git-svn-id: https://develop.svn.wordpress.org/trunk@6144 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-20 20:56:22 +00:00
Ryan Boren 759c182911 Bail if post is empty. Props mdawaffe. fixes #5019
git-svn-id: https://develop.svn.wordpress.org/trunk@6142 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-20 18:25:14 +00:00
Peter Westwood 41bd579f15 Ensure the parentlink is trailingslashed when building the url - don't trim / off the front. Fixes #2801 props Libertus
git-svn-id: https://develop.svn.wordpress.org/trunk@6095 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 17:46:13 +00:00
Peter Westwood c3b56d7710 Ensure (next|previous)_post_link always have some content even when the post title is blank. Fixes #1835, props johnbillion
git-svn-id: https://develop.svn.wordpress.org/trunk@6082 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-11 20:05:52 +00:00
Mark Jaquith 4292b0af36 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: https://develop.svn.wordpress.org/trunk@6068 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-10 15:06:21 +00:00
Peter Westwood a629aa8c5f 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: https://develop.svn.wordpress.org/trunk@6019 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 16:46:31 +00:00
Mark Jaquith b47f557a49 Kill %tag%-based permalinks. fixes #4875
git-svn-id: https://develop.svn.wordpress.org/trunk@5995 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-30 19:42:34 +00:00
Ryan Boren ba8c7d12ba Don't return permalink for non-existent post. Props Viper007Bond. fixes #4834
git-svn-id: https://develop.svn.wordpress.org/trunk@5956 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-28 18:58:54 +00:00
Ryan Boren 84df0a2453 Fix get_post_comments_feed_link() to work with pages. fixes #4637
git-svn-id: https://develop.svn.wordpress.org/trunk@5919 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-22 22:42:57 +00:00
Ryan Boren 7df77b79b9 Add some taxonomy validation. Rearrange funcs.
git-svn-id: https://develop.svn.wordpress.org/trunk@5726 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-19 00:33:44 +00:00
Ryan Boren 6177fec7fa Don't use permalinks for pending posts. see #4446
git-svn-id: https://develop.svn.wordpress.org/trunk@5716 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-15 22:11:01 +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 5d7ce647d2 Some more get_pagenum_link() fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@5611 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 03:36:40 +00:00
rob1n 3b60a5107b Fix get_pagenum_link() for query strings. fixes #3930
git-svn-id: https://develop.svn.wordpress.org/trunk@5610 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 03:29:44 +00:00
Ryan Boren e0bf0ffa02 Use taxonomy instead of post2cat. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5592 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 16:52:31 +00:00
Mark Jaquith 1a08c04371 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: https://develop.svn.wordpress.org/trunk@5590 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 04:54:45 +00:00
Ryan Boren 13dade0e8d Fix category permalinks. Update cat_ID to term_id. fixes #4349 see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5576 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 18:47:08 +00:00
Ryan Boren c9b37847ce Better draft, private, and future post/page management from mdawaffe. fixes #3945
git-svn-id: https://develop.svn.wordpress.org/trunk@5575 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 18:34:06 +00:00
Mark Jaquith 4308eff227 permalink_link() is deprecated, and should reference its replacement.
git-svn-id: https://develop.svn.wordpress.org/trunk@5569 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 04:39:40 +00:00
rob1n 5357b1a0af Fix get_pagenum_link(). fixes #3930
git-svn-id: https://develop.svn.wordpress.org/trunk@5481 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-16 02:47:24 +00:00
rob1n 031cf54afe Bring get_pagenum_link() into this century. Props Mark Jaquith. fixes #3930
git-svn-id: https://develop.svn.wordpress.org/trunk@5454 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-12 00:17:34 +00:00
Ryan Boren 386eb41adf Fix edit comment links
git-svn-id: https://develop.svn.wordpress.org/trunk@5340 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-28 16:45:47 +00:00
Ryan Boren b9b37cd426 Consult global comment in get_comment(). Don't show empty edit links.
git-svn-id: https://develop.svn.wordpress.org/trunk@5328 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-27 03:51:36 +00:00
rob1n b0e84dde88 get_edit_*_link() functions. fixes #4153
git-svn-id: https://develop.svn.wordpress.org/trunk@5302 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-24 23:21:56 +00:00
Ryan Boren b749fb0711 Revert [5275] - [5277]. Fix it later. see #4153
git-svn-id: https://develop.svn.wordpress.org/trunk@5282 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-17 23:00:35 +00:00
rob1n e111d2de08 Fix another typo. Not a good day at all.
git-svn-id: https://develop.svn.wordpress.org/trunk@5277 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-17 01:17:45 +00:00
rob1n 8e63dcecfa Fix typo. Thanks Lloyd.
git-svn-id: https://develop.svn.wordpress.org/trunk@5276 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-17 00:53:58 +00:00
rob1n 734766ba6e Add get_edit_comment_link() and get_edit_post_link(). fixes #4153
git-svn-id: https://develop.svn.wordpress.org/trunk@5275 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-16 23:53:34 +00:00
rob1n b88e6b40d8 Replace some stristr's with stripos'.
git-svn-id: https://develop.svn.wordpress.org/trunk@5260 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 21:59:31 +00:00
Matt Mullenweg a059392772 Now tag pretty permalinks should work, and support custom tag bases.
git-svn-id: https://develop.svn.wordpress.org/trunk@5150 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 09:19:32 +00:00
Matt Mullenweg b1f6f9a6a8 (int)er the dragon.
git-svn-id: https://develop.svn.wordpress.org/trunk@5087 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 00:59:21 +00:00
Ryan Boren 61a985f409 Cast to int. Props xknown. fixes #4012 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@5078 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-22 01:04:19 +00:00
Mark Jaquith d8336eed5c 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: https://develop.svn.wordpress.org/trunk@5056 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-17 08:46:59 +00:00
Mark Jaquith e00c636c7d Sanitize output of previous_posts() and next_posts(). Props Alex Concha for the report.
git-svn-id: https://develop.svn.wordpress.org/trunk@5045 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-16 08:04:24 +00:00
Mark Jaquith e643142a5e new function: untrailingslashit(). fixes #3899
git-svn-id: https://develop.svn.wordpress.org/trunk@5020 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-10 06:25:33 +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 56368548ad Use strpos instead of strstr where ever possible, for speed. Props rob1n. fixes #3920
git-svn-id: https://develop.svn.wordpress.org/trunk@4990 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-07 05:29:15 +00:00
Ryan Boren f77b96fc84 Standardize on 'url' for fetching the blog's url. Props rob1n. fixes #3623
git-svn-id: https://develop.svn.wordpress.org/trunk@4983 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-07 03:05:41 +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 27ee037027 Add get_post_comments_feed_link() and have popup comments templates use it.
git-svn-id: https://develop.svn.wordpress.org/trunk@4929 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-23 08:31:07 +00:00
Mark Jaquith 5164d38cb5 Consistent use or disuse of trailing slashes in URLs according to user preference. props MathiasBynens. fixes #1485
git-svn-id: https://develop.svn.wordpress.org/trunk@4886 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-15 07:07:12 +00:00
Ryan Boren 22094458d9 Prev/next query filters. Props mdwaffe. fixes #2415
git-svn-id: https://develop.svn.wordpress.org/trunk@4721 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-11 04:30:44 +00:00
Ryan Boren 0fc7ecbc1d Avoid infinite loop when getting attachment link.
git-svn-id: https://develop.svn.wordpress.org/trunk@4644 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-12 22:50:54 +00:00
Ryan Boren e44ea1ff93 Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: https://develop.svn.wordpress.org/trunk@4495 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-19 07:56:05 +00:00
Ryan Boren a18ec2228c Fix attachment links for page on front. Props mdawaffe. fixes #2515
git-svn-id: https://develop.svn.wordpress.org/trunk@4475 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-17 20:00:11 +00:00
Ryan Boren 94b9222a4b Remove paging by days. fixes #3341
git-svn-id: https://develop.svn.wordpress.org/trunk@4457 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-08 21:22:35 +00:00
Ryan Boren 6a3029d8d5 Use FOUND_ROWS to calculate the max number of pages. Need to cleanup/eliminate _max_num_pages().
git-svn-id: https://develop.svn.wordpress.org/trunk@4455 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-08 09:13:11 +00:00
Mark Jaquith d2865e988f [4432] missed "comment => c" conversion in edit_comment_link(). Props tinyau. fixes #3309
git-svn-id: https://develop.svn.wordpress.org/trunk@4436 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-31 06:13:43 +00:00
Mark Jaquith 2a6e4903dc Manage Posts paging fix from Westi. fixes #2693
git-svn-id: https://develop.svn.wordpress.org/trunk@4316 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-04 07:43:23 +00:00
Ryan Boren 936b87defb Resolve table ambiguity.Props filosofo. fixes #3091
git-svn-id: https://develop.svn.wordpress.org/trunk@4155 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-01 18:50:58 +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 cd766e57e9 s/URI/URL/. Props Nazgul. fixes #2666
git-svn-id: https://develop.svn.wordpress.org/trunk@4133 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 16:40:17 +00:00
Ryan Boren 4a9ad00205 Make those chars feel special.
git-svn-id: https://develop.svn.wordpress.org/trunk@4112 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-24 22:33:16 +00:00
Ryan Boren 216546a0b8 Include file renames. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3862 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-11 06:43:54 +00:00