Commit Graph

279 Commits

Author SHA1 Message Date
westi eccd0eb4be Don't pass deprecated argument to get_bloginfo() in get_index_rel_link() also observer user trailing slash preferences. Fixes #11607 props nacin and miqrogroove.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-30 17:08:23 +00:00
westi 9105b46360 Use _deprecated_argument() in get_bloginfo() and then don't pass deprecated argument to get_bloginfo(). Fixes #11652 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-30 17:05:02 +00:00
westi ff7831207c Updates and improvements to _depreceated_argument. See #11386 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-30 16:23:39 +00:00
westi 17c7533b72 Swap out ;; for ;. Fixes #11618 props demetris and nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-26 16:53:17 +00:00
markjaquith 81552ba995 Make sure the post global is actually an object before we treat it like one.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-24 09:30:12 +00:00
ryan cedfa0181b Use array calling style. Props Denis-de-Bernardy. see #6647
git-svn-id: http://svn.automattic.com/wordpress/trunk@12515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 15:31:02 +00:00
ryan 354607036c Remove unneeded quotes around vars. Props johnbillion. fixes #10245
git-svn-id: http://svn.automattic.com/wordpress/trunk@12513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 15:16:53 +00:00
westi 16d60d90a9 Fix notice in get_boundary_post_rel_link when there is no post to link. Fixes #11490 props ShaneF.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-19 09:21:00 +00:00
azaozz c1e0bd72af Urlencode the search query in get_search_feed_link() and get_search_comments_feed_link(), props tenpura, fixes #11153
git-svn-id: http://svn.automattic.com/wordpress/trunk@12395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-14 10:09:55 +00:00
ryan 9ee40acb93 Fix preview of pending pages with permalinks on. Props dj-wp. fixes #11199
git-svn-id: http://svn.automattic.com/wordpress/trunk@12245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-20 17:47:25 +00:00
azaozz efe32b7285 PressThis fixes from noel, fixes #11011
git-svn-id: http://svn.automattic.com/wordpress/trunk@12094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-23 04:32:56 +00:00
ryan 5891de3455 Make get_adjacent_post work with custom post_types. Props prettyboymp. fixes #10717
git-svn-id: http://svn.automattic.com/wordpress/trunk@12058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-19 16:31:20 +00:00
ryan 93b3ed3915 Localize default strings for edit_comment_link() and edit_post_link(). fixes #10879
git-svn-id: http://svn.automattic.com/wordpress/trunk@11987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-01 17:41:09 +00:00
ryan 5e4dc4dfd4 get_delete_post_link()
git-svn-id: http://svn.automattic.com/wordpress/trunk@11956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-21 21:33:00 +00:00
ryan 8e3808bce2 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-14 14:03:32 +00:00
ryan 3dfaac6960 Fix Press This bookmarklet for Safari 4. Props noel. fixes #10749
git-svn-id: http://svn.automattic.com/wordpress/trunk@11906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-08 20:06:52 +00:00
westi 13edf95c78 Add rel attribute to next/previous post links. Fixes #4209 props vladimir_kolesnikov
git-svn-id: http://svn.automattic.com/wordpress/trunk@11866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-21 17:12:25 +00:00
ryan 00ee55a47f Apply get_edit_post_link filter. Props prettyboymp. fixes #10579
git-svn-id: http://svn.automattic.com/wordpress/trunk@11795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-10 16:33:42 +00:00
ryan 04d3d11213 rel=canonical for singular pages. see #10115
git-svn-id: http://svn.automattic.com/wordpress/trunk@11777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-05 16:43:51 +00:00
azaozz a52e9d5e9a Don't show edit link for comments when the user cannot edit them, props filosofo, fixes #10520 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-30 15:43:04 +00:00
ryan 509df6442d Add 'rpc' context to siteurl which obeys ADMIN and LOGIN forced SSL. see #10330
git-svn-id: http://svn.automattic.com/wordpress/trunk@11686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-07-04 02:48:22 +00:00
azaozz 8409a9149a In get_posts() "category" is expected to be a string
git-svn-id: http://svn.automattic.com/wordpress/trunk@11536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-09 21:48:58 +00:00
ryan 261f318c8a Use array instead of query string notation. Prop dd32, kamiyeye. fixes #10047
git-svn-id: http://svn.automattic.com/wordpress/trunk@11528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-06 14:44:38 +00:00
ryan 2df887bd07 Trim tailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-24 23:47:49 +00:00
ryan 54998219dc eliminate duplicate cap checks. Props coffee2code. fixes #9899
git-svn-id: http://svn.automattic.com/wordpress/trunk@11426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-21 18:55:00 +00:00
ryan e6c673e76c Add post ID arg to edit_post_link(). Props coffee2code. fixes #9898
git-svn-id: http://svn.automattic.com/wordpress/trunk@11425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-21 18:43:04 +00:00
markjaquith 3ebf837ced Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: http://svn.automattic.com/wordpress/trunk@11383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 16:00:33 +00:00
ryan a26dc6fa73 Add trailing slash before query args for crufty links. Props peaceablewhale. fixes #9515
git-svn-id: http://svn.automattic.com/wordpress/trunk@11364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-16 17:22:19 +00:00
azaozz 58929f3eaf Post comments feed link HTML filter, props JohnLamansky, fixes #9712
git-svn-id: http://svn.automattic.com/wordpress/trunk@11299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-12 06:19:36 +00:00
ryan 63620ff895 Cache empty results for adjacent post queries
git-svn-id: http://svn.automattic.com/wordpress/trunk@11243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-08 19:47:30 +00:00
ryan 2644391146 Cache get_adjacent_post() queries for the duration of the page load to avoid running queries multiple times
git-svn-id: http://svn.automattic.com/wordpress/trunk@11241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-08 18:04:13 +00:00
ryan 85497e63a0 Revert[11210]. fixes #9738 see #9515
git-svn-id: http://svn.automattic.com/wordpress/trunk@11218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-06 16:56:13 +00:00
ryan e513a9012b Slashe before query args. Props peaceablewhale. fixes #9515
git-svn-id: http://svn.automattic.com/wordpress/trunk@11210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 22:22:20 +00:00
markjaquith 6c2ffddf31 _a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 19:43:53 +00:00
ryan 2d489767bb s/attribute_escape/attr/. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 05:58:45 +00:00
azaozz 8682f79e6a Make plugin_dir() and plugin_basename() work for mu-plugins directory, props Denis-de-Bernardy, fixes #9561
git-svn-id: http://svn.automattic.com/wordpress/trunk@11069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-23 08:16:06 +00:00
ryan 4789a46bfe Formatting cleanups. Props Viper007Bond. fixes #8703
git-svn-id: http://svn.automattic.com/wordpress/trunk@11062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-22 22:56:52 +00:00
azaozz a4bfe6e799 Add a complementary get_* function for posts_nav_link(), props filosofo, fixes #9094
git-svn-id: http://svn.automattic.com/wordpress/trunk@11049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-22 08:44:37 +00:00
ryan a61bc0ec8a Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@11013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-20 18:18:39 +00:00
ryan 2903685c95 Add url filters. Props coffee2code. see #7709
git-svn-id: http://svn.automattic.com/wordpress/trunk@10983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-17 07:05:41 +00:00
ryan ba31bedcae Escape title. Props GamerZ. fixes #9540
git-svn-id: http://svn.automattic.com/wordpress/trunk@10936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-15 17:12:31 +00:00
westi d6df5b55c9 Add relational links to next/prev/parent posts. See #8703 props sivel.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-18 21:56:03 +00:00
ryan e8b6fe7347 Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-18 02:43:45 +00:00
westi b9d1608150 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: http://svn.automattic.com/wordpress/trunk@10578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-15 16:50:45 +00:00
ryan 57c3eba439 Add taxonomy argument to wp_tag_cloud()
git-svn-id: http://svn.automattic.com/wordpress/trunk@10554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-11 23:41:29 +00:00
azaozz ccd5cea290 Fix permalink editor for pages, hide "View Post" button while editing permalink, fixes #9040
git-svn-id: http://svn.automattic.com/wordpress/trunk@10525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-08 13:38:02 +00:00
azaozz bf911df6b2 Add classes to "edit_comment_link" and "edit_post_link", props yoavf, fixes #8945 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-24 09:35:12 +00:00
azaozz 3949fb7e90 Add support for automatic feed links in themes, props Viper007Bond, see #8878
git-svn-id: http://svn.automattic.com/wordpress/trunk@10377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-19 05:04:58 +00:00
ryan b1806928e0 Don't return comment page links if paging is disabled. fixes #8824 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-14 23:06:46 +00:00
ryan 80b08e3a29 Fix paginate comment link slashing. Props AntonShevchuk. fixes #8821 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-08 18:26:52 +00:00
ryan 00c2c8c19f Don't assume page 1 when cpage is empty. Props filosofo. fixes #8630 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-30 22:32:43 +00:00
ryan 22a1c35cea get_previous_comments_link() and get_next_comments_link(). Props Viper007Bond. fixes #8058 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-22 19:33:09 +00:00
ryan d3b9da7025 Don't cache filtered post objects. Set filter when getting sample permalink. Props brianwhite. fixes #8526 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-16 23:50:39 +00:00
ryan e89192b1a8 Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 18:03:31 +00:00
ryan 9f56c8eba4 Add paging links above comments list. Props Viper007Bond. fixes #8219
git-svn-id: http://svn.automattic.com/wordpress/trunk@10097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 04:49:22 +00:00
ryan 87141a219f Page comments from the first page of a multi-page post. Props Viper007Bond. fixes #8450
git-svn-id: http://svn.automattic.com/wordpress/trunk@10039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-04 19:11:53 +00:00
ryan 4e638f02fd Fix notice
git-svn-id: http://svn.automattic.com/wordpress/trunk@9987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-30 19:29:46 +00:00
azaozz e289acf038 PressThis fixes for window resizing and Chrome bugs from Noel, see #7949
git-svn-id: http://svn.automattic.com/wordpress/trunk@9838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-21 23:31:59 +00:00
markjaquith c1f75d51ab Comment Page URL fixes by wnorris. fixes #8297
git-svn-id: http://svn.automattic.com/wordpress/trunk@9831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-21 17:33:05 +00:00
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