westi
|
9655ccf4d8
|
Fix delete_post_meta_by_key() so that you can delete postmeta items by key again. Fixes #11100.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-08 11:05:49 +00:00 |
ryan
|
33a8043b97
|
Trash comments when trashing a post. see #11073
git-svn-id: http://svn.automattic.com/wordpress/trunk@12148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-05 21:03:09 +00:00 |
ryan
|
cf7279320b
|
Fix comment and postmeta delete queries when deleting a post. see #11073
git-svn-id: http://svn.automattic.com/wordpress/trunk@12141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-04 17:39:53 +00:00 |
azaozz
|
a55fd568d4
|
Trash undo for the uploader, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-10-30 07:09:55 +00:00 |
azaozz
|
ea955a4191
|
Remove pointless var assignment in get_pages(), props filosofo, fixes #11027
git-svn-id: http://svn.automattic.com/wordpress/trunk@12106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-10-25 20:54:13 +00:00 |
ryan
|
ce94d9ca5c
|
Improve sanitize_post() performance. Perform raw filtering only once. Add filter check to eliminate double filtering. Props johanee. fixes #10972 see #10801
git-svn-id: http://svn.automattic.com/wordpress/trunk@12062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-10-19 21:28:44 +00:00 |
markjaquith
|
529cc9244b
|
Delete post thumbnail relationships for deleted attachments. props scribu. see #10928
git-svn-id: http://svn.automattic.com/wordpress/trunk@12054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-10-18 13:58:44 +00:00 |
ryan
|
087e3d2376
|
Use array_intersect_assoc()
git-svn-id: http://svn.automattic.com/wordpress/trunk@12047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-10-17 16:20:52 +00:00 |
ryan
|
bf96c01551
|
Associate subdirector of whitespace trims trailing whites with pinking shears.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-10-15 20:26:21 +00:00 |
ryan
|
e3f1a830d3
|
Post type registration. Exclude post types added via plugin from searches by default. Introduce register_post_type() and get_post_types(). fixes #10885
git-svn-id: http://svn.automattic.com/wordpress/trunk@11998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-10-06 14:43:05 +00:00 |
markjaquith
|
4ead128521
|
esc_sql() for wp-includes
git-svn-id: http://svn.automattic.com/wordpress/trunk@11978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-27 05:33:56 +00:00 |
azaozz
|
ac1deea61c
|
Improve get_page_hierarchy, props hailin, fixes #10853
git-svn-id: http://svn.automattic.com/wordpress/trunk@11976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-26 22:45:52 +00:00 |
ryan
|
ead46cf470
|
Actions for postmeta updates. Props Demitrious Kelly. see #10750
git-svn-id: http://svn.automattic.com/wordpress/trunk@11968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-24 17:10:28 +00:00 |
azaozz
|
48932f96fe
|
Image Editor improvements, see #10528
git-svn-id: http://svn.automattic.com/wordpress/trunk@11965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-24 01:54:07 +00:00 |
westi
|
08374eeaf9
|
Remove temporary transition code from the trash_meta option to postmeta transition See #4529.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-17 21:06:41 +00:00 |
westi
|
c67e70dd91
|
First pass commentmeta implementation. See #2659 props scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-17 20:17:33 +00:00 |
ryan
|
8e3808bce2
|
Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-14 14:03:32 +00:00 |
azaozz
|
1c161c23c2
|
Image editing (first run). Includes code by stephanreiter, see #10528
git-svn-id: http://svn.automattic.com/wordpress/trunk@11911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-10 22:07:33 +00:00 |
ryan
|
7886fac111
|
More add/delete/update actions. Props Demitrious Kelly. see #10750
git-svn-id: http://svn.automattic.com/wordpress/trunk@11909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-09-10 14:43:45 +00:00 |
azaozz
|
40771b0bf4
|
Fix returning to the previous post_status when restoring posts from the trash, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-08-26 04:57:29 +00:00 |
westi
|
e8b550fd33
|
Move the storage of the metadata for trashed posts into the post meta table rather than storing it in an option. See #4529.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-08-25 22:05:15 +00:00 |
azaozz
|
be026258fa
|
"Trash" updates, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-08-19 08:35:24 +00:00 |
markjaquith
|
81e0fe00ee
|
Return an empty array instead of false for get_children() when no children found. props Denis-de-Bernardy. fixes #10053
git-svn-id: http://svn.automattic.com/wordpress/trunk@11756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-07-31 09:31:56 +00:00 |
azaozz
|
dc37cd4ce4
|
Trash status update, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-07-30 14:55:07 +00:00 |
azaozz
|
39e4f05a15
|
Trash status updates for posts, pages, comments and attachments, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@11749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-07-30 13:39:34 +00:00 |
ryan
|
f7e02a7c22
|
Pings to the people. Return to pinging for updates to published posts. see #6698
git-svn-id: http://svn.automattic.com/wordpress/trunk@11734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-07-21 23:09:47 +00:00 |
ryan
|
98e73f0c98
|
Process waiting pings a half hour after the last ping to avoid spamming ping sites. Don't make a ping wait if the last ping was more than half an hour ago. Props VoxPelli. fixes #6698 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-07-21 19:44:21 +00:00 |
ryan
|
4d0c574bed
|
Don't write to htaccess every time page is saved. Add hard/soft flush flag to flush_rules(). Make sure fopen is successful and silence errors. Props Viper007Bond. fixes #10181 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-06-16 02:44:28 +00:00 |
ryan
|
b664e6a452
|
wp_unique_post_slug() fixes. Props Denis-de-Bernardy. fixes #9726
git-svn-id: http://svn.automattic.com/wordpress/trunk@11467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-27 16:21:53 +00:00 |
azaozz
|
93895989c8
|
Revert [11202], see #9726
git-svn-id: http://svn.automattic.com/wordpress/trunk@11461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-26 08:58:10 +00:00 |
ryan
|
2df887bd07
|
Trim tailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-24 23:47:49 +00:00 |
ryan
|
05d4c954ac
|
Throttle generic pings to no more than once per hour. Props Denis-de-Bernardy. fixes #6698
git-svn-id: http://svn.automattic.com/wordpress/trunk@11410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-20 17:03:19 +00:00 |
ryan
|
c3a0c4d9e2
|
Use filtered post data. Props Denis-de-Bernardy, sirzooro. fixes #9084
git-svn-id: http://svn.automattic.com/wordpress/trunk@11396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-19 15:54:19 +00:00 |
ryan
|
603abd463e
|
Escape posts passed as objects. Props Denis-de-Bernardy. fixes #9727
git-svn-id: http://svn.automattic.com/wordpress/trunk@11344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-15 21:27:39 +00:00 |
ryan
|
1354d0660a
|
Don't localize dates where not appropriate. Props Denis-de-Bernardy, hakre. fixes #9730
git-svn-id: http://svn.automattic.com/wordpress/trunk@11323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-14 02:00:32 +00:00 |
ryan
|
f25182f1e5
|
Clear cache after deleting meta. Props Denis-de-Bernardy. fixes #9009
git-svn-id: http://svn.automattic.com/wordpress/trunk@11305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-12 17:10:05 +00:00 |
westi
|
c2efcbf94d
|
Clear future publishing hook on post deletion. Fixes #5364 props develish and Denis-de-Bernardy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-11 22:17:13 +00:00 |
westi
|
9f7ea00b75
|
Drop raw check in sanitize_post so int fields are always sanitized.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-11 22:10:45 +00:00 |
westi
|
d6b7dc3a8e
|
Update phpdoc for get_pages() and fix bugs in previous commit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-10 09:00:18 +00:00 |
westi
|
9e32b2810a
|
Add paging support to get_pages(). Fixes #4531 props DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11251 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-10 08:55:49 +00:00 |
markjaquith
|
d7b015645d
|
esc_js(). Shorter, follows new escaping naming convention.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-09 07:27:22 +00:00 |
westi
|
abe4bd3f46
|
Updates phpDoc for the post functions. See #8805 props CharlesClarkson.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-06 20:49:36 +00:00 |
markjaquith
|
6c2ffddf31
|
_a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-05 19:43:53 +00:00 |
ryan
|
e631b2d341
|
Use wp_unique_slug() in wp_insert_attachment(). Props Denis-de-Bernardy. fixes #9726
git-svn-id: http://svn.automattic.com/wordpress/trunk@11202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-05 16:39:36 +00:00 |
ryan
|
cc3d87bf2b
|
Always do post status transition actions. Props nbachiyski. fixes #8792
git-svn-id: http://svn.automattic.com/wordpress/trunk@11197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-05 05:53:55 +00:00 |
ryan
|
b622d954e3
|
Make post slugs unique across all hierarhical post types. Props Denis-de-Bernardy. fixes #6437
git-svn-id: http://svn.automattic.com/wordpress/trunk@11125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-04-29 19:04:27 +00:00 |
ryan
|
2d489767bb
|
s/attribute_escape/attr/. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-04-28 05:58:45 +00:00 |
ryan
|
430a8cb2cf
|
Limit get_lastpost* functions to post_type=post. Props Denis-de-Bernardy. fixes #9636
git-svn-id: http://svn.automattic.com/wordpress/trunk@11108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-04-28 05:42:30 +00:00 |
ryan
|
267f508f2f
|
Add wp_unique_post_slug(). Apply it when getting sample permalinks. Props nbachiyski. fixes #6595
git-svn-id: http://svn.automattic.com/wordpress/trunk@11071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-04-23 20:21:18 +00:00 |
ryan
|
e20fd21b39
|
Notice fixes. Props DD32. fixes #9502
git-svn-id: http://svn.automattic.com/wordpress/trunk@10904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-04-10 04:34:44 +00:00 |