Commit Graph

323 Commits

Author SHA1 Message Date
Dion Hulse
fb623ae0c6 Display the correct Slug in the permalink preview. Props duck_. Fixes #12870
git-svn-id: https://develop.svn.wordpress.org/trunk@14124 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 01:46:28 +00:00
Andrew Nacin
e9ce1f2b54 Add $force_delete to get_delete_post_link(). Remove unnecessary argument. props scribu, fixes #12708
git-svn-id: https://develop.svn.wordpress.org/trunk@14099 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 02:29:10 +00:00
Dion Hulse
602b9f05b3 Correct sample URL's for custom post_type's. uses pretty permalinks if possible. Props duck_. See #12870
git-svn-id: https://develop.svn.wordpress.org/trunk@14068 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-11 08:58:40 +00:00
Ryan Boren
6f1de4e209 Trigger adjacent_posts_rel_link() from wp_head only for single post pages to avoid unnecessary queries. see #10867
git-svn-id: https://develop.svn.wordpress.org/trunk@14019 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-06 15:06:42 +00:00
Andrew Nacin
ebd39b1233 Have get_search_query() escape by default, like it's echoing counterpart the_search_query(). see #12780
git-svn-id: https://develop.svn.wordpress.org/trunk@13978 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-03 23:38:38 +00:00
Dion Hulse
4dcdc247f6 Handle uppercase html entities in get_next_posts_link() & get_next_comments_link() (and family) $labels. Fixes #4152
git-svn-id: https://develop.svn.wordpress.org/trunk@13922 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 00:07:59 +00:00
Ryan Boren
dc9cefd8a5 Use network_*_url(). see #12736
git-svn-id: https://develop.svn.wordpress.org/trunk@13884 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-29 21:45:31 +00:00
Ryan Boren
8b71175392 Don't stomp scheme arg. see #12736
git-svn-id: https://develop.svn.wordpress.org/trunk@13882 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-29 20:25:30 +00:00
Ron Rennick
430123a00c tweaks to network_*_url(), see #12736
git-svn-id: https://develop.svn.wordpress.org/trunk@13881 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-29 19:57:17 +00:00
Ryan Boren
8392d79d1e network_site_url(), network_home_url(), network_admin_url(). see #12736
git-svn-id: https://develop.svn.wordpress.org/trunk@13880 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-29 17:53:03 +00:00
Dion Hulse
b9682621d0 Fix the Permalink editor for custom post_types. Fixes #12742
git-svn-id: https://develop.svn.wordpress.org/trunk@13865 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-28 05:23:49 +00:00
Andrew Nacin
0459129e69 Remove references to wp-ajax.php. props TobiasBg, fixes #12400
git-svn-id: https://develop.svn.wordpress.org/trunk@13831 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 19:44:43 +00:00
Andrew Nacin
e34ca97ae0 Change @since 3.0 to @since 3.0.0.
git-svn-id: https://develop.svn.wordpress.org/trunk@13827 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 19:13:36 +00:00
Ryan Boren
0286b0f2e5 Add scheme argument to admin_url() and get_admin_url() to allow forcing a particular scheme.
git-svn-id: https://develop.svn.wordpress.org/trunk@13814 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-25 22:00:36 +00:00
Dion Hulse
6be1550e75 Add hierarchical support for custom post_types in Rewrite Rules & Querying. See #12643
git-svn-id: https://develop.svn.wordpress.org/trunk@13774 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-20 02:23:52 +00:00
Ryan Boren
e61755c853 Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@13733 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 16:27:25 +00:00
Ryan Boren
e215851f8d the_shortlink(). Props miqrogroove. fixes #10640
git-svn-id: https://develop.svn.wordpress.org/trunk@13683 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-12 16:08:37 +00:00
Ryan Boren
30bb2a68a1 Don't replace Link headers. Update phpdoc. see #10604
git-svn-id: https://develop.svn.wordpress.org/trunk@13650 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-10 20:10:32 +00:00
Ryan Boren
78ef621011 Add no_found_rows argument to WP_Query::get_posts() to allow forcibly defeating SQL_CALC_FOUND_ROWS. Use no_found_rows for the query in get_boundary_post(). fixes #12557
git-svn-id: https://develop.svn.wordpress.org/trunk@13647 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-10 18:37:03 +00:00
Ryan Boren
96ace89041 wp_get_shortlink() and pluggable shortlink generation. fixes #10640
git-svn-id: https://develop.svn.wordpress.org/trunk@13635 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-09 19:36:38 +00:00
Andrew Nacin
e7c35109d6 Add the_feed_link(). fixes #11794, props sirzooro.
git-svn-id: https://develop.svn.wordpress.org/trunk@13557 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 19:00:21 +00:00
Dion Hulse
b69c44c1f8 Add a 'pre_post_link' filter to get_permalink() before token replacement occurs. Fixes #12240
git-svn-id: https://develop.svn.wordpress.org/trunk@13549 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 11:57:32 +00:00
Dion Hulse
9e3aaa0bf5 Add a front end Ajax handler. Props Denis-de-Bernardy. See #12400
git-svn-id: https://develop.svn.wordpress.org/trunk@13527 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 11:49:50 +00:00
Dion Hulse
0b63979093 Add get_search_link() with Permastruct (/search/) support. Props jshreve. Update get_search_link(), get_search_feed_link() & get_search_comments_feed_link() to use it, as well as supporting Permastructs for those feeds. Fixes #10552
git-svn-id: https://develop.svn.wordpress.org/trunk@13483 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 04:15:02 +00:00
Andrew Nacin
5b05536235 Allow get_(previous|adjacent|next)_post() to be used on attachment and !single templates. props jobjorn, fixes #10867
git-svn-id: https://develop.svn.wordpress.org/trunk@13475 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 00:00:43 +00:00
Dion Hulse
468d0d7cff Variable Cleanup, Unused variables, Typo'd variables, unused code blocks. Fixes #12299
git-svn-id: https://develop.svn.wordpress.org/trunk@13242 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 02:01:46 +00:00
Dion Hulse
4011b3d4a8 Remove unused references to global $wpdb
git-svn-id: https://develop.svn.wordpress.org/trunk@13240 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 00:50:29 +00:00
Dion Hulse
5028f2ccbb Fix $post_type handling/passing in the Taxonomy edit links. Fix the Tag selection query var for edit.php in the Posts links. See #12270, See #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@13213 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 09:54:18 +00:00
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