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 |
|