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 |
Andrew Nacin
|
4a19ba4f0f
|
Fix typos. see #13358.
git-svn-id: https://develop.svn.wordpress.org/trunk@14587 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-12 20:57:47 +00:00 |
Andrew Nacin
|
323342deec
|
Move post type object capabilities to a 'cap' object. Allow them to be initialized via the 'capabilities' key (an array) when registering support for the post type. Caps are now referred to by the name of the cap as if it was a post, i.e. ->cap->edit_post. see #13358.
git-svn-id: https://develop.svn.wordpress.org/trunk@14585 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-12 20:45:18 +00:00 |
Andrew Nacin
|
4b6c5c65c6
|
Use correct cap check. see #13358.
git-svn-id: https://develop.svn.wordpress.org/trunk@14584 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-12 19:39:30 +00:00 |
Nikolay Bachiyski
|
ad3881470e
|
I18n for custom post type labels. Props demetris, dimadin. Fixes #12968
git-svn-id: https://develop.svn.wordpress.org/trunk@14571 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-11 19:52:50 +00:00 |
Ryan Boren
|
d5308265cd
|
Don't set/get tags or categories for post types that do not support them. fixes #13346
git-svn-id: https://develop.svn.wordpress.org/trunk@14561 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-11 16:28:00 +00:00 |
Ryan Boren
|
ee0b76261b
|
Allow turning off object_term and postmeta cache updates. Turn off object_term updates in the wp_get_nav_menu_items() get_posts() query to avoid useless taxonomy query.
git-svn-id: https://develop.svn.wordpress.org/trunk@14528 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-10 00:58:39 +00:00 |
Andrew Nacin
|
fd9b4855e6
|
Simplify is_post_type and is_post_type_hierarchical. Make them work like their taxonomy counterparts. see #12588.
git-svn-id: https://develop.svn.wordpress.org/trunk@14521 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-08 22:10:28 +00:00 |
Peter Westwood
|
5b4e507d7d
|
Restore the strtotime(). See #9285.
git-svn-id: https://develop.svn.wordpress.org/trunk@14507 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-07 20:57:23 +00:00 |
Andrew Nacin
|
ec9d233b8b
|
Fix to is_post_type. props scribu, fixes #12588.
git-svn-id: https://develop.svn.wordpress.org/trunk@14498 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-07 04:57:23 +00:00 |
Peter Westwood
|
dacd1c5623
|
Improve cross DST future post publishing behaviour to try and publish at the correct time if we have PHP5 timezone support available to help. Fixes #9285 props technosailor.
git-svn-id: https://develop.svn.wordpress.org/trunk@14487 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-06 20:40:29 +00:00 |
Andrew Nacin
|
cba25aba7e
|
Prevent ambiguous table aliases in wp_post_mime_type_where. props stephdau, jfarthing84, fixes #12750.
git-svn-id: https://develop.svn.wordpress.org/trunk@14478 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-06 18:03:05 +00:00 |
Ron Rennick
|
bdb89ac091
|
add default comment status setting for pages, props messenlehner, see #12991
git-svn-id: https://develop.svn.wordpress.org/trunk@14448 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-04 19:31:24 +00:00 |
Ron Rennick
|
3dea05d10c
|
use reset vs offset 0, props scribu, see #13246
git-svn-id: https://develop.svn.wordpress.org/trunk@14447 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-04 18:41:38 +00:00 |
Ron Rennick
|
5ac6893996
|
add export property to post types, see #10317
git-svn-id: https://develop.svn.wordpress.org/trunk@14441 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-04 16:23:25 +00:00 |
Andrew Nacin
|
23ce2f4151
|
Clean up whitespace in status/PT/tax registration.
git-svn-id: https://develop.svn.wordpress.org/trunk@14432 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-04 06:13:28 +00:00 |
Dion Hulse
|
a8feef50fc
|
Remove accidental code. See #10122
git-svn-id: https://develop.svn.wordpress.org/trunk@14431 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-04 05:48:08 +00:00 |
Ron Rennick
|
c2b89e7330
|
use homeurl(), props PeteMall, see #9008
git-svn-id: https://develop.svn.wordpress.org/trunk@14429 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-04 00:28:29 +00:00 |
Dion Hulse
|
52cdae0385
|
Handle $_POST containing an empty term array, Fixes saving of deselecting all hierarchical terms. Fixes #10122
git-svn-id: https://develop.svn.wordpress.org/trunk@14426 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-03 23:35:22 +00:00 |
Ryan Boren
|
d783952469
|
Strip trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@14404 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-03 20:26:11 +00:00 |
Andrew Nacin
|
2fa9643cf2
|
Handle page hierarchy when showing the sample permalink. props duck_, fixes #12327.
git-svn-id: https://develop.svn.wordpress.org/trunk@14399 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-03 20:10:26 +00:00 |
Andrew Nacin
|
fbac23f1eb
|
Update object term cache for custom post types. props scribu, fixes #12989.
git-svn-id: https://develop.svn.wordpress.org/trunk@14310 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-29 20:43:59 +00:00 |
Andrew Nacin
|
5dbf47294f
|
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: https://develop.svn.wordpress.org/trunk@14295 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-29 07:33:56 +00:00 |
Andrew Nacin
|
68db25c00c
|
Don't translate internal post stati. props nbachiyski, fixes #13024.
git-svn-id: https://develop.svn.wordpress.org/trunk@14262 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-27 22:36:46 +00:00 |
Ryan Boren
|
77be931ef4
|
New menu UI. Props filosofo. see #12713
git-svn-id: https://develop.svn.wordpress.org/trunk@14248 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-27 01:05:58 +00:00 |
Ryan Boren
|
cb27ac1a30
|
Revert [14230]. Broke menu save. see #10122
git-svn-id: https://develop.svn.wordpress.org/trunk@14247 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-27 00:44:38 +00:00 |
Dion Hulse
|
e857394694
|
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: https://develop.svn.wordpress.org/trunk@14230 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-25 07:42:51 +00:00 |
Dion Hulse
|
87981059db
|
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: https://develop.svn.wordpress.org/trunk@14219 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-24 14:42:30 +00:00 |
Andrew Nacin
|
d7a1de87f0
|
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: https://develop.svn.wordpress.org/trunk@14158 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-18 17:40:50 +00:00 |
Andrew Nacin
|
bf00891a05
|
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: https://develop.svn.wordpress.org/trunk@14155 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-18 15:54:45 +00:00 |
Andrew Nacin
|
8771fc4af7
|
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: https://develop.svn.wordpress.org/trunk@14133 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-18 04:54:19 +00:00 |
Dion Hulse
|
1e0f313b60
|
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: https://develop.svn.wordpress.org/trunk@14122 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-17 10:30:46 +00:00 |
Andrew Nacin
|
8bc3075b1f
|
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: https://develop.svn.wordpress.org/trunk@14117 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-16 21:39:10 +00:00 |
Andrew Nacin
|
028f262ccf
|
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: https://develop.svn.wordpress.org/trunk@14108 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-16 14:08:58 +00:00 |
Ryan Boren
|
b9bdd0bfb1
|
Assume unattached attachments are published. fixes #12999
git-svn-id: https://develop.svn.wordpress.org/trunk@14087 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-14 15:20:15 +00:00 |
Ryan Boren
|
2e60fb8e0e
|
Register 'inherit' as a post status. Check the parent post status when commenting on attachments.
git-svn-id: https://develop.svn.wordpress.org/trunk@14086 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-14 14:07:48 +00:00 |
Dion Hulse
|
223677bd30
|
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: https://develop.svn.wordpress.org/trunk@14071 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-11 11:10:54 +00:00 |
Dion Hulse
|
92e3e6d69f
|
Update Future Scheduled posts publish status to Published upon updating the date to a past date. Props bumbu. Fixes #12751
git-svn-id: https://develop.svn.wordpress.org/trunk@14062 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-10 14:00:30 +00:00 |
Dion Hulse
|
0197326e4c
|
Handle future-scheduled custom post_type's. Props waltervos. Fixes #12842
git-svn-id: https://develop.svn.wordpress.org/trunk@14056 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-10 12:17:19 +00:00 |
Andrew Nacin
|
f6e054f892
|
Quick edit taxonomy label. props scribu, keighl, fixes #12796
git-svn-id: https://develop.svn.wordpress.org/trunk@14054 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-10 11:54:33 +00:00 |
Dion Hulse
|
4d5709b11d
|
Introduce is_post_type_hierarchical(). Props ptahdunbar. See #12950
git-svn-id: https://develop.svn.wordpress.org/trunk@14053 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-10 11:42:45 +00:00 |
Andrew Nacin
|
c30f9e100c
|
Spell out that _builtin and _edit_link are internal use only. Include some redundancy and repetition for emphasis.
git-svn-id: https://develop.svn.wordpress.org/trunk@14034 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-08 01:04:22 +00:00 |
Mark Jaquith
|
697e807eb0
|
Add menu_position and menu_icon params to register_post_type(). props ptahdunbar. fixes #12541
git-svn-id: https://develop.svn.wordpress.org/trunk@14014 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-06 04:32:08 +00:00 |
Andrew Nacin
|
966b3a13e7
|
Use the API to remove comments when deleting a post. Cleans up comment meta in the process. fixes #12766, props briancolinger
git-svn-id: https://develop.svn.wordpress.org/trunk@13997 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-04 12:42:34 +00:00 |
Andrew Nacin
|
122c6db06a
|
Add $force_delete to wp_delete_comment(). see #12766, see #11470.
git-svn-id: https://develop.svn.wordpress.org/trunk@13995 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-04 12:20:19 +00:00 |
Andrew Nacin
|
23858b35c2
|
Add docs to add_post_type_support(). fixes #12644, props sillybean.
git-svn-id: https://develop.svn.wordpress.org/trunk@13985 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-04 04:14:17 +00:00 |
Andrew Nacin
|
96697adf96
|
Add post type parameter to get_page_by_title(). props mikeschinkel, fixes #12743.
git-svn-id: https://develop.svn.wordpress.org/trunk@13899 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-31 08:20:28 +00:00 |
Andrew Nacin
|
d43df7123a
|
Change @since 2.9 to @since 2.9.0.
git-svn-id: https://develop.svn.wordpress.org/trunk@13829 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-26 19:23:39 +00:00 |
Andrew Nacin
|
e34ca97ae0
|
Change @since 3.0 to @since 3.0.0.
git-svn-id: https://develop.svn.wordpress.org/trunk@13827 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-26 19:13:36 +00:00 |
Andrew Nacin
|
94ec7ba0eb
|
Various bug fixes and improvements to menu management. props ptahdunbar, see #11817.
git-svn-id: https://develop.svn.wordpress.org/trunk@13802 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-22 19:56:16 +00:00 |
Andrew Nacin
|
747fd91e0a
|
Fix typo in inline docs for register_post_type(). fixes #12664 props sillybean.
git-svn-id: https://develop.svn.wordpress.org/trunk@13793 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-22 03:11:15 +00:00 |
Dion Hulse
|
6be1550e75
|
Add hierarchical support for custom post_types in Rewrite Rules & Querying. See #12643
git-svn-id: https://develop.svn.wordpress.org/trunk@13774 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-20 02:23:52 +00:00 |
Dion Hulse
|
513dc9d474
|
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: https://develop.svn.wordpress.org/trunk@13773 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-20 02:05:32 +00:00 |
Andrew Nacin
|
dd306def81
|
Remove redundant isset() and empty() checks.
git-svn-id: https://develop.svn.wordpress.org/trunk@13770 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-19 21:29:21 +00:00 |
Ryan Boren
|
e61755c853
|
Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@13733 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-17 16:27:25 +00:00 |
Andrew Nacin
|
39d8739a81
|
Prevent page(\d+) slugs, and force a suffix. props miqrogroove. fixes #11917. see #8948
git-svn-id: https://develop.svn.wordpress.org/trunk@13717 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-16 18:36:26 +00:00 |
Ryan Boren
|
b8fb00fc92
|
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: https://develop.svn.wordpress.org/trunk@13710 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-15 21:16:41 +00:00 |
Ryan Boren
|
3cf21a9178
|
Add custom hierarchical post type support to get_pages(). Props ptahdunbar. see #12600
git-svn-id: https://develop.svn.wordpress.org/trunk@13695 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-13 20:01:02 +00:00 |
Ryan Boren
|
74ece7e880
|
Cache get_lastpostmodified() results. see #12575
git-svn-id: https://develop.svn.wordpress.org/trunk@13653 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-10 21:32:03 +00:00 |
Ryan Boren
|
1604a2e58b
|
Improve user listing performance. Props miqrogroove. see #11914
git-svn-id: https://develop.svn.wordpress.org/trunk@13576 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-03 19:08:30 +00:00 |
Andrew Nacin
|
e3b9237738
|
Reject numeric page slugs as they don't work, and force a suffix. Props miqrogroove see #11917
git-svn-id: https://develop.svn.wordpress.org/trunk@13424 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-26 04:53:30 +00:00 |
Andrew Nacin
|
c9dfb91763
|
Spelling and grammar fun. Fixes #11875 props cnorris23
git-svn-id: https://develop.svn.wordpress.org/trunk@13382 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-24 20:13:23 +00:00 |
Mark Jaquith
|
fc77a1d879
|
Whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@13316 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-22 23:12:48 +00:00 |
Ryan Boren
|
f07d93ef40
|
Don't require a default category for attachment types other than 'post'. Props jfarthing84. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13291 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-22 17:19:54 +00:00 |
Dion Hulse
|
c7be408d4a
|
Introduce assign_cap for Taxonomies, Defaults to 'edit_posts'. Allows for Authors/Contributors to tag/categorise their posts. See #12035
git-svn-id: https://develop.svn.wordpress.org/trunk@13289 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-22 08:36:32 +00:00 |
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 |
Ryan Boren
|
dcd3604d90
|
Use array calling style. Props Denis-de-Bernardy. see #6647
git-svn-id: https://develop.svn.wordpress.org/trunk@12515 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-12-23 15:31:02 +00:00 |
Ryan Boren
|
02ce80a284
|
Add hierarchical taxonomy handling to wp_set_post_terms(). Props prettyboymp. see #10122
git-svn-id: https://develop.svn.wordpress.org/trunk@12509 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-12-23 14:25:09 +00:00 |
Ryan Boren
|
83fb251dc3
|
Delete instead of trash when bulk deleting media. Props nacin. fixes #11455
git-svn-id: https://develop.svn.wordpress.org/trunk@12415 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-12-16 17:14:21 +00:00 |
Peter Westwood
|
4701dd33f6
|
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: https://develop.svn.wordpress.org/trunk@12332 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-12-07 18:01:02 +00:00 |
Ryan Boren
|
a17b3af236
|
Use correct var name. Props miqrogroove. fixes #10821
git-svn-id: https://develop.svn.wordpress.org/trunk@12307 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-12-01 19:41:41 +00:00 |
Ryan Boren
|
3f21c3ea5c
|
Delete custom taxonomy relationships when deleting a post or attachment. Props dd32. fixes #10821
git-svn-id: https://develop.svn.wordpress.org/trunk@12305 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-12-01 18:01:24 +00:00 |
Ryan Boren
|
7026dd4d72
|
Delete custom taxonomy relationships when deleting a post. Props miqrogroove. fixes #10821
git-svn-id: https://develop.svn.wordpress.org/trunk@12299 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-11-30 22:17:28 +00:00 |
Ryan Boren
|
6115dc47b2
|
Save parent temp ID for unattached attachments in postmeta. Props scribu. fixes #9471
git-svn-id: https://develop.svn.wordpress.org/trunk@12298 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-11-30 21:41:52 +00:00 |
Andrew Ozz
|
387ac8c9b5
|
Fix notices and phpdoc, props hakre, fixes #10758
git-svn-id: https://develop.svn.wordpress.org/trunk@12284 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-11-26 11:29:54 +00:00 |
Andrew Ozz
|
b3b788503e
|
Get the right number of pages then excluding a tree, fixes #11205
git-svn-id: https://develop.svn.wordpress.org/trunk@12279 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-11-26 05:22:09 +00:00 |
Ryan Boren
|
09dfc3b883
|
Don't require titles for attachments. Props caesarsgrunt. fixes #11052
git-svn-id: https://develop.svn.wordpress.org/trunk@12273 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-11-24 16:52:32 +00:00 |
Ryan Boren
|
ef3f414213
|
Check if defined to avoid having to suppress. Props Mittineague, Denis-de-Bernardy. fixes #10525
git-svn-id: https://develop.svn.wordpress.org/trunk@12265 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-11-23 18:47:22 +00:00 |
Andrew Ozz
|
82a2f2a426
|
Limit wp_get_recent_posts() to real/live posts, props josephscott, fixes #11123
git-svn-id: https://develop.svn.wordpress.org/trunk@12237 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-11-20 03:01:22 +00:00 |
Ryan Boren
|
c210190ec9
|
Fix var name typo
git-svn-id: https://develop.svn.wordpress.org/trunk@12222 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-11-19 17:55:23 +00:00 |
Andrew Ozz
|
52bff7f918
|
Fix image meta after editing image, disable the Save button when no changes, fixes #11115
git-svn-id: https://develop.svn.wordpress.org/trunk@12163 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-11-11 11:24:01 +00:00 |
Ryan Boren
|
9c9a650030
|
Add force delete option.
git-svn-id: https://develop.svn.wordpress.org/trunk@12158 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-11-09 20:12:07 +00:00 |
Peter Westwood
|
2cd5ea2a14
|
Fix delete_post_meta_by_key() so that you can delete postmeta items by key again. Fixes #11100.
git-svn-id: https://develop.svn.wordpress.org/trunk@12156 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-11-08 11:05:49 +00:00 |
Ryan Boren
|
bc7e8e284b
|
Trash comments when trashing a post. see #11073
git-svn-id: https://develop.svn.wordpress.org/trunk@12148 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-11-05 21:03:09 +00:00 |
Ryan Boren
|
a093c8c7c0
|
Fix comment and postmeta delete queries when deleting a post. see #11073
git-svn-id: https://develop.svn.wordpress.org/trunk@12141 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-11-04 17:39:53 +00:00 |
Andrew Ozz
|
54c1db8dd0
|
Trash undo for the uploader, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12130 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-10-30 07:09:55 +00:00 |
Andrew Ozz
|
3875ec788d
|
Remove pointless var assignment in get_pages(), props filosofo, fixes #11027
git-svn-id: https://develop.svn.wordpress.org/trunk@12106 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-10-25 20:54:13 +00:00 |
Ryan Boren
|
83ad1ab1a8
|
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: https://develop.svn.wordpress.org/trunk@12062 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-10-19 21:28:44 +00:00 |
Mark Jaquith
|
12eb2c5a71
|
Delete post thumbnail relationships for deleted attachments. props scribu. see #10928
git-svn-id: https://develop.svn.wordpress.org/trunk@12054 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-10-18 13:58:44 +00:00 |
Ryan Boren
|
2d890657ea
|
Use array_intersect_assoc()
git-svn-id: https://develop.svn.wordpress.org/trunk@12047 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-10-17 16:20:52 +00:00 |
Ryan Boren
|
a4789b3cc1
|
Associate subdirector of whitespace trims trailing whites with pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@12042 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-10-15 20:26:21 +00:00 |
Ryan Boren
|
de6f496e44
|
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: https://develop.svn.wordpress.org/trunk@11998 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-10-06 14:43:05 +00:00 |
Mark Jaquith
|
737378702c
|
esc_sql() for wp-includes
git-svn-id: https://develop.svn.wordpress.org/trunk@11978 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-09-27 05:33:56 +00:00 |
Andrew Ozz
|
1ef0620a33
|
Improve get_page_hierarchy, props hailin, fixes #10853
git-svn-id: https://develop.svn.wordpress.org/trunk@11976 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-09-26 22:45:52 +00:00 |
Ryan Boren
|
578e956287
|
Actions for postmeta updates. Props Demitrious Kelly. see #10750
git-svn-id: https://develop.svn.wordpress.org/trunk@11968 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-09-24 17:10:28 +00:00 |
Andrew Ozz
|
5e878a916d
|
Image Editor improvements, see #10528
git-svn-id: https://develop.svn.wordpress.org/trunk@11965 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-09-24 01:54:07 +00:00 |
Peter Westwood
|
a4d00eca9a
|
Remove temporary transition code from the trash_meta option to postmeta transition See #4529.
git-svn-id: https://develop.svn.wordpress.org/trunk@11947 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-09-17 21:06:41 +00:00 |
Peter Westwood
|
482e701639
|
First pass commentmeta implementation. See #2659 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@11943 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-09-17 20:17:33 +00:00 |
Ryan Boren
|
43c201d458
|
Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11930 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-09-14 14:03:32 +00:00 |
Andrew Ozz
|
4f22e99cf5
|
Image editing (first run). Includes code by stephanreiter, see #10528
git-svn-id: https://develop.svn.wordpress.org/trunk@11911 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-09-10 22:07:33 +00:00 |
Ryan Boren
|
1649248a01
|
More add/delete/update actions. Props Demitrious Kelly. see #10750
git-svn-id: https://develop.svn.wordpress.org/trunk@11909 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-09-10 14:43:45 +00:00 |
Andrew Ozz
|
69cac32a8f
|
Fix returning to the previous post_status when restoring posts from the trash, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11880 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-08-26 04:57:29 +00:00 |
Peter Westwood
|
80e4f72f72
|
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: https://develop.svn.wordpress.org/trunk@11878 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-08-25 22:05:15 +00:00 |
Andrew Ozz
|
782977afbf
|
"Trash" updates, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11841 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-08-19 08:35:24 +00:00 |
Mark Jaquith
|
5d9e24caa3
|
Return an empty array instead of false for get_children() when no children found. props Denis-de-Bernardy. fixes #10053
git-svn-id: https://develop.svn.wordpress.org/trunk@11756 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-07-31 09:31:56 +00:00 |
Andrew Ozz
|
16241293d3
|
Trash status update, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11750 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-07-30 14:55:07 +00:00 |
Andrew Ozz
|
d9f8c67f2f
|
Trash status updates for posts, pages, comments and attachments, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11749 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-07-30 13:39:34 +00:00 |
Ryan Boren
|
60936ba553
|
Pings to the people. Return to pinging for updates to published posts. see #6698
git-svn-id: https://develop.svn.wordpress.org/trunk@11734 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-07-21 23:09:47 +00:00 |
Ryan Boren
|
0f8ce0e0df
|
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: https://develop.svn.wordpress.org/trunk@11732 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-07-21 19:44:21 +00:00 |
Ryan Boren
|
2aa1252ebe
|
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: https://develop.svn.wordpress.org/trunk@11578 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-06-16 02:44:28 +00:00 |
Ryan Boren
|
2abee7d3b6
|
wp_unique_post_slug() fixes. Props Denis-de-Bernardy. fixes #9726
git-svn-id: https://develop.svn.wordpress.org/trunk@11467 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-27 16:21:53 +00:00 |
Andrew Ozz
|
dcc7d255e7
|
Revert [11202], see #9726
git-svn-id: https://develop.svn.wordpress.org/trunk@11461 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-26 08:58:10 +00:00 |
Ryan Boren
|
e12c642c54
|
Trim tailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11450 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-24 23:47:49 +00:00 |
Ryan Boren
|
bc3941424e
|
Throttle generic pings to no more than once per hour. Props Denis-de-Bernardy. fixes #6698
git-svn-id: https://develop.svn.wordpress.org/trunk@11410 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-20 17:03:19 +00:00 |
Ryan Boren
|
326affd4ad
|
Use filtered post data. Props Denis-de-Bernardy, sirzooro. fixes #9084
git-svn-id: https://develop.svn.wordpress.org/trunk@11396 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-19 15:54:19 +00:00 |
Ryan Boren
|
e80637d860
|
Escape posts passed as objects. Props Denis-de-Bernardy. fixes #9727
git-svn-id: https://develop.svn.wordpress.org/trunk@11344 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-15 21:27:39 +00:00 |
Ryan Boren
|
c4f78ad63a
|
Don't localize dates where not appropriate. Props Denis-de-Bernardy, hakre. fixes #9730
git-svn-id: https://develop.svn.wordpress.org/trunk@11323 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-14 02:00:32 +00:00 |
Ryan Boren
|
e2e4c53a93
|
Clear cache after deleting meta. Props Denis-de-Bernardy. fixes #9009
git-svn-id: https://develop.svn.wordpress.org/trunk@11305 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-12 17:10:05 +00:00 |
Peter Westwood
|
b52feaaa0f
|
Clear future publishing hook on post deletion. Fixes #5364 props develish and Denis-de-Bernardy.
git-svn-id: https://develop.svn.wordpress.org/trunk@11284 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-11 22:17:13 +00:00 |
Peter Westwood
|
3abfce8c28
|
Drop raw check in sanitize_post so int fields are always sanitized.
git-svn-id: https://develop.svn.wordpress.org/trunk@11282 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-11 22:10:45 +00:00 |
Peter Westwood
|
2e5a6f847b
|
Update phpdoc for get_pages() and fix bugs in previous commit.
git-svn-id: https://develop.svn.wordpress.org/trunk@11252 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-10 09:00:18 +00:00 |
Peter Westwood
|
4f8ebb957c
|
Add paging support to get_pages(). Fixes #4531 props DD32.
git-svn-id: https://develop.svn.wordpress.org/trunk@11251 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-10 08:55:49 +00:00 |
Mark Jaquith
|
8d6cb67233
|
esc_js(). Shorter, follows new escaping naming convention.
git-svn-id: https://develop.svn.wordpress.org/trunk@11245 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-09 07:27:22 +00:00 |
Peter Westwood
|
e7cb860785
|
Updates phpDoc for the post functions. See #8805 props CharlesClarkson.
git-svn-id: https://develop.svn.wordpress.org/trunk@11222 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-06 20:49:36 +00:00 |
Mark Jaquith
|
c638e8d8de
|
_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: https://develop.svn.wordpress.org/trunk@11204 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-05 19:43:53 +00:00 |
Ryan Boren
|
0423851d49
|
Use wp_unique_slug() in wp_insert_attachment(). Props Denis-de-Bernardy. fixes #9726
git-svn-id: https://develop.svn.wordpress.org/trunk@11202 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-05 16:39:36 +00:00 |
Ryan Boren
|
b877415f2a
|
Always do post status transition actions. Props nbachiyski. fixes #8792
git-svn-id: https://develop.svn.wordpress.org/trunk@11197 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-05 05:53:55 +00:00 |
Ryan Boren
|
ca5807df86
|
Make post slugs unique across all hierarhical post types. Props Denis-de-Bernardy. fixes #6437
git-svn-id: https://develop.svn.wordpress.org/trunk@11125 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-29 19:04:27 +00:00 |
Ryan Boren
|
fe7c34b6fd
|
s/attribute_escape/attr/. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11109 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-28 05:58:45 +00:00 |
Ryan Boren
|
6c066a90d8
|
Limit get_lastpost* functions to post_type=post. Props Denis-de-Bernardy. fixes #9636
git-svn-id: https://develop.svn.wordpress.org/trunk@11108 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-28 05:42:30 +00:00 |
Ryan Boren
|
5e6528cd14
|
Add wp_unique_post_slug(). Apply it when getting sample permalinks. Props nbachiyski. fixes #6595
git-svn-id: https://develop.svn.wordpress.org/trunk@11071 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-23 20:21:18 +00:00 |
Ryan Boren
|
46490b01a5
|
Notice fixes. Props DD32. fixes #9502
git-svn-id: https://develop.svn.wordpress.org/trunk@10904 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-10 04:34:44 +00:00 |
Ryan Boren
|
36859acb5c
|
Move deleted_post back. Props Denis-de-Bernardy . see #9422
git-svn-id: https://develop.svn.wordpress.org/trunk@10858 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-01 16:10:14 +00:00 |
Ryan Boren
|
c3d0a6fe71
|
Fix delete statements to ensure data integrity when innodb and foreign keys are used. Props Denis-de-Bernardy. see #9422
git-svn-id: https://develop.svn.wordpress.org/trunk@10851 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-03-31 19:16:53 +00:00 |
Ryan Boren
|
8d00b5d37d
|
Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10810 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-03-18 02:43:45 +00:00 |
Ryan Boren
|
1fb1534e8f
|
Use wpdb::insert() and update(). Props DD32. see #6836
git-svn-id: https://develop.svn.wordpress.org/trunk@10730 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-03-06 04:27:51 +00:00 |
Ryan Boren
|
f6001bffe8
|
Add some default field types. see #7171
git-svn-id: https://develop.svn.wordpress.org/trunk@10725 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-03-06 00:50:19 +00:00 |
Ryan Boren
|
5851028d31
|
Add typecasting to wpdb::insert() and update(). Props filosofo. fixes #7171
git-svn-id: https://develop.svn.wordpress.org/trunk@10724 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-03-05 23:47:02 +00:00 |
Ryan Boren
|
0de39db9fd
|
Check for empty meta keys. Props Denis-de-Bernardy, markedwards. fixes #7953
git-svn-id: https://develop.svn.wordpress.org/trunk@10711 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-03-04 22:59:16 +00:00 |
Peter Westwood
|
71502d6382
|
Syncronise the queries used for attachment slug uniqueness checking. Fixes #4396 props futurix and Nazgul.
git-svn-id: https://develop.svn.wordpress.org/trunk@10693 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-03-04 08:03:02 +00:00 |
Ryan Boren
|
2e0c713ea8
|
Escape before passing to insert/update post. Props hailin. fixes #9199 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10620 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-02-22 00:35:42 +00:00 |
Ryan Boren
|
7bf2f59881
|
Allow + in mime type regex. Props Sam_a. fixes #8991
git-svn-id: https://develop.svn.wordpress.org/trunk@10502 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-02-04 20:27:30 +00:00 |
Ryan Boren
|
0af7659d69
|
Move delete_attachment action up. Props filosofo. fixes #8909
git-svn-id: https://develop.svn.wordpress.org/trunk@10400 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-01-21 21:19:22 +00:00 |
Andrew Ozz
|
05e015dbf7
|
"Unstick" posts when deleting, fixes #8860
git-svn-id: https://develop.svn.wordpress.org/trunk@10363 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-01-15 00:47:56 +00:00 |
Andrew Ozz
|
7a9c742af6
|
Fix uploaded media relative links when site has been moved, props DD32, fixes #8705 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10254 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-12-26 02:59:04 +00:00 |
Ryan Boren
|
3a2530bfc5
|
Make sure get_pages cache is an array
git-svn-id: https://develop.svn.wordpress.org/trunk@10226 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-12-18 22:26:57 +00:00 |
Ryan Boren
|
3c7eca56ab
|
Allow muliple tag-like taxonomies in the post editor. see #6387
git-svn-id: https://develop.svn.wordpress.org/trunk@10222 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-12-18 19:12:26 +00:00 |
Ryan Boren
|
97a6c04681
|
Don't cache filtered post objects. Set filter when getting sample permalink. Props brianwhite. fixes #8526 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10213 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-12-16 23:50:39 +00:00 |
Ryan Boren
|
baaaa352ba
|
Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10150 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-12-09 18:03:31 +00:00 |
Ryan Boren
|
a31ad119f4
|
Get all children. Props filosofo. fixes #8527
git-svn-id: https://develop.svn.wordpress.org/trunk@10130 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-12-08 21:00:25 +00:00 |
Ryan Boren
|
cbef7dc6c4
|
Check for circular post parent dependencies. Exclude the current post and its children from the parent dropdown.
git-svn-id: https://develop.svn.wordpress.org/trunk@10129 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-12-08 19:29:42 +00:00 |
Mark Jaquith
|
9791e0dd60
|
Make Password protected and private mutually exclusive when using Quick Edit.
git-svn-id: https://develop.svn.wordpress.org/trunk@10088 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-12-06 11:10:24 +00:00 |
Ryan Boren
|
b6a0df1678
|
post_parent dropdown fixes. get_pages() cache fix to eliminate duplicate queries.
git-svn-id: https://develop.svn.wordpress.org/trunk@10070 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-12-05 19:19:24 +00:00 |
Ryan Boren
|
03f559cd4f
|
Don't set post_parent default. Props hailin. fixes #8348
git-svn-id: https://develop.svn.wordpress.org/trunk@9906 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-26 18:56:46 +00:00 |
Peter Westwood
|
9b46a07ac6
|
Ensure that thumbnails are removed when the media file is deleted. Fixes #8309 props jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@9846 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-22 23:01:28 +00:00 |
Ryan Boren
|
40d7f7bd18
|
Remove trim. fixes #8252
git-svn-id: https://develop.svn.wordpress.org/trunk@9803 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-20 03:06:21 +00:00 |
Andrew Ozz
|
8a364ef5ef
|
Fix [9714], it breaks get_page()
git-svn-id: https://develop.svn.wordpress.org/trunk@9731 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-17 15:47:41 +00:00 |
Ryan Boren
|
fab4e5a68e
|
Unused var fixes. Props DD32. see #8220
git-svn-id: https://develop.svn.wordpress.org/trunk@9716 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-15 18:10:35 +00:00 |
Ryan Boren
|
3a7e85c5ec
|
Notice fixes. Props DD32. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@9714 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-15 17:56:44 +00:00 |
Ryan Boren
|
2dc15c5a81
|
Notice fixes from DD32. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@9699 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-14 23:01:16 +00:00 |
Ryan Boren
|
83e002f20b
|
Notice fixes from DD32. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@9596 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-10 18:54:18 +00:00 |
Andrew Ozz
|
7d45802347
|
Preview fixes: different method of showing previews for published posts, now uses the proper templates. Fixes #8052
git-svn-id: https://develop.svn.wordpress.org/trunk@9509 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-04 13:00:12 +00:00 |
Andrew Ozz
|
acf73adf61
|
Do cap check when shoving a preview
git-svn-id: https://develop.svn.wordpress.org/trunk@9452 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-31 23:14:37 +00:00 |
Andrew Ozz
|
78b8de31b6
|
Preview for both drafts and published posts/pages
git-svn-id: https://develop.svn.wordpress.org/trunk@9451 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-31 22:47:07 +00:00 |
Ryan Boren
|
f3ea00820e
|
Preserve attachment IDs during import. Props mtdewvirus. fixes #7972
git-svn-id: https://develop.svn.wordpress.org/trunk@9357 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-26 17:05:56 +00:00 |
Peter Westwood
|
11ef4262c2
|
Better variable naming. See #7358.
git-svn-id: https://develop.svn.wordpress.org/trunk@9349 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-25 22:56:02 +00:00 |
Ryan Boren
|
9442333d05
|
Use prepare() in wp_insert_attachment(). Props dwc. fixes #7933
git-svn-id: https://develop.svn.wordpress.org/trunk@9259 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-20 21:55:37 +00:00 |
Mark Jaquith
|
fd96378b7f
|
Update update_post_meta() and delete_post_meta() to work with post revisions. Props misterbisson. fixes #7925
git-svn-id: https://develop.svn.wordpress.org/trunk@9252 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-20 05:47:13 +00:00 |
Ryan Boren
|
a612119693
|
Recognize windows absolute paths. see #7904
git-svn-id: https://develop.svn.wordpress.org/trunk@9242 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-18 19:48:49 +00:00 |
Ryan Boren
|
9fdf3da4a4
|
Must pass var by ref. Props x11tech. fixes #7781
git-svn-id: https://develop.svn.wordpress.org/trunk@9239 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-17 22:55:30 +00:00 |
Peter Westwood
|
3ec2c1ea4e
|
Notice fixes. See #7509 props DD32.
git-svn-id: https://develop.svn.wordpress.org/trunk@9177 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-14 21:08:28 +00:00 |
Ryan Boren
|
6217916022
|
Add parent arg to get_pages(). Props DD32. fixes #7247
git-svn-id: https://develop.svn.wordpress.org/trunk@9145 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-14 00:15:59 +00:00 |
Andrew Ozz
|
e769b6fabd
|
Fix stripslashes for post metadata, phpDoc updates for media.php, props jacobsantos, fixes #7871
git-svn-id: https://develop.svn.wordpress.org/trunk@9129 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-13 02:48:45 +00:00 |
Mark Jaquith
|
46740aae3a
|
Prevent future posts from publishing early. fixes #7441
git-svn-id: https://develop.svn.wordpress.org/trunk@9123 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-11 05:46:20 +00:00 |
Andrew Ozz
|
f121f6c983
|
Fix escaping of post meta, props DD32, fixes #7768
git-svn-id: https://develop.svn.wordpress.org/trunk@9116 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-10 09:40:30 +00:00 |
Ryan Boren
|
ec205359bc
|
Suspend cache invalidation while importing posts with WP importer
git-svn-id: https://develop.svn.wordpress.org/trunk@9106 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-09 00:50:52 +00:00 |
Ryan Boren
|
b55a27e419
|
Don't flush rules for every post imported. see #7193
git-svn-id: https://develop.svn.wordpress.org/trunk@9101 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-08 22:16:35 +00:00 |
Ryan Boren
|
d2fa84c740
|
Try to preserve post IDs during import
git-svn-id: https://develop.svn.wordpress.org/trunk@9100 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-08 21:42:52 +00:00 |
Andrew Ozz
|
603dbcdf4f
|
Quick Edit for Tags, Categories and Link Categories, improvements to handling errors in quick and bulk edit.
git-svn-id: https://develop.svn.wordpress.org/trunk@9083 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-05 04:43:52 +00:00 |
Mark Jaquith
|
f56dd1dff9
|
Do not allow contributors to set the post slug for pending review posts. fixes #7805
git-svn-id: https://develop.svn.wordpress.org/trunk@9055 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-02 04:10:54 +00:00 |
Ryan Boren
|
f4eae0c3eb
|
Don't try to assign non-ref return value by ref. Props Sam_a. fixes #7783
git-svn-id: https://develop.svn.wordpress.org/trunk@8966 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-09-24 05:28:05 +00:00 |
Ryan Boren
|
160f106ca8
|
Set post_date for drafts. see #5698
git-svn-id: https://develop.svn.wordpress.org/trunk@8920 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-09-17 20:19:29 +00:00 |
Andrew Ozz
|
313dc5022a
|
Remove 'large' image size when deleting attachments, props ShaneF, fixes #7759
git-svn-id: https://develop.svn.wordpress.org/trunk@8918 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-09-17 19:19:15 +00:00 |
Peter Westwood
|
1c8fde4885
|
maybe_unserialize the array members not the array when multple post meta items are returned. Fixes #7623 for trunk props andy.
git-svn-id: https://develop.svn.wordpress.org/trunk@8824 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-09-05 22:04:04 +00:00 |
Ryan Boren
|
9045798e95
|
Make attachment file path relative to the upload dir. Don't use GUID to find attachement URL. Props DD32. see #7622
git-svn-id: https://develop.svn.wordpress.org/trunk@8796 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-09-02 22:55:39 +00:00 |
Ryan Boren
|
cefe351dac
|
Suppress query filters when called from get_posts(). see #7326 #7547
git-svn-id: https://develop.svn.wordpress.org/trunk@8766 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-28 22:30:27 +00:00 |
Ryan Boren
|
bda582ab0d
|
Notice fixes. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@8732 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-25 21:50:11 +00:00 |
Ryan Boren
|
fc22c0304b
|
Rename wp_insert_post filter to wp_insert_post_data to avoid collision. see #5196
git-svn-id: https://develop.svn.wordpress.org/trunk@8702 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-21 18:31:35 +00:00 |
Ryan Boren
|
ce083ccfaf
|
Typo fix from mdawaffe. fixes #7551 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8675 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-19 22:35:28 +00:00 |
Ryan Boren
|
c26e7cff13
|
post.php phpdoc. Props santosj. fixes #7538
git-svn-id: https://develop.svn.wordpress.org/trunk@8669 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-19 16:38:06 +00:00 |
Ryan Boren
|
b8c683da8d
|
Notice fix. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@8647 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-14 20:36:09 +00:00 |
Ryan Boren
|
197fc1d118
|
Notice fixes. Props DD32. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@8646 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-14 17:00:37 +00:00 |
Ryan Boren
|
2b8caf9a1f
|
Add sticky_class() template tag. see #7457
git-svn-id: https://develop.svn.wordpress.org/trunk@8637 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-13 18:21:52 +00:00 |
Ryan Boren
|
c53da5a523
|
Make sure timestamps are not 0000 when publishing. Props techcookies. fixes #6527
git-svn-id: https://develop.svn.wordpress.org/trunk@8636 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-13 16:01:01 +00:00 |
Peter Westwood
|
a8a591310f
|
Give plugins the ability to do extra processing on a post before it is inserted/updated. See #5196.
git-svn-id: https://develop.svn.wordpress.org/trunk@8635 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-13 05:53:48 +00:00 |
Ryan Boren
|
2272a1a950
|
Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@8600 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-09 05:36:14 +00:00 |
Mark Jaquith
|
3cab99fbd2
|
Cast to array when using foreach(). Props santosj (and thanks for your perseverance!). fixes #2784
git-svn-id: https://develop.svn.wordpress.org/trunk@8572 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-06 20:31:54 +00:00 |
Ryan Boren
|
742aa7d933
|
Sticky Posts, firct cut. see #7457
git-svn-id: https://develop.svn.wordpress.org/trunk@8546 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-05 05:48:21 +00:00 |
Andrew Ozz
|
0b3c278d63
|
Make sure meta is added to the post, not a revision.
git-svn-id: https://develop.svn.wordpress.org/trunk@8513 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-01 03:50:20 +00:00 |
Ryan Boren
|
6c433a5dce
|
Store current user rather than original post author when saving revisions. Props mdawaffe. fixes #7317 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8480 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-07-28 23:58:24 +00:00 |
Ryan Boren
|
8aaca8d367
|
No need to order results. Props dbuser123. see #7415
git-svn-id: https://develop.svn.wordpress.org/trunk@8469 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-07-27 16:58:35 +00:00 |
Ryan Boren
|
ecf41b5b88
|
Make sure attachment meta data is an array. Props nbachiyski. fixes #7252
git-svn-id: https://develop.svn.wordpress.org/trunk@8261 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-07-06 16:40:15 +00:00 |
Ryan Boren
|
80c836b58a
|
phpdoc updates for post.php from jacobsantos. fixes #3982
git-svn-id: https://develop.svn.wordpress.org/trunk@8203 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-06-27 15:32:57 +00:00 |
Ryan Boren
|
64b5e801d0
|
Don't get post ancestors if post not found. Props Sam_a. fixes #6953
git-svn-id: https://develop.svn.wordpress.org/trunk@8173 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-06-23 21:50:19 +00:00 |
Ryan Boren
|
8ef3dea136
|
Don't decode slug in get_page_uri(). Props nbachiyski. fixes #6723
git-svn-id: https://develop.svn.wordpress.org/trunk@8096 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-06-16 18:40:47 +00:00 |
Peter Westwood
|
96511b2ca2
|
PHPdoc updates for wp-includes/post.php. See #7038 props jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@8081 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-06-14 16:31:08 +00:00 |
Ryan Boren
|
5d786d179c
|
More use of site_url(), admin_url(), and site_url(). Force login and admin links to be https if FORCE_SSL_LOGIN. see #7001
git-svn-id: https://develop.svn.wordpress.org/trunk@8058 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-06-06 07:39:11 +00:00 |
Ryan Boren
|
e1faf662e8
|
get_post_ancestors() fixes. fixes #7029 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8019 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-05-30 20:31:45 +00:00 |
Ryan Boren
|
163aa65807
|
Post revisions API cleanup from mdawaffe. see #6775
git-svn-id: https://develop.svn.wordpress.org/trunk@8011 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-05-29 22:21:36 +00:00 |
Ryan Boren
|
1d2d2c3835
|
Fix serialization when adding meta via update_post_meta(). Props azaozz. fixes #7018
git-svn-id: https://develop.svn.wordpress.org/trunk@7995 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-05-27 11:33:11 +00:00 |
Ryan Boren
|
a8a396d656
|
Allow defining the number of revisions to save. Props mdawaffe. see #6775
git-svn-id: https://develop.svn.wordpress.org/trunk@7987 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-05-23 15:27:56 +00:00 |
Ryan Boren
|
66b9c9ea6d
|
Remove unnecessary checks for the existence of post meta data. Props filosofo. fixes #7018
git-svn-id: https://develop.svn.wordpress.org/trunk@7985 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-05-22 16:33:06 +00:00 |
Ryan Boren
|
36f755bf12
|
Add non-existent values instead of returning g false in update_post_meta(). Props filosofo. fixes #7018
git-svn-id: https://develop.svn.wordpress.org/trunk@7978 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-05-22 00:01:00 +00:00 |
Ryan Boren
|
ad0f22e9d4
|
default is a valid page template. see #6098
git-svn-id: https://develop.svn.wordpress.org/trunk@7925 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-05-13 21:03:10 +00:00 |
Ryan Boren
|
1c4f5de9a1
|
Revisioning for pages from mdawaffe. see #6775
git-svn-id: https://develop.svn.wordpress.org/trunk@7913 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-05-09 15:59:17 +00:00 |
Ryan Boren
|
a1be16cf86
|
Move autosave to post revisions. Props mdawaffe. see #6775
git-svn-id: https://develop.svn.wordpress.org/trunk@7907 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-05-08 17:25:07 +00:00 |
Ryan Boren
|
2af2724cef
|
wp_insert_post() -- Validate page template, check return of insert and update queries, add option to return WP_Error. fixes #6227 see #6098
git-svn-id: https://develop.svn.wordpress.org/trunk@7900 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-05-05 23:19:27 +00:00 |
Ryan Boren
|
0a7374085b
|
Use array calling style. Props DD32. see #6647
git-svn-id: https://develop.svn.wordpress.org/trunk@7894 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-05-05 16:03:27 +00:00 |
Ryan Boren
|
468ac2a54e
|
get_posts fixes from DD32 and filosofo. see #6772
git-svn-id: https://develop.svn.wordpress.org/trunk@7892 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-05-05 15:46:32 +00:00 |
Ryan Boren
|
2341bcc764
|
Use WP_query in get_posts(). Props filosofo. fixes #6772
git-svn-id: https://develop.svn.wordpress.org/trunk@7880 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-05-03 20:08:32 +00:00 |
Ryan Boren
|
81c20ec884
|
Fix post name check prepare. Props westi. see #6894
git-svn-id: https://develop.svn.wordpress.org/trunk@7876 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-05-02 17:28:19 +00:00 |
Mark Jaquith
|
b7699db39e
|
Fix typo in wp_save_revision(). props Andy. see #6775
git-svn-id: https://develop.svn.wordpress.org/trunk@7817 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-04-25 04:41:41 +00:00 |
Ryan Boren
|
06200c33f4
|
Don't include perm as part of cache key if perm is not used in the query.
git-svn-id: https://develop.svn.wordpress.org/trunk@7752 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-04-20 21:26:10 +00:00 |
Ryan Boren
|
c72fd439c6
|
Post revisions from mdawaffe. see #6775
git-svn-id: https://develop.svn.wordpress.org/trunk@7747 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-04-18 23:38:21 +00:00 |
Ryan Boren
|
bfcd9e8fc4
|
Fix meta_key and meta_value queries in get_pages(). Props filosofo. fixes #6773 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7746 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-04-18 22:29:43 +00:00 |
Ryan Boren
|
a40491ce38
|
Move cache cleaning of children to clean_post_cache(). see #6702
git-svn-id: https://develop.svn.wordpress.org/trunk@7743 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-04-18 20:23:50 +00:00 |
Ryan Boren
|
b5a1a0e113
|
array_shift() error fixes from DD32. fixes #6499 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7713 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-04-16 23:09:51 +00:00 |
Ryan Boren
|
860c60d05b
|
Add post ancestors to the cache for the post object. see #6702 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7694 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-04-16 17:23:17 +00:00 |
Ryan Boren
|
7e5969a1f9
|
Make get_posts args optional. Props karlkatzke and Otto42. fixes #6608 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7647 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-04-14 16:23:29 +00:00 |
Ryan Boren
|
fdc05b24f6
|
Prepare DB queries in more places. Props filosofo. see #6644
git-svn-id: https://develop.svn.wordpress.org/trunk@7645 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-04-14 16:13:25 +00:00 |
Ryan Boren
|
a9d89696f3
|
Use wp_count_posts() to determine availabel statuses for get_available_post_statuses(). fixes #6654 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7638 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-04-09 20:09:45 +00:00 |
Matt Mullenweg
|
e1ae860b7d
|
The child should not have to pay for the sins of his father. Caching for children needs to be cleared when parent is edited; if we check for empty and not isset, it never gets better for empty results.
git-svn-id: https://develop.svn.wordpress.org/trunk@7601 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-04-05 05:54:08 +00:00 |
Mark Jaquith
|
ba4dab3cd6
|
Fix gallery shortcode orderby param for all SQL setups. Sanitize orderby. fixes #6476 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7592 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-04-03 03:05:49 +00:00 |
Ryan Boren
|
f6716ad1e3
|
Add default for post_excerpt. see #6355
git-svn-id: https://develop.svn.wordpress.org/trunk@7482 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-03-23 00:58:47 +00:00 |
Ryan Boren
|
00c6484a3b
|
Remove intermediate images when deleting an attachment. Props tellyworth. fixes #6142
git-svn-id: https://develop.svn.wordpress.org/trunk@7271 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-03-12 23:15:31 +00:00 |
Ryan Boren
|
7d6440bba2
|
Fix insert, gallery, sizing, type queries, errors, thumbs, type fallback. Props andy. see #5911
git-svn-id: https://develop.svn.wordpress.org/trunk@7172 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-03-06 19:48:54 +00:00 |
Matt Mullenweg
|
d1a9adb980
|
Don't return early before filtering.
git-svn-id: https://develop.svn.wordpress.org/trunk@7161 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-03-05 18:49:56 +00:00 |
Matt Mullenweg
|
88bb527a19
|
Creating intermediate sizes, better thumbnails, and other image improvements. Hat tip: tellyworth.
git-svn-id: https://develop.svn.wordpress.org/trunk@7135 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-03-03 04:17:37 +00:00 |
Ryan Boren
|
6d7441c26e
|
Remove trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@7130 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-03-02 20:17:30 +00:00 |
Ryan Boren
|
71f274c599
|
Add option to check caps when querying a particular post status. fixes #6052
git-svn-id: https://develop.svn.wordpress.org/trunk@7109 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-02-29 21:49:49 +00:00 |
Ryan Boren
|
a02dc6a240
|
Media Library updates from andy. see #5911
git-svn-id: https://develop.svn.wordpress.org/trunk@7100 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-02-29 06:54:15 +00:00 |
Ryan Boren
|
0808c1b9a1
|
Introduce get_post_ancestors(). Add current_page_ancestor class to ancestors of the current page. Props AaronCampbell. fixes #5662
git-svn-id: https://develop.svn.wordpress.org/trunk@7074 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-02-27 23:28:18 +00:00 |
Ryan Boren
|
82905a1f33
|
fix overuse of default mime icon and re-shuffle mp4/m4a file type matches. Props andy. see #5911
git-svn-id: https://develop.svn.wordpress.org/trunk@7045 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-02-26 19:57:00 +00:00 |
Ryan Boren
|
09ed1e62ae
|
Add some defaults for wp_insert_attachment. fixes #6006
git-svn-id: https://develop.svn.wordpress.org/trunk@7042 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-02-26 18:51:45 +00:00 |
Ryan Boren
|
7825a986f9
|
update mime-to-icon matching and get filename from function instead of guid. Props andy. see #5911
git-svn-id: https://develop.svn.wordpress.org/trunk@7036 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-02-26 08:54:11 +00:00 |
Ryan Boren
|
fef755b796
|
Make sure post has future status before publishing from cron. Props hailin. fixes #5801
git-svn-id: https://develop.svn.wordpress.org/trunk@6985 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-02-22 19:59:12 +00:00 |
Ryan Boren
|
7ed364b2ce
|
Notice fixes from nbachiyski. fixes #5961
git-svn-id: https://develop.svn.wordpress.org/trunk@6983 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-02-22 17:43:56 +00:00 |
Ryan Boren
|
579698f0b1
|
Media library work from andy. see #5911
git-svn-id: https://develop.svn.wordpress.org/trunk@6974 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-02-22 05:53:47 +00:00 |
Ryan Boren
|
a7e9b93bab
|
Add a default for post_conten_filtered
git-svn-id: https://develop.svn.wordpress.org/trunk@6951 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-02-21 00:52:51 +00:00 |
Ryan Boren
|
fcdca0ec36
|
pre_post_update action from tellyworth. fixes #5815
git-svn-id: https://develop.svn.wordpress.org/trunk@6938 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-02-20 16:46:44 +00:00 |
Ryan Boren
|
5f85c2dc0c
|
Media Library design updates from Andy. see #5911
git-svn-id: https://develop.svn.wordpress.org/trunk@6910 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-02-19 06:13:20 +00:00 |
Ryan Boren
|
0f8e3b6164
|
Reduce queries by wp_count_posts(). Props josephscott. fixes #5820
git-svn-id: https://develop.svn.wordpress.org/trunk@6808 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-02-13 09:30:26 +00:00 |
Ryan Boren
|
0e810ef327
|
Use array keys instead of hard coded list when traversing post fields to sanitize. Props andy. fixes #5836
git-svn-id: https://develop.svn.wordpress.org/trunk@6803 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-02-13 06:49:23 +00:00 |
Ryan Boren
|
d99739dac9
|
s/2.4/2.5/. Props ffemtcj. fixes #5810
git-svn-id: https://develop.svn.wordpress.org/trunk@6777 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-02-10 07:59:34 +00:00 |
Ryan Boren
|
e96e46aec6
|
Add wp_count_posts().
git-svn-id: https://develop.svn.wordpress.org/trunk@6730 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-02-05 19:08:14 +00:00 |
Ryan Boren
|
3a18b96c9b
|
Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@6726 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-02-05 06:47:27 +00:00 |
Ryan Boren
|
9125d102d4
|
Typo fix
git-svn-id: https://develop.svn.wordpress.org/trunk@6657 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-01-25 03:19:34 +00:00 |
Ryan Boren
|
3b55c522d6
|
Clear post_meta cache upon change. Props nbachiyski. fixes #5718
git-svn-id: https://develop.svn.wordpress.org/trunk@6654 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-01-25 01:55:21 +00:00 |
Ryan Boren
|
4aa89972c8
|
Don't forget to pass the category
git-svn-id: https://develop.svn.wordpress.org/trunk@6646 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-01-23 23:38:30 +00:00 |
Peter Westwood
|
5ddb77af06
|
Fix the updated times when publishing/editing with APP. See #5680 props rubys.
git-svn-id: https://develop.svn.wordpress.org/trunk@6645 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-01-23 20:25:08 +00:00 |
Ryan Boren
|
9ecb360c81
|
Refactor login. see #5405
git-svn-id: https://develop.svn.wordpress.org/trunk@6643 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-01-22 19:35:19 +00:00 |
Peter Westwood
|
af929c5525
|
Add xmlrpc methods to discover the valid post and page statuses. See #5569 props josephscott.
git-svn-id: https://develop.svn.wordpress.org/trunk@6594 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-01-10 21:46:25 +00:00 |
Peter Westwood
|
484a39a5b0
|
Ensure that we preserve GUIDs when importing from RSS. Fixes #5589 props peterjanes.
git-svn-id: https://develop.svn.wordpress.org/trunk@6593 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-01-10 21:27:08 +00:00 |
Peter Westwood
|
90e193bdab
|
Notice fixing for wp-includes. See #5607 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@6592 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-01-10 20:51:07 +00:00 |
Ryan Boren
|
791a7d7191
|
Unused var cleanup. Props DD32. see #5418
git-svn-id: https://develop.svn.wordpress.org/trunk@6551 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-01-04 19:36:34 +00:00 |
Ryan Boren
|
72a79d489d
|
Port autosave to jquery. Props rmccue. see #3824
git-svn-id: https://develop.svn.wordpress.org/trunk@6546 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-01-04 08:46:33 +00:00 |
Ryan Boren
|
5a9f249b34
|
set_post_type from filosofo. fixes #4844
git-svn-id: https://develop.svn.wordpress.org/trunk@6537 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-01-02 20:06:00 +00:00 |
Ryan Boren
|
c0e11298c2
|
\s is not a valid escape sequence. Props xknown. fixes #5539
git-svn-id: https://develop.svn.wordpress.org/trunk@6501 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-12-27 08:09:31 +00:00 |
Ryan Boren
|
d061a16188
|
Don't do hierarchical if includes specified. Props Kafkaesqui. fixes #5373 for 2.4
git-svn-id: https://develop.svn.wordpress.org/trunk@6491 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-12-24 21:24:03 +00:00 |
Ryan Boren
|
6da1524825
|
Fetch only post category terms in get_posts(). Props MichaelH. fixes #5317
git-svn-id: https://develop.svn.wordpress.org/trunk@6490 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-12-24 21:21:16 +00:00 |
Ryan Boren
|
94618e5837
|
Update term counts when future posts are published. fixes #4913 #5488
git-svn-id: https://develop.svn.wordpress.org/trunk@6425 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-12-20 00:48:49 +00:00 |
Peter Westwood
|
5c75f4cc75
|
Don't create empty tags. Fixes #5412 props ionfish
git-svn-id: https://develop.svn.wordpress.org/trunk@6407 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-12-19 17:34:15 +00:00 |
Ryan Boren
|
390e3d1c20
|
clean page cache when reparenting pages after deletion. Props hailin. fixes #5457
git-svn-id: https://develop.svn.wordpress.org/trunk@6382 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-12-14 20:56:55 +00:00 |
Ryan Boren
|
fc087d1fb6
|
post phpdoc from m0n5t3r and darkdragon. see #3982
git-svn-id: https://develop.svn.wordpress.org/trunk@6379 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-12-14 00:28:34 +00:00 |
Ryan Boren
|
e10c490a4f
|
Query page attachments from page requests so that they can both use the same set of rewrite rules. see #3614
git-svn-id: https://develop.svn.wordpress.org/trunk@6377 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-12-12 11:45:55 +00:00 |
Ryan Boren
|
3a8b2fcca3
|
Remove unused vars. Props DD32. see #5418
git-svn-id: https://develop.svn.wordpress.org/trunk@6364 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-12-06 19:49:33 +00:00 |
Ryan Boren
|
364a7f55c4
|
Don't save page and attachemtn uris to page_uris and page_attachment_uris. This is not needed. Add an option to use wildcard page rewrite rules instead of per-page rules. see #3614
git-svn-id: https://develop.svn.wordpress.org/trunk@6351 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-12-04 00:19:10 +00:00 |
Ryan Boren
|
71c8eab2dd
|
Update page on front settings when deleting the page on front. Props hailin. fixes #5361
git-svn-id: https://develop.svn.wordpress.org/trunk@6337 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-11-16 17:39:15 +00:00 |
Ryan Boren
|
3330c693e4
|
Skip sanitization altogether for raw context. Props Quandary. fixes #5325
git-svn-id: https://develop.svn.wordpress.org/trunk@6321 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-11-07 06:20:08 +00:00 |
Ryan Boren
|
ae66f7f3c8
|
Fix comment typo
git-svn-id: https://develop.svn.wordpress.org/trunk@6306 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-11-02 00:58:15 +00:00 |
Ryan Boren
|
5308684211
|
Make sure ID is set for later update() calls.
git-svn-id: https://develop.svn.wordpress.org/trunk@6305 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-11-02 00:47:04 +00:00 |
Ryan Boren
|
60883171f5
|
Typo fix from DD32. Fixes uploads. fixes #5302
git-svn-id: https://develop.svn.wordpress.org/trunk@6304 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-11-01 16:20:16 +00:00 |
Ryan Boren
|
dbad2a3943
|
Post timezone to lastpost filters. Props mdawaffe. fixes #5292
git-svn-id: https://develop.svn.wordpress.org/trunk@6301 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-10-31 16:59:05 +00:00 |
Ryan Boren
|
dd19fe2a27
|
wp_get_archives caching. fixes #5275
git-svn-id: https://develop.svn.wordpress.org/trunk@6296 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-10-30 06:03:11 +00:00 |
Ryan Boren
|
9c62c77bd7
|
Move all page and post caches to 'posts' cache group.
git-svn-id: https://develop.svn.wordpress.org/trunk@6252 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-10-15 20:11:30 +00:00 |
Ryan Boren
|
c061823bb4
|
Add some clean cache hooks
git-svn-id: https://develop.svn.wordpress.org/trunk@6248 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-10-14 04:55:33 +00:00 |
Ryan Boren
|
dd54d8ffe6
|
Allow single post ID and comma delimited list of post IDs to be passed to update_postmeta_cache(). Fix default cache to allow storage of empty array. see #5194
git-svn-id: https://develop.svn.wordpress.org/trunk@6247 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-10-14 01:08:07 +00:00 |
Mark Jaquith
|
23666ca104
|
Some foreach array casting
git-svn-id: https://develop.svn.wordpress.org/trunk@6242 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-10-13 05:33:39 +00:00 |
Mark Jaquith
|
13758c870e
|
Forget about 4th update() param -- only accept named array. Roll out more insert()/update() and various cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@6240 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-10-13 02:36:38 +00:00 |
Mark Jaquith
|
48c555d637
|
Remove redundant "db_" from db_insert() and db_update() methods. Now just insert() and update(). see #5178
git-svn-id: https://develop.svn.wordpress.org/trunk@6238 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-10-13 00:54:26 +00:00 |
Mark Jaquith
|
ac2a4ed5dc
|
More use of db_insert()/db_update(). see #5178
git-svn-id: https://develop.svn.wordpress.org/trunk@6237 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-10-13 00:48:52 +00:00 |
Ryan Boren
|
770c20562c
|
Eliminate , , and . see #5182
git-svn-id: https://develop.svn.wordpress.org/trunk@6229 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-10-12 21:12:34 +00:00 |
Mark Jaquith
|
67cb7b99ef
|
Introducing db_insert() and db_update(), with immediate usage in wp_insert_post(). fixes #5178
git-svn-id: https://develop.svn.wordpress.org/trunk@6221 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-10-10 22:01:40 +00:00 |