nacin
|
52f2783331
|
Use correct var name. Props firebird75. Whitespace cleanup in wp_unique_post_slug(). Fixes #12078.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-13 02:42:17 +00:00 |
|
ryan
|
f147d89df7
|
Consult exclude_from_search when retrieving post_status = any. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-10 22:36:50 +00:00 |
|
ryan
|
98c0c1065b
|
Remove leading slash so that it doesn't get doubled when front is added. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-10 21:57:25 +00:00 |
|
ryan
|
ca45669343
|
Retore p_status. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-10 20:37:18 +00:00 |
|
ryan
|
ec07eb3768
|
Add description field for post types. Props ptahdunbar. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-10 16:52:02 +00:00 |
|
westi
|
41ca2c5621
|
Ensure we don't mangle the array of post ancestors when sanitising a post for editing. Fixes #12168.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-07 21:49:00 +00:00 |
|
ryan
|
d0f8826c0b
|
Add more visibility args to post status registration. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-06 17:46:00 +00:00 |
|
ryan
|
9de60f3644
|
Add a separate show_ui flag for post types. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-06 17:27:30 +00:00 |
|
ryan
|
ec8ba1ccd2
|
Register the auto-draft post status. see #11889
git-svn-id: http://svn.automattic.com/wordpress/trunk@12992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-06 17:09:34 +00:00 |
|
westi
|
9ecd5ff925
|
Add defaults for 'post_content' and 'post_title' in wp_insert_post(). See #11889.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-06 14:49:54 +00:00 |
|
markjaquith
|
0f924eee99
|
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: http://svn.automattic.com/wordpress/trunk@12987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-06 10:07:57 +00:00 |
|
ryan
|
9f8149616d
|
ms-functions pruning and cleanup. Props nacin. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-04 18:57:32 +00:00 |
|
ryan
|
679a7b5b88
|
Add taxonomies arg to register_post_type() for registering built-in taxonomies for the post type. Props technosailor. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-03 19:50:37 +00:00 |
|
ryan
|
d45311c9fb
|
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: http://svn.automattic.com/wordpress/trunk@12937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-03 18:54:42 +00:00 |
|
ryan
|
5922f7e2c4
|
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: http://svn.automattic.com/wordpress/trunk@12927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-02 17:37:03 +00:00 |
|
ryan
|
ed24c3dd40
|
Permalinks for custom post types. Props prettyboymp. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-01 23:12:26 +00:00 |
|
ryan
|
7cf294e0e1
|
Update phpdoc to note that the default for public is false. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-01-29 18:26:33 +00:00 |
|
ryan
|
40e61f93e5
|
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: http://svn.automattic.com/wordpress/trunk@12881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-01-27 19:42:23 +00:00 |
|
ryan
|
decf135295
|
Update trash and right now links for pages. fixes #11958
git-svn-id: http://svn.automattic.com/wordpress/trunk@12783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-01-21 06:53:33 +00:00 |
|
ryan
|
42d8102a9c
|
Merge clear_global_post_cache() into clean_post_cache(). fixes #11744
git-svn-id: http://svn.automattic.com/wordpress/trunk@12768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-01-19 19:45:44 +00:00 |
|
ryan
|
f7d7bc2dd0
|
Use cap checks instead of multisite and super admin checks. Add some new caps. Merge cleanup. see #11644.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-01-18 22:21:36 +00:00 |
|
dd32
|
7f34057330
|
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: http://svn.automattic.com/wordpress/trunk@12751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-01-18 11:44:51 +00:00 |
|
ryan
|
6da55f7792
|
Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@12733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-01-15 22:11:12 +00:00 |
|
ryan
|
c6737c2f02
|
register_post_type(). see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-01-13 18:49:56 +00:00 |
|
ryan
|
c616e65733
|
Merge page.php into post.php. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-01-12 16:50:37 +00:00 |
|
wpmuguru
|
7b64248bc8
|
merge in multisite login, wp-includes, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-01-11 21:49:40 +00:00 |
|
ryan
|
25e152a58b
|
Post type caps. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-01-10 01:23:14 +00:00 |
|
westi
|
03ed98ab17
|
_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: http://svn.automattic.com/wordpress/trunk@12679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-01-09 09:55:41 +00:00 |
|
westi
|
cc30f8ad98
|
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: http://svn.automattic.com/wordpress/trunk@12659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-01-08 08:51:12 +00:00 |
|
ryan
|
0d31c12db6
|
Use update and insert. Props DD32. fixes #6836
git-svn-id: http://svn.automattic.com/wordpress/trunk@12652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-01-07 20:13:54 +00:00 |
|
ryan
|
083064e628
|
Revert extra bits that snuck in with [12650]
git-svn-id: http://svn.automattic.com/wordpress/trunk@12651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-01-07 19:55:48 +00:00 |
|
ryan
|
8c875db5b4
|
Assume current user of user ID is not passed. Props filosofo. fixes #11808
git-svn-id: http://svn.automattic.com/wordpress/trunk@12650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-01-07 19:45:57 +00:00 |
|
ryan
|
da89de4958
|
More custom post type support. Props scribu. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-01-04 16:58:43 +00:00 |
|
westi
|
ff7831207c
|
Updates and improvements to _depreceated_argument. See #11386 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-12-30 16:23:39 +00:00 |
|
ryan
|
309afc8ad3
|
Return empty array instead of null. Props Denis-de-Bernardy. fixes #11661 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@12571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-12-29 21:11:18 +00:00 |
|
westi
|
eb8c1d336e
|
Update wp_clear_scheduled_hook calls to use array when passing args. Fixes #11590 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-12-24 11:24:32 +00:00 |
|
westi
|
f83b446117
|
Notice fix. Only return variable references by reference.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-12-23 16:03:04 +00:00 |
|
ryan
|
cedfa0181b
|
Use array calling style. Props Denis-de-Bernardy. see #6647
git-svn-id: http://svn.automattic.com/wordpress/trunk@12515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-12-23 15:31:02 +00:00 |
|
ryan
|
e7d9a6913a
|
Add hierarchical taxonomy handling to wp_set_post_terms(). Props prettyboymp. see #10122
git-svn-id: http://svn.automattic.com/wordpress/trunk@12509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-12-23 14:25:09 +00:00 |
|
ryan
|
20162ec029
|
Delete instead of trash when bulk deleting media. Props nacin. fixes #11455
git-svn-id: http://svn.automattic.com/wordpress/trunk@12415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-12-16 17:14:21 +00:00 |
|
westi
|
8c791aaf60
|
Check the correct global in get_page and also ensure that the cap check for deleting pages copes for the default page we edit when adding new. Fixes #11203.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-12-07 18:01:02 +00:00 |
|
ryan
|
729757afc2
|
Use correct var name. Props miqrogroove. fixes #10821
git-svn-id: http://svn.automattic.com/wordpress/trunk@12307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-12-01 19:41:41 +00:00 |
|
ryan
|
711994ba4b
|
Delete custom taxonomy relationships when deleting a post or attachment. Props dd32. fixes #10821
git-svn-id: http://svn.automattic.com/wordpress/trunk@12305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-12-01 18:01:24 +00:00 |
|
ryan
|
41099db69b
|
Delete custom taxonomy relationships when deleting a post. Props miqrogroove. fixes #10821
git-svn-id: http://svn.automattic.com/wordpress/trunk@12299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-30 22:17:28 +00:00 |
|
ryan
|
97bf1f11bd
|
Save parent temp ID for unattached attachments in postmeta. Props scribu. fixes #9471
git-svn-id: http://svn.automattic.com/wordpress/trunk@12298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-30 21:41:52 +00:00 |
|
azaozz
|
c3f7df6b24
|
Fix notices and phpdoc, props hakre, fixes #10758
git-svn-id: http://svn.automattic.com/wordpress/trunk@12284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-26 11:29:54 +00:00 |
|
azaozz
|
5f74404560
|
Get the right number of pages then excluding a tree, fixes #11205
git-svn-id: http://svn.automattic.com/wordpress/trunk@12279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-26 05:22:09 +00:00 |
|
ryan
|
4c1c30fbd6
|
Don't require titles for attachments. Props caesarsgrunt. fixes #11052
git-svn-id: http://svn.automattic.com/wordpress/trunk@12273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-24 16:52:32 +00:00 |
|
ryan
|
a03752fdb4
|
Check if defined to avoid having to suppress. Props Mittineague, Denis-de-Bernardy. fixes #10525
git-svn-id: http://svn.automattic.com/wordpress/trunk@12265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-23 18:47:22 +00:00 |
|
azaozz
|
128927e43b
|
Limit wp_get_recent_posts() to real/live posts, props josephscott, fixes #11123
git-svn-id: http://svn.automattic.com/wordpress/trunk@12237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-20 03:01:22 +00:00 |
|