Ryan Boren
|
6c64fffe3a
|
Use nav_menu as the taxonomy name and nav_menu_item as the post type. Set object_id in postmeta. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13284 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-21 18:24:41 +00:00 |
|
Ryan Boren
|
123b6244e3
|
Remove custom post states. Register taxonomy against menu_item post type. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13260 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-20 22:35:39 +00:00 |
|
Ron Rennick
|
f97af13505
|
introduce custom menus, props jeffikus, See #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13257 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-20 21:57: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
|
897529ea59
|
More Taxonomy cap checks. See #12035
git-svn-id: https://develop.svn.wordpress.org/trunk@13217 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-19 10:26:44 +00:00 |
|
Andrew Nacin
|
4d2c75d785
|
Assume WP_DEBUG is defined in wpdb. Remove unnecessary constant() calls. Ensure DB_COLLATE defined as empty string doesn't override default Multisite collation. fixes #12041, see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13209 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-19 01:03:58 +00:00 |
|
Ryan Boren
|
b6cf7b637e
|
Don't use array_fill_keys() as it is PHP5 only. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13199 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-18 20:03:04 +00:00 |
|
Ryan Boren
|
f17505ed9f
|
Don't include internal post types in the total. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13198 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-18 20:01:10 +00:00 |
|
Andrew Ozz
|
6ea8ad96ef
|
Clean attachment cache when reattaching, fixes #11647
git-svn-id: https://develop.svn.wordpress.org/trunk@13192 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-18 07:43:35 +00:00 |
|
Ryan Boren
|
5f268b6d43
|
Don't require a default category for post types other than 'post'. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13184 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-17 20:33:29 +00:00 |
|
Ryan Boren
|
663ab7e478
|
Flag post statuses as public, private, protected, or internal. Add flags for showing the type in the admin all query and the admin status list. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13172 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-16 21:13:44 +00:00 |
|
Dion Hulse
|
4b66bf7c74
|
Introduce 'singular_label' for Post Types. Props scribu. See #12214
git-svn-id: https://develop.svn.wordpress.org/trunk@13101 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 08:56:38 +00:00 |
|
Andrew Nacin
|
09916f140e
|
Use correct var name. Props firebird75. Whitespace cleanup in wp_unique_post_slug(). Fixes #12078.
git-svn-id: https://develop.svn.wordpress.org/trunk@13075 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 02:42:17 +00:00 |
|
Ryan Boren
|
b08985b209
|
Consult exclude_from_search when retrieving post_status = any. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13052 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-10 22:36:50 +00:00 |
|
Ryan Boren
|
9e4be29f4b
|
Remove leading slash so that it doesn't get doubled when front is added. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13050 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-10 21:57:25 +00:00 |
|
Ryan Boren
|
f932c77406
|
Retore p_status. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13049 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-10 20:37:18 +00:00 |
|
Ryan Boren
|
6a0b0ddeb8
|
Add description field for post types. Props ptahdunbar. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13044 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-10 16:52:02 +00:00 |
|
Peter Westwood
|
06d6e8e094
|
Ensure we don't mangle the array of post ancestors when sanitising a post for editing. Fixes #12168.
git-svn-id: https://develop.svn.wordpress.org/trunk@13016 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-07 21:49:00 +00:00 |
|
Ryan Boren
|
68db07fb9b
|
Add more visibility args to post status registration. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12994 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-06 17:46:00 +00:00 |
|
Ryan Boren
|
8be3a24819
|
Add a separate show_ui flag for post types. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12993 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-06 17:27:30 +00:00 |
|
Ryan Boren
|
0b7de0491f
|
Register the auto-draft post status. see #11889
git-svn-id: https://develop.svn.wordpress.org/trunk@12992 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-06 17:09:34 +00:00 |
|
Peter Westwood
|
1cec5d58ef
|
Add defaults for 'post_content' and 'post_title' in wp_insert_post(). See #11889.
git-svn-id: https://develop.svn.wordpress.org/trunk@12990 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-06 14:49:54 +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 |
|
Ryan Boren
|
0399d5c023
|
ms-functions pruning and cleanup. Props nacin. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12948 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-04 18:57:32 +00:00 |
|
Ryan Boren
|
d491a56710
|
Add taxonomies arg to register_post_type() for registering built-in taxonomies for the post type. Props technosailor. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12938 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-03 19:50:37 +00:00 |
|
Ryan Boren
|
5bc5965535
|
Allow registering a meta box callback for setting up meta boxes when creating the edit form for a custom post type. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12937 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-03 18:54:42 +00:00 |
|
Ryan Boren
|
12c49c44f4
|
Allow customizing capabilities for custom post types. Always check caps against those in the post type object instead of contructing them manually. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12927 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-02 17:37:03 +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
|
858e02d0d4
|
Update phpdoc to note that the default for public is false. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12898 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-29 18:26:33 +00:00 |
|
Ryan Boren
|
61dcf802c7
|
Change back to an option so that it is always there and regenerate it after cleaning the cache instead of waiting for the next page load. Don't clean taxonomy wide caches when just updating object counts to avoid cleaning when updating a post.
git-svn-id: https://develop.svn.wordpress.org/trunk@12881 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-27 19:42:23 +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
|
299bd70ce0
|
Merge clear_global_post_cache() into clean_post_cache(). fixes #11744
git-svn-id: https://develop.svn.wordpress.org/trunk@12768 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-19 19:45:44 +00:00 |
|
Ryan Boren
|
f260b32d25
|
Use cap checks instead of multisite and super admin checks. Add some new caps. Merge cleanup. see #11644.
git-svn-id: https://develop.svn.wordpress.org/trunk@12753 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-18 22:21:36 +00:00 |
|
Dion Hulse
|
333b3c517c
|
Introduce Revisioning for custom Post Types, Introduce 'supports' argument to register_post_type() to wrap add_post_type_support(), Whitespace additions to create_initial_post_types(). See #9674. Fixes #11703
git-svn-id: https://develop.svn.wordpress.org/trunk@12751 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-18 11:44:51 +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 |
|
Ryan Boren
|
105573a2f9
|
register_post_type(). see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12719 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-13 18:49:56 +00:00 |
|
Ryan Boren
|
9b510ecec4
|
Merge page.php into post.php. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12708 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-12 16:50:37 +00:00 |
|
Ron Rennick
|
8b4fbdb503
|
merge in multisite login, wp-includes, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12697 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-11 21:49:40 +00:00 |
|
Ryan Boren
|
c4c46a3070
|
Post type caps. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12682 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-10 01:23:14 +00:00 |
|
Peter Westwood
|
713ef64d69
|
_future_post_hook should not call _deprecated_argument() as it will always get that argument from the action it is hooked to. Fixes #11815 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12679 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-09 09:55:41 +00:00 |
|
Peter Westwood
|
b5a43efa73
|
Introduce a single function for getting all the intermediate image sizes to be used both when adding attachements and deleting. Fixes #10263 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@12659 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-08 08:51:12 +00:00 |
|
Ryan Boren
|
7b580bf8e8
|
Use update and insert. Props DD32. fixes #6836
git-svn-id: https://develop.svn.wordpress.org/trunk@12652 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-07 20:13:54 +00:00 |
|
Ryan Boren
|
7e6f603296
|
Revert extra bits that snuck in with [12650]
git-svn-id: https://develop.svn.wordpress.org/trunk@12651 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-07 19:55:48 +00:00 |
|
Ryan Boren
|
d93a81bd35
|
Assume current user of user ID is not passed. Props filosofo. fixes #11808
git-svn-id: https://develop.svn.wordpress.org/trunk@12650 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-07 19:45:57 +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 |
|
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 |
|
Ryan Boren
|
36272e0c33
|
Return empty array instead of null. Props Denis-de-Bernardy. fixes #11661 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12571 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-12-29 21:11:18 +00:00 |
|
Peter Westwood
|
b43b13ad81
|
Update wp_clear_scheduled_hook calls to use array when passing args. Fixes #11590 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12538 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-12-24 11:24:32 +00:00 |
|
Peter Westwood
|
f47ebc68e4
|
Notice fix. Only return variable references by reference.
git-svn-id: https://develop.svn.wordpress.org/trunk@12517 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-12-23 16:03:04 +00:00 |
|