Dion Hulse
|
846ef7d8c3
|
Save _wp_old_slug for all published post_type's, brings old-slug redirection to Posts and CPT's. See #15140
git-svn-id: https://develop.svn.wordpress.org/trunk@15831 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-18 11:24:29 +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
|
8e1da911a2
|
Prevent post and term hierarchy loops. Props mdawaffe. fixes #14662
git-svn-id: https://develop.svn.wordpress.org/trunk@15806 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-14 15:09:04 +00:00 |
|
Andrew Nacin
|
cb3396d39c
|
Use correct variable. see #13818.
git-svn-id: https://develop.svn.wordpress.org/trunk@15804 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-14 11:31:48 +00:00 |
|
Andrew Nacin
|
86ab32a196
|
Custom post type archives. see #13818.
git-svn-id: https://develop.svn.wordpress.org/trunk@15803 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-14 10:39:47 +00:00 |
|
Ryan Boren
|
40dade4c0e
|
Allow deleting a format. see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@15779 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-12 19:43:54 +00:00 |
|
Ryan Boren
|
0ccec0d6f1
|
has_post_format(). see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@15778 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-12 19:25:58 +00:00 |
|
Ryan Boren
|
b1beb9c211
|
Post formats, take one. see #14746
git-svn-id: https://develop.svn.wordpress.org/trunk@15777 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-12 18:33:14 +00:00 |
|
Ryan Boren
|
3a8fb669cb
|
Some more hierarchy loop detection.
git-svn-id: https://develop.svn.wordpress.org/trunk@15758 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-08 16:22:14 +00:00 |
|
Andrew Nacin
|
d8596259e2
|
Sticky post support for post types, first pass. see #12702, props azizur.
git-svn-id: https://develop.svn.wordpress.org/trunk@15742 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-07 09:10:35 +00:00 |
|
Dion Hulse
|
d837eb9f8f
|
Cache terms under more scenario's in update_post_caches(). Fixes #15026
git-svn-id: https://develop.svn.wordpress.org/trunk@15700 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-04 08:56:04 +00:00 |
|
Andrew Nacin
|
d2cfd1f678
|
wp_quickpress_form, first pass. props jorbin. see #14966.
git-svn-id: https://develop.svn.wordpress.org/trunk@15691 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-03 07:41:48 +00:00 |
|
Andrew Nacin
|
ea2f90c70e
|
Move some post and taxonomy functions from admin/includes to wp-includes in preparation for QuickPress template tag. Moves get_tags_to_edit, get_terms_to_edit, get_default_post_to_edit, media_buttons, _media_button, get_upload_iframe_src. Also introduce get_media_buttons as a wrapper for media_buttons. props jorbin, see #14966.
git-svn-id: https://develop.svn.wordpress.org/trunk@15688 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-03 02:58:59 +00:00 |
|
Ryan Boren
|
df6d5550db
|
Simplify sanitize_key() and use it in more places. see #14910
git-svn-id: https://develop.svn.wordpress.org/trunk@15635 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-09-20 15:28:58 +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 |
|
Mark Jaquith
|
93680ad646
|
Rename caller_get_posts WP_Query flag to ignore_sticky_posts, because that is the only thing it does. fixes #14624. props scribu
git-svn-id: https://develop.svn.wordpress.org/trunk@15589 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-09-07 04:46:08 +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
|
af29b5d5cf
|
phpdoc, @since, whitespace. Also require an argument in wp_insert_post(). props duck_, see #14783.
git-svn-id: https://develop.svn.wordpress.org/trunk@15564 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-09-05 02:45:39 +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 |
|
scribu
|
fbdaa80fde
|
Always set no_found_rows = true in get_posts(). Fixes #14528
git-svn-id: https://develop.svn.wordpress.org/trunk@15548 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-08-28 11:51:02 +00:00 |
|
Mark Jaquith
|
ad944bb822
|
Do not attempt to clear post cache for post ID 0... that will recursively destroy your server
git-svn-id: https://develop.svn.wordpress.org/trunk@15503 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-08-18 06:50:53 +00:00 |
|
Andrew Nacin
|
c9d4749ed7
|
Doc update for [15402]. fixes #14301.
git-svn-id: https://develop.svn.wordpress.org/trunk@15449 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-07-21 00:50:01 +00:00 |
|
Ryan Boren
|
4fb68cd5e8
|
Sanity check properties in wp_get_single_post(). Props filosofo. fixes #13904 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15405 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-07-13 21:30:09 +00:00 |
|
Andrew Nacin
|
dc3140a664
|
Have wp_set_post_terms return wp_set_object_terms. fixes #14301.
git-svn-id: https://develop.svn.wordpress.org/trunk@15402 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-07-13 21:01:48 +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 |
|
Ryan Boren
|
44a502207a
|
Use get_post_types() to create list of hierarchical post types. fixes #14079 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15348 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-06-29 14:10:54 +00:00 |
|
Ryan Boren
|
58a038d2ad
|
Avoid var name collision. see #13929
git-svn-id: https://develop.svn.wordpress.org/trunk@15269 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-06-16 21:46:42 +00:00 |
|
Ryan Boren
|
7def07393e
|
Retern variable to avoid notice in PHP 4.
git-svn-id: https://develop.svn.wordpress.org/trunk@15265 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-06-16 19:11:44 +00:00 |
|
Ryan Boren
|
fc2793bd46
|
Deprecate is_term, is_taxonomy, is_post_type for *_exists(). Props nacin. fixes #13747
git-svn-id: https://develop.svn.wordpress.org/trunk@15220 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-06-11 15:53:41 +00:00 |
|
Andrew Nacin
|
9d38c0af9e
|
Move 'helps' argument to the taxonomy labels object. Also move over help_nojs and help_cloud, both introduced in 3.0. This adds three new core labels for non-hierarchical taxonomies, for tweaking the meta box strings. fixes #13805.
git-svn-id: https://develop.svn.wordpress.org/trunk@15190 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-06-10 16:07:33 +00:00 |
|
Ryan Boren
|
9319e06698
|
Fix global post stomping in get_post(). Turn get_page() into an alias of get_post(). Props westi. fixes #13753
git-svn-id: https://develop.svn.wordpress.org/trunk@15188 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-06-10 14:55:26 +00:00 |
|
Ryan Boren
|
c0570f3494
|
phpdoc fix. Props duck_
git-svn-id: https://develop.svn.wordpress.org/trunk@15169 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-06-08 13:24:20 +00:00 |
|
Andrew Nacin
|
60b96042f2
|
Use show_in_nav_menus for attachments. Also add it to register_taxonomy for consistency and have it default to public, not show_ui, like post types. see #13621.
git-svn-id: https://develop.svn.wordpress.org/trunk@15056 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-29 16:46:46 +00:00 |
|
Andrew Nacin
|
ac048dfbd8
|
Some inline doc updates for get_post_type_capabilities and get_post_type_labels. props MichaelH, fixes #13573.
git-svn-id: https://develop.svn.wordpress.org/trunk@14991 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-27 12:44:08 +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
|
855bc34ad9
|
Remove unused/duplicated/undocumented post type object label. see #13539
git-svn-id: https://develop.svn.wordpress.org/trunk@14903 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-25 19:25:27 +00:00 |
|
Andrew Nacin
|
ad59625e7f
|
Fix typo. props rovo89, fixes #13494.
git-svn-id: https://develop.svn.wordpress.org/trunk@14902 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-25 18:59:20 +00:00 |
|
Ryan Boren
|
e63b2b97be
|
Don't set default category when saving an auto-draft. fixes #13531
git-svn-id: https://develop.svn.wordpress.org/trunk@14883 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-25 14:43:39 +00:00 |
|
Andrew Nacin
|
0e7af12e41
|
Remove now-unused post_type_object->labels>edit, which was 'Edit' (with context). see #12968, see #11274.
git-svn-id: https://develop.svn.wordpress.org/trunk@14857 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-24 21:19:29 +00:00 |
|
Dion Hulse
|
b93faecc52
|
Introduce a 'post_updated' action, Fires when a post is updated, Post ID, Current and Previous post objects are passed. Updatewp_check_for_changed_slugs() to use new hook. See #12473
git-svn-id: https://develop.svn.wordpress.org/trunk@14814 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-23 07:49:21 +00:00 |
|
Ryan Boren
|
e88dc2d87d
|
Set show_ui to true for post and page. Exclude _builtin = true from areas where we need to special case builtin types. fixes #13403
git-svn-id: https://develop.svn.wordpress.org/trunk@14713 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-17 16:39:36 +00:00 |
|
Peter Westwood
|
a0740155c5
|
Make get_attachment_metadata() loop safe.
git-svn-id: https://develop.svn.wordpress.org/trunk@14699 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-16 21:00:00 +00:00 |
|
Andrew Nacin
|
f92765c934
|
Remove default_comment_status_pages setting. Reverts [14451], [14448] for 3.0. see #12991.
git-svn-id: https://develop.svn.wordpress.org/trunk@14650 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-15 04:56:56 +00:00 |
|
Ryan Boren
|
35cd94b58c
|
register_post_type phpdoc updates. Props michaelh. fixes #13398
git-svn-id: https://develop.svn.wordpress.org/trunk@14648 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-14 22:26:07 +00:00 |
|
Nikolay Bachiyski
|
8a95987fad
|
Keep label as a quick way to set up a taxonomy/post type, without diving into the labels array. Deprecate singular_label while there. Props nacin. Fixes #13357
git-svn-id: https://develop.svn.wordpress.org/trunk@14619 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-14 02:13:49 +00:00 |
|
Nikolay Bachiyski
|
599c19481e
|
I18n for custom taxonomies. Fixes #13357
git-svn-id: https://develop.svn.wordpress.org/trunk@14614 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-14 00:34:04 +00:00 |
|
Ryan Boren
|
3c7ca79f6e
|
Add show_in_nav_menus flag to post type registration. Props williamsba1. fixes #13144
git-svn-id: https://develop.svn.wordpress.org/trunk@14602 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-13 17:29:45 +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
|
7c0dcdca6b
|
Unset capabilities property when we're done. see #13358.
git-svn-id: https://develop.svn.wordpress.org/trunk@14589 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-12 21:17:38 +00:00 |
|