Peter Westwood
|
c8dae44e09
|
Let the filters know its a sample permalink. Props yoast.
git-svn-id: https://develop.svn.wordpress.org/trunk@15117 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-06-02 20:52:22 +00:00 |
|
Andrew Nacin
|
12a45498b6
|
Consider 'auto-draft' a draft in get_post_permalink(). prevents custom post types from getting borked GUIDs. see #13555
git-svn-id: https://develop.svn.wordpress.org/trunk@14948 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-26 17:25:57 +00:00 |
|
Ryan Boren
|
aec821c651
|
Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@14924 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-26 02:42:15 +00:00 |
|
Andrew Nacin
|
7efaa581d3
|
Use a post type object label for edit_post_link's title attribute. props sc0ttkclark.
git-svn-id: https://develop.svn.wordpress.org/trunk@14901 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-25 18:55:51 +00:00 |
|
Ryan Boren
|
1c93bc2006
|
Introduce get_term_feed_link(). Use it in wp_list_categories(). Props blepoxp. see #13058
git-svn-id: https://develop.svn.wordpress.org/trunk@14711 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-17 16:21:12 +00:00 |
|
Ron Rennick
|
179273030a
|
improvements to get_home/site_url, props andreasnrb + code cleanup, see #12735
git-svn-id: https://develop.svn.wordpress.org/trunk@14702 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-16 21:58:31 +00:00 |
|
Andrew Nacin
|
e6ae8c05e8
|
Always pass post ID, not post object, to the_title filter. Original the_title filter in get_the_title() uses ID only. props filosofo, fixes #12631.
git-svn-id: https://develop.svn.wordpress.org/trunk@14653 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-15 05:26:25 +00:00 |
|
Andrew Nacin
|
4f689c8309
|
Move taxonomy object properties for capabilities into a cap object. Capabilities can be specified via ['capabilities'] (an array keyed by the generic cap name) for register_taxonomy. fixes #13358.
git-svn-id: https://develop.svn.wordpress.org/trunk@14593 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-13 04:10:17 +00:00 |
|
Andrew Nacin
|
323342deec
|
Move post type object capabilities to a 'cap' object. Allow them to be initialized via the 'capabilities' key (an array) when registering support for the post type. Caps are now referred to by the name of the cap as if it was a post, i.e. ->cap->edit_post. see #13358.
git-svn-id: https://develop.svn.wordpress.org/trunk@14585 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-12 20:45:18 +00:00 |
|
Peter Westwood
|
85e9d665ee
|
Make wp_get_shortlink() loop friendly. Fixes #13212 props ryan.
git-svn-id: https://develop.svn.wordpress.org/trunk@14490 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-06 21:20:17 +00:00 |
|
Ron Rennick
|
c2b89e7330
|
use homeurl(), props PeteMall, see #9008
git-svn-id: https://develop.svn.wordpress.org/trunk@14429 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-04 00:28:29 +00:00 |
|
Ryan Boren
|
57a5a11660
|
Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14374 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-03 18:16:22 +00:00 |
|
Peter Westwood
|
e20e62c135
|
Fix the edit post link to cope with the change in behaviour of admin_url to always escape the url. See #13051.
git-svn-id: https://develop.svn.wordpress.org/trunk@14372 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-03 13:56:35 +00:00 |
|
Ryan Boren
|
7fcda10d46
|
Escape links by default. Props alexkingorg. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14347 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-02 22:53:59 +00:00 |
|
Peter Westwood
|
d192a8ca09
|
Switch to using esc_url{_raw} for the shortlink output as it is a url not just any attribute. Fixes #10640.
git-svn-id: https://develop.svn.wordpress.org/trunk@14208 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-23 21:23:32 +00:00 |
|
Peter Westwood
|
6908b105e4
|
Added escaping to wp_shortlink_wp_head() too. See #10640 props sirzooro.
git-svn-id: https://develop.svn.wordpress.org/trunk@14207 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-23 21:20:16 +00:00 |
|
Dion Hulse
|
09c1f4eb75
|
Advertise the correct comment feed link for a Page on the Front. Do not canonical redirect the front page comments feeds to home. Fixes #12452
git-svn-id: https://develop.svn.wordpress.org/trunk@14141 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-18 06:51:16 +00:00 |
|
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 |
|