Jon Cave
82c0f09c09
Fix typos in documentation (wp-includes/[i-z]). See #18560 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18639 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-05 19:08:15 +00:00
Andrew Nacin
d367634aea
Fire _deprecated_argument() for get_adjacent_post()'s crazy excluded_categories 'and' thing. fixes #17673 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18478 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-28 17:30:18 +00:00
Ryan Boren
a3b77d3e95
Support an array or comma-seperated list of excluded category IDs in get_adjacent_post(). Props solarissmoke. fixes #17673
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18477 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-28 17:19:51 +00:00
Ryan Boren
a0ae9633d4
Fix handing of super admins that don't have a blog in get_dashboard_url() and login. Props nacin. fixes #17829
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18328 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-22 19:45:28 +00:00
Ryan Boren
46d96c7704
Bring out the pinking shears.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18254 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 23:01:45 +00:00
Ryan Boren
3baeffac80
Translate default link labels for *posts_link(). Props nathanrice, CharlesClarkson. fixes #16998
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17728 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-27 21:25:09 +00:00
Ryan Boren
cb873824ee
s/esc_url_raw/esc_url/. Props duck_.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17582 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-01 19:29:06 +00:00
Mark Jaquith
0984bae175
Correctly handle PATHINFO CPTs and CTs that specify with_front=false. fixes #16807 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17518 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-10 04:24:48 +00:00
Ryan Boren
eba71eb7c0
Bring out the shears.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17228 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-06 04:11:14 +00:00
Ryan Boren
34ef8c8df9
Translations in title attributes require esc_attr().
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17102 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-21 17:17:58 +00:00
Ryan Boren
2423095bc1
Relocate isset check. Props TobiasBg, SergeyBiryukov. fixes #15041
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17076 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 11:41:08 +00:00
Ryan Boren
99bd388ef3
Fix guid generation for page auto drafts. Props shawnparker. fixes #15041
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17061 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-19 14:42:17 +00:00
Andrew Nacin
541c45ba0e
Make network_admin_url() return admin_url() when not multisite like its home and site counterparts. Kill the now redundant maybe_network_admin_url() function. fixes #15840 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16994 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 09:31:42 +00:00
Andrew Nacin
8cf8f3380c
maybe_network_admin_url. see #15840 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16977 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 06:06:59 +00:00
Andrew Nacin
c4ffd06f66
Inline doc fixes for get_next|previous|adjacent_post. props kawauso, fixes #15822 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16951 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 16:45:14 +00:00
Andrew Nacin
4904a251a5
Don't show extra .0 in _deprecated_argument calls. They should appear in @since docs though.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16938 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 11:27:38 +00:00
scribu
8c86414798
Revert logic change made in [16789]. See #13818
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16793 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 09:15:09 +00:00
scribu
8f4416b53b
Use has_archive in get_post_type_archive_link(). See #13818
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16789 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 07:51:40 +00:00
Ryan Boren
18da5392f9
Link to edit profile screen within same admin if in network or user admin.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16475 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 23:07:59 +00:00
Peter Westwood
b08df21c26
Revert most of [16332] - renaming and deprecating a commonly used function is silly. Improving it is good. Fixes #15407 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16334 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 21:53:15 +00:00
scribu
11f20d737c
Replace get_the_category() with get_the_categories(). Props filosofo. Fixes #15407
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16332 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-12 20:05:37 +00:00
scribu
b4988b968b
use get_queried_object() wrappers throughout. See #14015
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16114 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-31 11:02:17 +00:00
Ryan Boren
40558c2dbc
get_dashboard_url() and get_edit_profile_url(). Determine the appropriate dahboard for a user based on the user's blogs and the current blog. see #14696 #14772
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16083 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 17:48:53 +00:00
Andrew Nacin
2c833277b2
Use correct variable. props linguasite, fixes #14141 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16030 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 05:58:49 +00:00
Andrew Nacin
234efcf413
Use a consistent variable.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15933 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 17:51:18 +00:00
Andrew Nacin
cfde537391
Don't make redundant str_replace calls in link-template. props duck_.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15932 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-23 17:13:52 +00:00
Andrew Nacin
fb4e38b0e7
Pinking shears.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15843 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 07:48:22 +00:00
Andrew Nacin
fc71934f11
Full @since's for 3.1.0.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15842 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 07:38:42 +00:00
Andrew Nacin
38092bb128
Custom post type archives, second pass. see #13818 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15819 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-15 19:44:57 +00:00
Ryan Boren
fe2b97b594
Remove dead code from get_next_posts_link(). Props filosofo. fixes #14850
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15817 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-15 14:43:31 +00:00
scribu
ba394c63a4
Rename get_edit_term_url() to get_edit_term_link() for consistency. See #9702
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15801 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 08:47:41 +00:00
scribu
2e0bd92a09
get_edit_term_link() improvements:
...
* add optional $object_type parameter
* make $term_id and $taxonomy parameters mandatory
* pass all relevant information to the filter
* use in WP_Terms_Table
See #9702
git-svn-id: https://develop.svn.wordpress.org/trunk@15800 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 07:35:13 +00:00
scribu
057abe87e0
Introduce edit_term_link() and get_term_url(). Props yoast. Fixes #9702
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15792 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-13 14:54:21 +00:00
Ryan Boren
9ee8b20f30
First pass of user admin. Network admin and screen cleanups. see #14696
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15746 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 19:34:18 +00:00
Dion Hulse
3d2e3625d4
Do not load Taxonomy cache & Postmeta cache in get_boundary_post(). Fixes #15028
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15701 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 09:17:18 +00:00
Andrew Nacin
f445cbf975
Have get_boundary_post sort by post_date, not ID. props scribu, jk0. fixes #14035 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15660 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-26 08:31:16 +00:00
scribu
b1def7dad8
Introduce 'edit_comment' meta cap. Fixes #14520
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15596 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 23:35:28 +00:00
Andrew Nacin
9494e4ce7e
Phpdoc argument/@param cleanups. props duck_, see #14783 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15590 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 11:21:11 +00:00
scribu
bfb520f616
Don't hardcode the pagination base. Fixes #12507
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15582 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 01:18:42 +00:00
Andrew Nacin
457c37ff01
Adjustments to [15549]. See #11624 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15563 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-04 15:51:04 +00:00
scribu
b3ef955990
Don't use the global anymore. Fixes #11624
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15549 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-28 11:57:28 +00:00
Ryan Boren
edd48280e3
Network Admin, first pass. see #14435
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15481 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-30 20:34:54 +00:00
Andrew Nacin
0d687968ef
get_post_permalink() should take a post ID and pass the post object to the filter. Note that the filter received a post object previously as the variable. props filosofo, fixes #14299 for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15411 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-13 21:56:49 +00:00
Dion Hulse
7efc4efdaa
Alot more tabs. Props jacobsantos & Viper007bond. See #14147
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15355 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-30 00:05:18 +00:00
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
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