westi
|
8c791aaf60
|
Check the correct global in get_page and also ensure that the cap check for deleting pages copes for the default page we edit when adding new. Fixes #11203.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-12-07 18:01:02 +00:00 |
ryan
|
729757afc2
|
Use correct var name. Props miqrogroove. fixes #10821
git-svn-id: http://svn.automattic.com/wordpress/trunk@12307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-12-01 19:41:41 +00:00 |
ryan
|
711994ba4b
|
Delete custom taxonomy relationships when deleting a post or attachment. Props dd32. fixes #10821
git-svn-id: http://svn.automattic.com/wordpress/trunk@12305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-12-01 18:01:24 +00:00 |
ryan
|
41099db69b
|
Delete custom taxonomy relationships when deleting a post. Props miqrogroove. fixes #10821
git-svn-id: http://svn.automattic.com/wordpress/trunk@12299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-30 22:17:28 +00:00 |
ryan
|
97bf1f11bd
|
Save parent temp ID for unattached attachments in postmeta. Props scribu. fixes #9471
git-svn-id: http://svn.automattic.com/wordpress/trunk@12298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-30 21:41:52 +00:00 |
azaozz
|
c3f7df6b24
|
Fix notices and phpdoc, props hakre, fixes #10758
git-svn-id: http://svn.automattic.com/wordpress/trunk@12284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-26 11:29:54 +00:00 |
azaozz
|
5f74404560
|
Get the right number of pages then excluding a tree, fixes #11205
git-svn-id: http://svn.automattic.com/wordpress/trunk@12279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-26 05:22:09 +00:00 |
ryan
|
4c1c30fbd6
|
Don't require titles for attachments. Props caesarsgrunt. fixes #11052
git-svn-id: http://svn.automattic.com/wordpress/trunk@12273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-24 16:52:32 +00:00 |
ryan
|
a03752fdb4
|
Check if defined to avoid having to suppress. Props Mittineague, Denis-de-Bernardy. fixes #10525
git-svn-id: http://svn.automattic.com/wordpress/trunk@12265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-23 18:47:22 +00:00 |
azaozz
|
128927e43b
|
Limit wp_get_recent_posts() to real/live posts, props josephscott, fixes #11123
git-svn-id: http://svn.automattic.com/wordpress/trunk@12237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-20 03:01:22 +00:00 |
ryan
|
2892919a51
|
Fix var name typo
git-svn-id: http://svn.automattic.com/wordpress/trunk@12222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-19 17:55:23 +00:00 |
azaozz
|
fb0d8b44ee
|
Fix image meta after editing image, disable the Save button when no changes, fixes #11115
git-svn-id: http://svn.automattic.com/wordpress/trunk@12163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-11 11:24:01 +00:00 |
ryan
|
42d1c20cf6
|
Add force delete option.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-09 20:12:07 +00:00 |
westi
|
9655ccf4d8
|
Fix delete_post_meta_by_key() so that you can delete postmeta items by key again. Fixes #11100.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-08 11:05:49 +00:00 |
ryan
|
33a8043b97
|
Trash comments when trashing a post. see #11073
git-svn-id: http://svn.automattic.com/wordpress/trunk@12148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-05 21:03:09 +00:00 |
ryan
|
cf7279320b
|
Fix comment and postmeta delete queries when deleting a post. see #11073
git-svn-id: http://svn.automattic.com/wordpress/trunk@12141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-04 17:39:53 +00:00 |
azaozz
|
a55fd568d4
|
Trash undo for the uploader, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-10-30 07:09:55 +00:00 |
azaozz
|
ea955a4191
|
Remove pointless var assignment in get_pages(), props filosofo, fixes #11027
git-svn-id: http://svn.automattic.com/wordpress/trunk@12106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-10-25 20:54:13 +00:00 |
ryan
|
ce94d9ca5c
|
Improve sanitize_post() performance. Perform raw filtering only once. Add filter check to eliminate double filtering. Props johanee. fixes #10972 see #10801
git-svn-id: http://svn.automattic.com/wordpress/trunk@12062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-10-19 21:28:44 +00:00 |
markjaquith
|
529cc9244b
|
Delete post thumbnail relationships for deleted attachments. props scribu. see #10928
git-svn-id: http://svn.automattic.com/wordpress/trunk@12054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-10-18 13:58:44 +00:00 |
ryan
|
087e3d2376
|
Use array_intersect_assoc()
git-svn-id: http://svn.automattic.com/wordpress/trunk@12047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-10-17 16:20:52 +00:00 |
ryan
|
bf96c01551
|
Associate subdirector of whitespace trims trailing whites with pinking shears.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-10-15 20:26:21 +00:00 |
ryan
|
e3f1a830d3
|
Post type registration. Exclude post types added via plugin from searches by default. Introduce register_post_type() and get_post_types(). fixes #10885
git-svn-id: http://svn.automattic.com/wordpress/trunk@11998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-10-06 14:43:05 +00:00 |
markjaquith
|
4ead128521
|
esc_sql() for wp-includes
git-svn-id: http://svn.automattic.com/wordpress/trunk@11978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-27 05:33:56 +00:00 |
azaozz
|
ac1deea61c
|
Improve get_page_hierarchy, props hailin, fixes #10853
git-svn-id: http://svn.automattic.com/wordpress/trunk@11976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-26 22:45:52 +00:00 |
ryan
|
ead46cf470
|
Actions for postmeta updates. Props Demitrious Kelly. see #10750
git-svn-id: http://svn.automattic.com/wordpress/trunk@11968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-24 17:10:28 +00:00 |
azaozz
|
48932f96fe
|
Image Editor improvements, see #10528
git-svn-id: http://svn.automattic.com/wordpress/trunk@11965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-24 01:54:07 +00:00 |
westi
|
08374eeaf9
|
Remove temporary transition code from the trash_meta option to postmeta transition See #4529.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-17 21:06:41 +00:00 |
westi
|
c67e70dd91
|
First pass commentmeta implementation. See #2659 props scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-17 20:17:33 +00:00 |
ryan
|
8e3808bce2
|
Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-14 14:03:32 +00:00 |
azaozz
|
1c161c23c2
|
Image editing (first run). Includes code by stephanreiter, see #10528
git-svn-id: http://svn.automattic.com/wordpress/trunk@11911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-10 22:07:33 +00:00 |
ryan
|
7886fac111
|
More add/delete/update actions. Props Demitrious Kelly. see #10750
git-svn-id: http://svn.automattic.com/wordpress/trunk@11909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-10 14:43:45 +00:00 |
azaozz
|
40771b0bf4
|
Fix returning to the previous post_status when restoring posts from the trash, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-08-26 04:57:29 +00:00 |
westi
|
e8b550fd33
|
Move the storage of the metadata for trashed posts into the post meta table rather than storing it in an option. See #4529.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-08-25 22:05:15 +00:00 |
azaozz
|
be026258fa
|
"Trash" updates, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-08-19 08:35:24 +00:00 |
markjaquith
|
81e0fe00ee
|
Return an empty array instead of false for get_children() when no children found. props Denis-de-Bernardy. fixes #10053
git-svn-id: http://svn.automattic.com/wordpress/trunk@11756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-07-31 09:31:56 +00:00 |
azaozz
|
dc37cd4ce4
|
Trash status update, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-07-30 14:55:07 +00:00 |
azaozz
|
39e4f05a15
|
Trash status updates for posts, pages, comments and attachments, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-07-30 13:39:34 +00:00 |
ryan
|
f7e02a7c22
|
Pings to the people. Return to pinging for updates to published posts. see #6698
git-svn-id: http://svn.automattic.com/wordpress/trunk@11734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-07-21 23:09:47 +00:00 |
ryan
|
98e73f0c98
|
Process waiting pings a half hour after the last ping to avoid spamming ping sites. Don't make a ping wait if the last ping was more than half an hour ago. Props VoxPelli. fixes #6698 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-07-21 19:44:21 +00:00 |
ryan
|
4d0c574bed
|
Don't write to htaccess every time page is saved. Add hard/soft flush flag to flush_rules(). Make sure fopen is successful and silence errors. Props Viper007Bond. fixes #10181 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-06-16 02:44:28 +00:00 |
ryan
|
b664e6a452
|
wp_unique_post_slug() fixes. Props Denis-de-Bernardy. fixes #9726
git-svn-id: http://svn.automattic.com/wordpress/trunk@11467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-27 16:21:53 +00:00 |
azaozz
|
93895989c8
|
Revert [11202], see #9726
git-svn-id: http://svn.automattic.com/wordpress/trunk@11461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-26 08:58:10 +00:00 |
ryan
|
2df887bd07
|
Trim tailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-24 23:47:49 +00:00 |
ryan
|
05d4c954ac
|
Throttle generic pings to no more than once per hour. Props Denis-de-Bernardy. fixes #6698
git-svn-id: http://svn.automattic.com/wordpress/trunk@11410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-20 17:03:19 +00:00 |
ryan
|
c3a0c4d9e2
|
Use filtered post data. Props Denis-de-Bernardy, sirzooro. fixes #9084
git-svn-id: http://svn.automattic.com/wordpress/trunk@11396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-19 15:54:19 +00:00 |
ryan
|
603abd463e
|
Escape posts passed as objects. Props Denis-de-Bernardy. fixes #9727
git-svn-id: http://svn.automattic.com/wordpress/trunk@11344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-15 21:27:39 +00:00 |
ryan
|
1354d0660a
|
Don't localize dates where not appropriate. Props Denis-de-Bernardy, hakre. fixes #9730
git-svn-id: http://svn.automattic.com/wordpress/trunk@11323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-14 02:00:32 +00:00 |
ryan
|
f25182f1e5
|
Clear cache after deleting meta. Props Denis-de-Bernardy. fixes #9009
git-svn-id: http://svn.automattic.com/wordpress/trunk@11305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-12 17:10:05 +00:00 |
westi
|
c2efcbf94d
|
Clear future publishing hook on post deletion. Fixes #5364 props develish and Denis-de-Bernardy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-11 22:17:13 +00:00 |