Commit Graph

295 Commits

Author SHA1 Message Date
Dion Hulse
249da10ef7 More Taxonomy cap checks. See #12035
git-svn-id: https://develop.svn.wordpress.org/trunk@13212 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 09:33:50 +00:00
Ryan Boren
9a0bbee93c Rename get_post_link() to get_post_permalink() to avoid conflict with bbPress. Props scribu. fixes #12172
git-svn-id: https://develop.svn.wordpress.org/trunk@13023 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-08 16:23:32 +00:00
Mark Jaquith
2d54780d5e Create post_status=auto-draft when creating a new post item. status changes to draft on first auto-save. now we always have a real post ID to work with. see #11889. fixes #11145. fixes #11990
git-svn-id: https://develop.svn.wordpress.org/trunk@12987 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 10:07:57 +00:00
Dion Hulse
b385071e76 Redirect home_url variants to home_url(). See #11991
git-svn-id: https://develop.svn.wordpress.org/trunk@12979 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 03:40:24 +00:00
Ryan Boren
65b3f1e5e3 Introduce get_home_url(), get_site_url(), and get_admin_url() for fetching urls by blog id. see #12119
git-svn-id: https://develop.svn.wordpress.org/trunk@12978 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 21:49:19 +00:00
Ryan Boren
90c662f378 Pass to post_type_link filter. Props prettyboymp. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12971 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 17:54:40 +00:00
Dion Hulse
f9361ef7f5 Simplify https:// conversion in plugins_url()/content_url() functions
git-svn-id: https://develop.svn.wordpress.org/trunk@12964 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 12:45:21 +00:00
Dion Hulse
811cd495e6 Fix plugins_url() for MU-plugins when running on Windows. Fixes #12080
git-svn-id: https://develop.svn.wordpress.org/trunk@12963 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 12:39:04 +00:00
Ryan Boren
46b701d830 Permalinks for custom post types. Props prettyboymp. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12923 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-01 23:12:26 +00:00
Ryan Boren
2e46e81309 i18n fixes. Props nbachiyski. fixes #11954
git-svn-id: https://develop.svn.wordpress.org/trunk@12789 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-21 21:37:43 +00:00
Ryan Boren
efb7966619 Update trash and right now links for pages. fixes #11958
git-svn-id: https://develop.svn.wordpress.org/trunk@12783 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-21 06:53:33 +00:00
Ryan Boren
8ef8b7bad5 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@12733 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 22:11:12 +00:00
Peter Westwood
2e2ad12171 Add missing version numbers to _deprecated_argument() calls.
Remove deprecated argument from xfn_check() calls.
Pass version number to deprecated_file_included, deprecated_function_run and deprecated_argument_run actions.
Fixes #11386 props nacin.

git-svn-id: https://develop.svn.wordpress.org/trunk@12680 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-09 10:03:55 +00:00
Ryan Boren
974b6c1ce4 Introduce home_url(). Props Denis-de-Bernardy, hakre. see #9008
git-svn-id: https://develop.svn.wordpress.org/trunk@12598 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-04 17:23:29 +00:00
Ryan Boren
9ef2cb198f More custom post type support. Props scribu. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12597 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-04 16:58:43 +00:00
Ryan Boren
3d8c08b96a Use current_time() to calculate current time. Props filosofo. fixes #10915
git-svn-id: https://develop.svn.wordpress.org/trunk@12590 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-30 17:56:09 +00:00
Peter Westwood
6c90d0770c 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: https://develop.svn.wordpress.org/trunk@12588 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-30 17:08:23 +00:00
Peter Westwood
c38846defd Use _deprecated_argument() in get_bloginfo() and then don't pass deprecated argument to get_bloginfo(). Fixes #11652 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12587 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-30 17:05:02 +00:00
Peter Westwood
a752e6b561 Updates and improvements to _depreceated_argument. See #11386 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12584 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-30 16:23:39 +00:00
Peter Westwood
688e340821 Swap out ;; for ;. Fixes #11618 props demetris and nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12548 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-26 16:53:17 +00:00
Mark Jaquith
32d4695602 Make sure the post global is actually an object before we treat it like one.
git-svn-id: https://develop.svn.wordpress.org/trunk@12532 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-24 09:30:12 +00:00
Ryan Boren
dcd3604d90 Use array calling style. Props Denis-de-Bernardy. see #6647
git-svn-id: https://develop.svn.wordpress.org/trunk@12515 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 15:31:02 +00:00
Ryan Boren
6de4fcc190 Remove unneeded quotes around vars. Props johnbillion. fixes #10245
git-svn-id: https://develop.svn.wordpress.org/trunk@12513 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 15:16:53 +00:00
Peter Westwood
fd5aa64836 Fix notice in get_boundary_post_rel_link when there is no post to link. Fixes #11490 props ShaneF.
git-svn-id: https://develop.svn.wordpress.org/trunk@12457 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-19 09:21:00 +00:00
Andrew Ozz
3447fc5210 Urlencode the search query in get_search_feed_link() and get_search_comments_feed_link(), props tenpura, fixes #11153
git-svn-id: https://develop.svn.wordpress.org/trunk@12395 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-14 10:09:55 +00:00
Ryan Boren
7425349d76 Fix preview of pending pages with permalinks on. Props dj-wp. fixes #11199
git-svn-id: https://develop.svn.wordpress.org/trunk@12245 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-20 17:47:25 +00:00
Andrew Ozz
efffacb462 PressThis fixes from noel, fixes #11011
git-svn-id: https://develop.svn.wordpress.org/trunk@12094 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-23 04:32:56 +00:00
Ryan Boren
945ae5b936 Make get_adjacent_post work with custom post_types. Props prettyboymp. fixes #10717
git-svn-id: https://develop.svn.wordpress.org/trunk@12058 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-19 16:31:20 +00:00
Ryan Boren
faead879c7 Localize default strings for edit_comment_link() and edit_post_link(). fixes #10879
git-svn-id: https://develop.svn.wordpress.org/trunk@11987 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-01 17:41:09 +00:00
Ryan Boren
178a391097 get_delete_post_link()
git-svn-id: https://develop.svn.wordpress.org/trunk@11956 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-21 21:33:00 +00:00
Ryan Boren
43c201d458 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11930 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-14 14:03:32 +00:00
Ryan Boren
d7dede3b5f Fix Press This bookmarklet for Safari 4. Props noel. fixes #10749
git-svn-id: https://develop.svn.wordpress.org/trunk@11906 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-08 20:06:52 +00:00
Peter Westwood
e2902ac3c7 Add rel attribute to next/previous post links. Fixes #4209 props vladimir_kolesnikov
git-svn-id: https://develop.svn.wordpress.org/trunk@11866 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-21 17:12:25 +00:00
Ryan Boren
e01eb2fd26 Apply get_edit_post_link filter. Props prettyboymp. fixes #10579
git-svn-id: https://develop.svn.wordpress.org/trunk@11795 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-10 16:33:42 +00:00
Ryan Boren
7bc6b530f2 rel=canonical for singular pages. see #10115
git-svn-id: https://develop.svn.wordpress.org/trunk@11777 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-05 16:43:51 +00:00
Andrew Ozz
97027f3abe Don't show edit link for comments when the user cannot edit them, props filosofo, fixes #10520 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11752 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-30 15:43:04 +00:00
Ryan Boren
8f795065f6 Add 'rpc' context to siteurl which obeys ADMIN and LOGIN forced SSL. see #10330
git-svn-id: https://develop.svn.wordpress.org/trunk@11686 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-04 02:48:22 +00:00
Andrew Ozz
4e3ade7628 In get_posts() "category" is expected to be a string
git-svn-id: https://develop.svn.wordpress.org/trunk@11536 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-09 21:48:58 +00:00
Ryan Boren
687bf92a19 Use array instead of query string notation. Prop dd32, kamiyeye. fixes #10047
git-svn-id: https://develop.svn.wordpress.org/trunk@11528 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-06 14:44:38 +00:00
Ryan Boren
e12c642c54 Trim tailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11450 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-24 23:47:49 +00:00
Ryan Boren
19c8be9a49 eliminate duplicate cap checks. Props coffee2code. fixes #9899
git-svn-id: https://develop.svn.wordpress.org/trunk@11426 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-21 18:55:00 +00:00
Ryan Boren
2e1ed76289 Add post ID arg to edit_post_link(). Props coffee2code. fixes #9898
git-svn-id: https://develop.svn.wordpress.org/trunk@11425 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-21 18:43:04 +00:00
Mark Jaquith
ba1c3bdd5b Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: https://develop.svn.wordpress.org/trunk@11383 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 16:00:33 +00:00
Ryan Boren
7a19e12aee Add trailing slash before query args for crufty links. Props peaceablewhale. fixes #9515
git-svn-id: https://develop.svn.wordpress.org/trunk@11364 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-16 17:22:19 +00:00
Andrew Ozz
86749778d2 Post comments feed link HTML filter, props JohnLamansky, fixes #9712
git-svn-id: https://develop.svn.wordpress.org/trunk@11299 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-12 06:19:36 +00:00
Ryan Boren
ed9fa72efc Cache empty results for adjacent post queries
git-svn-id: https://develop.svn.wordpress.org/trunk@11243 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-08 19:47:30 +00:00
Ryan Boren
830907b08d Cache get_adjacent_post() queries for the duration of the page load to avoid running queries multiple times
git-svn-id: https://develop.svn.wordpress.org/trunk@11241 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-08 18:04:13 +00:00
Ryan Boren
8294109dfb Revert[11210]. fixes #9738 see #9515
git-svn-id: https://develop.svn.wordpress.org/trunk@11218 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-06 16:56:13 +00:00
Ryan Boren
7769da8f35 Slashe before query args. Props peaceablewhale. fixes #9515
git-svn-id: https://develop.svn.wordpress.org/trunk@11210 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 22:22:20 +00:00
Mark Jaquith
c638e8d8de _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: https://develop.svn.wordpress.org/trunk@11204 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 19:43:53 +00:00
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