ryan
|
31c4756a42
|
Register 'inherit' as a post status. Check the parent post status when commenting on attachments.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-14 14:07:48 +00:00 |
dd32
|
b555a9a076
|
Update get_post_type() to perform on the current global post if none specified. Update PHPDoc to reflect changes. Props rmccue. Fixes #12827
git-svn-id: http://svn.automattic.com/wordpress/trunk@14071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-11 11:10:54 +00:00 |
dd32
|
0e7c1a0cb3
|
Update Future Scheduled posts publish status to Published upon updating the date to a past date. Props bumbu. Fixes #12751
git-svn-id: http://svn.automattic.com/wordpress/trunk@14062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-10 14:00:30 +00:00 |
dd32
|
0b4ebffe70
|
Handle future-scheduled custom post_type's. Props waltervos. Fixes #12842
git-svn-id: http://svn.automattic.com/wordpress/trunk@14056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-10 12:17:19 +00:00 |
nacin
|
5e36f9f821
|
Quick edit taxonomy label. props scribu, keighl, fixes #12796
git-svn-id: http://svn.automattic.com/wordpress/trunk@14054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-10 11:54:33 +00:00 |
dd32
|
ab16d12c2c
|
Introduce is_post_type_hierarchical(). Props ptahdunbar. See #12950
git-svn-id: http://svn.automattic.com/wordpress/trunk@14053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-10 11:42:45 +00:00 |
nacin
|
48dc61d1a9
|
Spell out that _builtin and _edit_link are internal use only. Include some redundancy and repetition for emphasis.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-08 01:04:22 +00:00 |
markjaquith
|
f1fd3f2780
|
Add menu_position and menu_icon params to register_post_type(). props ptahdunbar. fixes #12541
git-svn-id: http://svn.automattic.com/wordpress/trunk@14014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-06 04:32:08 +00:00 |
nacin
|
c059c511df
|
Use the API to remove comments when deleting a post. Cleans up comment meta in the process. fixes #12766, props briancolinger
git-svn-id: http://svn.automattic.com/wordpress/trunk@13997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-04 12:42:34 +00:00 |
nacin
|
791192d961
|
Add $force_delete to wp_delete_comment(). see #12766, see #11470.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-04 12:20:19 +00:00 |
nacin
|
2e054e2805
|
Add docs to add_post_type_support(). fixes #12644, props sillybean.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-04 04:14:17 +00:00 |
nacin
|
5f50e18c0b
|
Add post type parameter to get_page_by_title(). props mikeschinkel, fixes #12743.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-31 08:20:28 +00:00 |
nacin
|
3918b75cbe
|
Change @since 2.9 to @since 2.9.0.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-26 19:23:39 +00:00 |
nacin
|
a7feaed0e6
|
Change @since 3.0 to @since 3.0.0.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-26 19:13:36 +00:00 |
nacin
|
ba6f1cba07
|
Various bug fixes and improvements to menu management. props ptahdunbar, see #11817.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-22 19:56:16 +00:00 |
nacin
|
236a1f6ed4
|
Fix typo in inline docs for register_post_type(). fixes #12664 props sillybean.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-22 03:11:15 +00:00 |
dd32
|
b16190c496
|
Add hierarchical support for custom post_types in Rewrite Rules & Querying. See #12643
git-svn-id: http://svn.automattic.com/wordpress/trunk@13774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-20 02:23:52 +00:00 |
dd32
|
3fdd2bbdff
|
Allow for a custom Endpoint Mask to be passed to add_endpoint(). Allows for endpoints to be targeted to specific rewrite rules. Allow custom post_types to specify their Endpoint mask. Allows for post_type's rewrite rules to inherit Post endpoints, or alternatively, allows for add_endpoint() to target specific post_types. Fixes #12605
git-svn-id: http://svn.automattic.com/wordpress/trunk@13773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-20 02:05:32 +00:00 |
nacin
|
30d6eb32c6
|
Remove redundant isset() and empty() checks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-19 21:29:21 +00:00 |
ryan
|
e25a65b36a
|
Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@13733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-17 16:27:25 +00:00 |
nacin
|
a237b80e0b
|
Prevent page(\d+) slugs, and force a suffix. props miqrogroove. fixes #11917. see #8948
git-svn-id: http://svn.automattic.com/wordpress/trunk@13717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-16 18:36:26 +00:00 |
ryan
|
81d6e1e8b3
|
Allow enabling/disabling title and editor per post type. Introdoce remove_post_type_support(). Add enable/disable for author override. Props scribu. fixes #12590
git-svn-id: http://svn.automattic.com/wordpress/trunk@13710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-15 21:16:41 +00:00 |
ryan
|
63302cae08
|
Add custom hierarchical post type support to get_pages(). Props ptahdunbar. see #12600
git-svn-id: http://svn.automattic.com/wordpress/trunk@13695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-13 20:01:02 +00:00 |
ryan
|
2d2cb240df
|
Cache get_lastpostmodified() results. see #12575
git-svn-id: http://svn.automattic.com/wordpress/trunk@13653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-10 21:32:03 +00:00 |
ryan
|
086ad7d933
|
Improve user listing performance. Props miqrogroove. see #11914
git-svn-id: http://svn.automattic.com/wordpress/trunk@13576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-03 19:08:30 +00:00 |
nacin
|
bf207bc6e6
|
Reject numeric page slugs as they don't work, and force a suffix. Props miqrogroove see #11917
git-svn-id: http://svn.automattic.com/wordpress/trunk@13424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-26 04:53:30 +00:00 |
nacin
|
8bcc5969dc
|
Spelling and grammar fun. Fixes #11875 props cnorris23
git-svn-id: http://svn.automattic.com/wordpress/trunk@13382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-24 20:13:23 +00:00 |
markjaquith
|
09e8d27130
|
Whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@13316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-22 23:12:48 +00:00 |
ryan
|
1f169578f9
|
Don't require a default category for attachment types other than 'post'. Props jfarthing84. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-22 17:19:54 +00:00 |
dd32
|
0ec732b34a
|
Introduce assign_cap for Taxonomies, Defaults to 'edit_posts'. Allows for Authors/Contributors to tag/categorise their posts. See #12035
git-svn-id: http://svn.automattic.com/wordpress/trunk@13289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-22 08:36:32 +00:00 |
ryan
|
41bea20d51
|
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: http://svn.automattic.com/wordpress/trunk@13284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-21 18:24:41 +00:00 |
ryan
|
470eb8e6ce
|
Remove custom post states. Register taxonomy against menu_item post type. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-20 22:35:39 +00:00 |
wpmuguru
|
4d203a02c6
|
introduce custom menus, props jeffikus, See #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-20 21:57:43 +00:00 |
dd32
|
679250491d
|
Variable Cleanup, Unused variables, Typo'd variables, unused code blocks. Fixes #12299
git-svn-id: http://svn.automattic.com/wordpress/trunk@13242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-20 02:01:46 +00:00 |
dd32
|
80d9329e5e
|
Remove unused references to global $wpdb
git-svn-id: http://svn.automattic.com/wordpress/trunk@13240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-20 00:50:29 +00:00 |
dd32
|
35cdac687c
|
More Taxonomy cap checks. See #12035
git-svn-id: http://svn.automattic.com/wordpress/trunk@13217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-19 10:26:44 +00:00 |
nacin
|
84da5911aa
|
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: http://svn.automattic.com/wordpress/trunk@13209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-19 01:03:58 +00:00 |
ryan
|
8e10d3dce0
|
Don't use array_fill_keys() as it is PHP5 only. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-18 20:03:04 +00:00 |
ryan
|
71b350a317
|
Don't include internal post types in the total. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-18 20:01:10 +00:00 |
azaozz
|
e41f7c83ce
|
Clean attachment cache when reattaching, fixes #11647
git-svn-id: http://svn.automattic.com/wordpress/trunk@13192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-18 07:43:35 +00:00 |
ryan
|
6baf424bf5
|
Don't require a default category for post types other than 'post'. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-17 20:33:29 +00:00 |
ryan
|
f18f34ead8
|
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: http://svn.automattic.com/wordpress/trunk@13172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-16 21:13:44 +00:00 |
dd32
|
8136de990c
|
Introduce 'singular_label' for Post Types. Props scribu. See #12214
git-svn-id: http://svn.automattic.com/wordpress/trunk@13101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-13 08:56:38 +00:00 |
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 |
ryan
|
2892919a51
|
Fix var name typo
git-svn-id: http://svn.automattic.com/wordpress/trunk@12222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-19 17:55:23 +00:00 |
azaozz
|
fb0d8b44ee
|
Fix image meta after editing image, disable the Save button when no changes, fixes #11115
git-svn-id: http://svn.automattic.com/wordpress/trunk@12163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-11 11:24:01 +00:00 |
ryan
|
42d1c20cf6
|
Add force delete option.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-09 20:12:07 +00:00 |
westi
|
9655ccf4d8
|
Fix delete_post_meta_by_key() so that you can delete postmeta items by key again. Fixes #11100.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-08 11:05:49 +00:00 |
ryan
|
33a8043b97
|
Trash comments when trashing a post. see #11073
git-svn-id: http://svn.automattic.com/wordpress/trunk@12148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-05 21:03:09 +00:00 |
ryan
|
cf7279320b
|
Fix comment and postmeta delete queries when deleting a post. see #11073
git-svn-id: http://svn.automattic.com/wordpress/trunk@12141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-04 17:39:53 +00:00 |
azaozz
|
a55fd568d4
|
Trash undo for the uploader, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-10-30 07:09:55 +00:00 |
azaozz
|
ea955a4191
|
Remove pointless var assignment in get_pages(), props filosofo, fixes #11027
git-svn-id: http://svn.automattic.com/wordpress/trunk@12106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-10-25 20:54:13 +00:00 |
ryan
|
ce94d9ca5c
|
Improve sanitize_post() performance. Perform raw filtering only once. Add filter check to eliminate double filtering. Props johanee. fixes #10972 see #10801
git-svn-id: http://svn.automattic.com/wordpress/trunk@12062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-10-19 21:28:44 +00:00 |
markjaquith
|
529cc9244b
|
Delete post thumbnail relationships for deleted attachments. props scribu. see #10928
git-svn-id: http://svn.automattic.com/wordpress/trunk@12054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-10-18 13:58:44 +00:00 |
ryan
|
087e3d2376
|
Use array_intersect_assoc()
git-svn-id: http://svn.automattic.com/wordpress/trunk@12047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-10-17 16:20:52 +00:00 |
ryan
|
bf96c01551
|
Associate subdirector of whitespace trims trailing whites with pinking shears.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-10-15 20:26:21 +00:00 |
ryan
|
e3f1a830d3
|
Post type registration. Exclude post types added via plugin from searches by default. Introduce register_post_type() and get_post_types(). fixes #10885
git-svn-id: http://svn.automattic.com/wordpress/trunk@11998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-10-06 14:43:05 +00:00 |
markjaquith
|
4ead128521
|
esc_sql() for wp-includes
git-svn-id: http://svn.automattic.com/wordpress/trunk@11978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-27 05:33:56 +00:00 |
azaozz
|
ac1deea61c
|
Improve get_page_hierarchy, props hailin, fixes #10853
git-svn-id: http://svn.automattic.com/wordpress/trunk@11976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-26 22:45:52 +00:00 |
ryan
|
ead46cf470
|
Actions for postmeta updates. Props Demitrious Kelly. see #10750
git-svn-id: http://svn.automattic.com/wordpress/trunk@11968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-24 17:10:28 +00:00 |
azaozz
|
48932f96fe
|
Image Editor improvements, see #10528
git-svn-id: http://svn.automattic.com/wordpress/trunk@11965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-24 01:54:07 +00:00 |
westi
|
08374eeaf9
|
Remove temporary transition code from the trash_meta option to postmeta transition See #4529.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-17 21:06:41 +00:00 |
westi
|
c67e70dd91
|
First pass commentmeta implementation. See #2659 props scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-17 20:17:33 +00:00 |
ryan
|
8e3808bce2
|
Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-14 14:03:32 +00:00 |
azaozz
|
1c161c23c2
|
Image editing (first run). Includes code by stephanreiter, see #10528
git-svn-id: http://svn.automattic.com/wordpress/trunk@11911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-10 22:07:33 +00:00 |
ryan
|
7886fac111
|
More add/delete/update actions. Props Demitrious Kelly. see #10750
git-svn-id: http://svn.automattic.com/wordpress/trunk@11909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-10 14:43:45 +00:00 |
azaozz
|
40771b0bf4
|
Fix returning to the previous post_status when restoring posts from the trash, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-08-26 04:57:29 +00:00 |
westi
|
e8b550fd33
|
Move the storage of the metadata for trashed posts into the post meta table rather than storing it in an option. See #4529.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-08-25 22:05:15 +00:00 |
azaozz
|
be026258fa
|
"Trash" updates, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-08-19 08:35:24 +00:00 |
markjaquith
|
81e0fe00ee
|
Return an empty array instead of false for get_children() when no children found. props Denis-de-Bernardy. fixes #10053
git-svn-id: http://svn.automattic.com/wordpress/trunk@11756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-07-31 09:31:56 +00:00 |
azaozz
|
dc37cd4ce4
|
Trash status update, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-07-30 14:55:07 +00:00 |
azaozz
|
39e4f05a15
|
Trash status updates for posts, pages, comments and attachments, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-07-30 13:39:34 +00:00 |
ryan
|
f7e02a7c22
|
Pings to the people. Return to pinging for updates to published posts. see #6698
git-svn-id: http://svn.automattic.com/wordpress/trunk@11734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-07-21 23:09:47 +00:00 |
ryan
|
98e73f0c98
|
Process waiting pings a half hour after the last ping to avoid spamming ping sites. Don't make a ping wait if the last ping was more than half an hour ago. Props VoxPelli. fixes #6698 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-07-21 19:44:21 +00:00 |
ryan
|
4d0c574bed
|
Don't write to htaccess every time page is saved. Add hard/soft flush flag to flush_rules(). Make sure fopen is successful and silence errors. Props Viper007Bond. fixes #10181 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-06-16 02:44:28 +00:00 |
ryan
|
b664e6a452
|
wp_unique_post_slug() fixes. Props Denis-de-Bernardy. fixes #9726
git-svn-id: http://svn.automattic.com/wordpress/trunk@11467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-27 16:21:53 +00:00 |
azaozz
|
93895989c8
|
Revert [11202], see #9726
git-svn-id: http://svn.automattic.com/wordpress/trunk@11461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-26 08:58:10 +00:00 |
ryan
|
2df887bd07
|
Trim tailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-24 23:47:49 +00:00 |
ryan
|
05d4c954ac
|
Throttle generic pings to no more than once per hour. Props Denis-de-Bernardy. fixes #6698
git-svn-id: http://svn.automattic.com/wordpress/trunk@11410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-20 17:03:19 +00:00 |
ryan
|
c3a0c4d9e2
|
Use filtered post data. Props Denis-de-Bernardy, sirzooro. fixes #9084
git-svn-id: http://svn.automattic.com/wordpress/trunk@11396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-19 15:54:19 +00:00 |
ryan
|
603abd463e
|
Escape posts passed as objects. Props Denis-de-Bernardy. fixes #9727
git-svn-id: http://svn.automattic.com/wordpress/trunk@11344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-15 21:27:39 +00:00 |
ryan
|
1354d0660a
|
Don't localize dates where not appropriate. Props Denis-de-Bernardy, hakre. fixes #9730
git-svn-id: http://svn.automattic.com/wordpress/trunk@11323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-14 02:00:32 +00:00 |
ryan
|
f25182f1e5
|
Clear cache after deleting meta. Props Denis-de-Bernardy. fixes #9009
git-svn-id: http://svn.automattic.com/wordpress/trunk@11305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-12 17:10:05 +00:00 |
westi
|
c2efcbf94d
|
Clear future publishing hook on post deletion. Fixes #5364 props develish and Denis-de-Bernardy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-11 22:17:13 +00:00 |
westi
|
9f7ea00b75
|
Drop raw check in sanitize_post so int fields are always sanitized.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-11 22:10:45 +00:00 |
westi
|
d6b7dc3a8e
|
Update phpdoc for get_pages() and fix bugs in previous commit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-10 09:00:18 +00:00 |
westi
|
9e32b2810a
|
Add paging support to get_pages(). Fixes #4531 props DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11251 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-10 08:55:49 +00:00 |
markjaquith
|
d7b015645d
|
esc_js(). Shorter, follows new escaping naming convention.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-09 07:27:22 +00:00 |
westi
|
abe4bd3f46
|
Updates phpDoc for the post functions. See #8805 props CharlesClarkson.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-06 20:49:36 +00:00 |
markjaquith
|
6c2ffddf31
|
_a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-05 19:43:53 +00:00 |
ryan
|
e631b2d341
|
Use wp_unique_slug() in wp_insert_attachment(). Props Denis-de-Bernardy. fixes #9726
git-svn-id: http://svn.automattic.com/wordpress/trunk@11202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-05 16:39:36 +00:00 |
ryan
|
cc3d87bf2b
|
Always do post status transition actions. Props nbachiyski. fixes #8792
git-svn-id: http://svn.automattic.com/wordpress/trunk@11197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-05 05:53:55 +00:00 |
ryan
|
b622d954e3
|
Make post slugs unique across all hierarhical post types. Props Denis-de-Bernardy. fixes #6437
git-svn-id: http://svn.automattic.com/wordpress/trunk@11125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-04-29 19:04:27 +00:00 |
ryan
|
2d489767bb
|
s/attribute_escape/attr/. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-04-28 05:58:45 +00:00 |
ryan
|
430a8cb2cf
|
Limit get_lastpost* functions to post_type=post. Props Denis-de-Bernardy. fixes #9636
git-svn-id: http://svn.automattic.com/wordpress/trunk@11108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-04-28 05:42:30 +00:00 |
ryan
|
267f508f2f
|
Add wp_unique_post_slug(). Apply it when getting sample permalinks. Props nbachiyski. fixes #6595
git-svn-id: http://svn.automattic.com/wordpress/trunk@11071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-04-23 20:21:18 +00:00 |
ryan
|
e20fd21b39
|
Notice fixes. Props DD32. fixes #9502
git-svn-id: http://svn.automattic.com/wordpress/trunk@10904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-04-10 04:34:44 +00:00 |
ryan
|
7d37926ebc
|
Move deleted_post back. Props Denis-de-Bernardy . see #9422
git-svn-id: http://svn.automattic.com/wordpress/trunk@10858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-04-01 16:10:14 +00:00 |
ryan
|
f84839d5af
|
Fix delete statements to ensure data integrity when innodb and foreign keys are used. Props Denis-de-Bernardy. see #9422
git-svn-id: http://svn.automattic.com/wordpress/trunk@10851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-03-31 19:16:53 +00:00 |
ryan
|
e8b6fe7347
|
Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-03-18 02:43:45 +00:00 |
ryan
|
d43bd8177c
|
Use wpdb::insert() and update(). Props DD32. see #6836
git-svn-id: http://svn.automattic.com/wordpress/trunk@10730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-03-06 04:27:51 +00:00 |