Commit Graph

167 Commits

Author SHA1 Message Date
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