wpmuguru
|
96153a63ae
|
add default comment status setting for pages, props messenlehner, see #12991
git-svn-id: http://svn.automattic.com/wordpress/trunk@14448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-04 19:31:24 +00:00 |
|
wpmuguru
|
1beb7406da
|
use reset vs offset 0, props scribu, see #13246
git-svn-id: http://svn.automattic.com/wordpress/trunk@14447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-04 18:41:38 +00:00 |
|
wpmuguru
|
94e529cee3
|
add export property to post types, see #10317
git-svn-id: http://svn.automattic.com/wordpress/trunk@14441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-04 16:23:25 +00:00 |
|
nacin
|
86c5154557
|
Clean up whitespace in status/PT/tax registration.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-04 06:13:28 +00:00 |
|
dd32
|
c843c7edf3
|
Remove accidental code. See #10122
git-svn-id: http://svn.automattic.com/wordpress/trunk@14431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-04 05:48:08 +00:00 |
|
wpmuguru
|
abed02b32d
|
use homeurl(), props PeteMall, see #9008
git-svn-id: http://svn.automattic.com/wordpress/trunk@14429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-04 00:28:29 +00:00 |
|
dd32
|
2bbdd19973
|
Handle $_POST containing an empty term array, Fixes saving of deselecting all hierarchical terms. Fixes #10122
git-svn-id: http://svn.automattic.com/wordpress/trunk@14426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-03 23:35:22 +00:00 |
|
ryan
|
7b7243d94a
|
Strip trailing whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-03 20:26:11 +00:00 |
|
nacin
|
aca357b327
|
Handle page hierarchy when showing the sample permalink. props duck_, fixes #12327.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-03 20:10:26 +00:00 |
|
nacin
|
7ef5f08d00
|
Update object term cache for custom post types. props scribu, fixes #12989.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-29 20:43:59 +00:00 |
|
nacin
|
d1a37c1f31
|
When posts/terms are deleted/trashed, update associated menu items. Deleted post = deleted menu item, trashed post = menu item becomes a draft. props filosofo, see #13174
git-svn-id: http://svn.automattic.com/wordpress/trunk@14295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-29 07:33:56 +00:00 |
|
nacin
|
1143a84f7f
|
Don't translate internal post stati. props nbachiyski, fixes #13024.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-27 22:36:46 +00:00 |
|
ryan
|
e879a9ab0e
|
New menu UI. Props filosofo. see #12713
git-svn-id: http://svn.automattic.com/wordpress/trunk@14248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-27 01:05:58 +00:00 |
|
ryan
|
418b0b7e69
|
Revert [14230]. Broke menu save. see #10122
git-svn-id: http://svn.automattic.com/wordpress/trunk@14247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-27 00:44:38 +00:00 |
|
dd32
|
e79df91561
|
Allow edit posts page to save a empty set of terms for a custom hierarchical taxonomy. Props scribu for initial patch. See #10122
git-svn-id: http://svn.automattic.com/wordpress/trunk@14230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-25 07:42:51 +00:00 |
|
dd32
|
356a50d1f0
|
Change custom post_type default Rewrite endpoint mask to EP_PERMALINK to ensure comment paging rules are added. Removes redundant/non-usable EP_NONE branch. Fixes #13086
git-svn-id: http://svn.automattic.com/wordpress/trunk@14219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-24 14:42:30 +00:00 |
|
nacin
|
e47e3cc31c
|
Introduce is_post_type(). Can check if a post type is registered, or also if a post (current or specified) is of a certain post type. fixes #12588, props sirzooro, blepoxp, rmccue
git-svn-id: http://svn.automattic.com/wordpress/trunk@14158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-18 17:40:50 +00:00 |
|
nacin
|
98b9ace627
|
Use is_post_type_hierarchical and is_taxonomy_hierarchical when we're fetching a post/tax object only to check the hierarchical flag. fixes #12950.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-18 15:54:45 +00:00 |
|
nacin
|
4ba94c72fc
|
Allow include/exclude args to be arrays in get_posts() and get_pages(). Utilizes wp_parse_id_list(). props scribu, fixes #11076.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-18 04:54:19 +00:00 |
|
dd32
|
eb74c91d9f
|
Do not exclude inherit post_status from query results, Fixes Attachment listing in Gallery tab as well as displaying galleries on the front end (get_children() & friends). See #13031
git-svn-id: http://svn.automattic.com/wordpress/trunk@14122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-17 10:30:46 +00:00 |
|
nacin
|
e6e03bd7df
|
Allow for removing all tags in quick edit. Check only if $tags_input isset (can be empty) before running wp_set_post_tags. props sivel, fixes #12318.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-16 21:39:10 +00:00 |
|
nacin
|
14916e2449
|
Introduce the wp_filter_object_list() helper, with an $operator arg. Fixes an intersection bug in get_post_types() and get_taxonomies(). Also switches $operator default from 'or' to 'and' for get_post_stati(). props scribu, fixes #12966.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-16 14:08:58 +00:00 |
|
ryan
|
5e923222fa
|
Assume unattached attachments are published. fixes #12999
git-svn-id: http://svn.automattic.com/wordpress/trunk@14087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-14 15:20:15 +00:00 |
|
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 |
|