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