Commit Graph

371 Commits

Author SHA1 Message Date
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
ryan
7d37926ebc Move deleted_post back. Props Denis-de-Bernardy . see #9422
git-svn-id: http://svn.automattic.com/wordpress/trunk@10858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-01 16:10:14 +00:00
ryan
f84839d5af Fix delete statements to ensure data integrity when innodb and foreign keys are used. Props Denis-de-Bernardy. see #9422
git-svn-id: http://svn.automattic.com/wordpress/trunk@10851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-31 19:16:53 +00:00
ryan
e8b6fe7347 Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-18 02:43:45 +00:00
ryan
d43bd8177c Use wpdb::insert() and update(). Props DD32. see #6836
git-svn-id: http://svn.automattic.com/wordpress/trunk@10730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-06 04:27:51 +00:00
ryan
d6ee6062a6 Add some default field types. see #7171
git-svn-id: http://svn.automattic.com/wordpress/trunk@10725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-06 00:50:19 +00:00
ryan
551c0c8af9 Add typecasting to wpdb::insert() and update(). Props filosofo. fixes #7171
git-svn-id: http://svn.automattic.com/wordpress/trunk@10724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-05 23:47:02 +00:00
ryan
423b468ebf Check for empty meta keys. Props Denis-de-Bernardy, markedwards. fixes #7953
git-svn-id: http://svn.automattic.com/wordpress/trunk@10711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-04 22:59:16 +00:00
westi
303d892aa8 Syncronise the queries used for attachment slug uniqueness checking. Fixes #4396 props futurix and Nazgul.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-04 08:03:02 +00:00
ryan
1b4ac5206d Escape before passing to insert/update post. Props hailin. fixes #9199 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-22 00:35:42 +00:00
ryan
0c81ddb8d2 Allow + in mime type regex. Props Sam_a. fixes #8991
git-svn-id: http://svn.automattic.com/wordpress/trunk@10502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-04 20:27:30 +00:00
ryan
6dd933b120 Move delete_attachment action up. Props filosofo. fixes #8909
git-svn-id: http://svn.automattic.com/wordpress/trunk@10400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-21 21:19:22 +00:00
azaozz
7b2265e598 "Unstick" posts when deleting, fixes #8860
git-svn-id: http://svn.automattic.com/wordpress/trunk@10363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-15 00:47:56 +00:00
azaozz
15153dd5d6 Fix uploaded media relative links when site has been moved, props DD32, fixes #8705 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-26 02:59:04 +00:00
ryan
8427b2b756 Make sure get_pages cache is an array
git-svn-id: http://svn.automattic.com/wordpress/trunk@10226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-18 22:26:57 +00:00
ryan
8a8ac376bf Allow muliple tag-like taxonomies in the post editor. see #6387
git-svn-id: http://svn.automattic.com/wordpress/trunk@10222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-18 19:12:26 +00:00
ryan
d3b9da7025 Don't cache filtered post objects. Set filter when getting sample permalink. Props brianwhite. fixes #8526 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-16 23:50:39 +00:00
ryan
e89192b1a8 Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 18:03:31 +00:00
ryan
918d84ef68 Get all children. Props filosofo. fixes #8527
git-svn-id: http://svn.automattic.com/wordpress/trunk@10130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-08 21:00:25 +00:00
ryan
504bc044d8 Check for circular post parent dependencies. Exclude the current post and its children from the parent dropdown.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-08 19:29:42 +00:00
markjaquith
fc5e8dfe58 Make Password protected and private mutually exclusive when using Quick Edit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-06 11:10:24 +00:00
ryan
ae7bb0d440 post_parent dropdown fixes. get_pages() cache fix to eliminate duplicate queries.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-05 19:19:24 +00:00
ryan
136fbfa1c0 Don't set post_parent default. Props hailin. fixes #8348
git-svn-id: http://svn.automattic.com/wordpress/trunk@9906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 18:56:46 +00:00
westi
f92c019881 Ensure that thumbnails are removed when the media file is deleted. Fixes #8309 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-22 23:01:28 +00:00
ryan
b6c9d89527 Remove trim. fixes #8252
git-svn-id: http://svn.automattic.com/wordpress/trunk@9803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-20 03:06:21 +00:00
azaozz
7cee4f5723 Fix [9714], it breaks get_page()
git-svn-id: http://svn.automattic.com/wordpress/trunk@9731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-17 15:47:41 +00:00
ryan
40c754df1d Unused var fixes. Props DD32. see #8220
git-svn-id: http://svn.automattic.com/wordpress/trunk@9716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 18:10:35 +00:00
ryan
86702a2520 Notice fixes. Props DD32. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@9714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-15 17:56:44 +00:00
ryan
9861eb1a85 Notice fixes from DD32. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@9699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-14 23:01:16 +00:00
ryan
545da15950 Notice fixes from DD32. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@9596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-10 18:54:18 +00:00
azaozz
7c063b0b50 Preview fixes: different method of showing previews for published posts, now uses the proper templates. Fixes #8052
git-svn-id: http://svn.automattic.com/wordpress/trunk@9509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-04 13:00:12 +00:00
azaozz
1e4e3ec57e Do cap check when shoving a preview
git-svn-id: http://svn.automattic.com/wordpress/trunk@9452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 23:14:37 +00:00
azaozz
9fba444f3b Preview for both drafts and published posts/pages
git-svn-id: http://svn.automattic.com/wordpress/trunk@9451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-31 22:47:07 +00:00
ryan
296afd1941 Preserve attachment IDs during import. Props mtdewvirus. fixes #7972
git-svn-id: http://svn.automattic.com/wordpress/trunk@9357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-26 17:05:56 +00:00
westi
1f079aa071 Better variable naming. See #7358.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-25 22:56:02 +00:00
ryan
2d61441067 Use prepare() in wp_insert_attachment(). Props dwc. fixes #7933
git-svn-id: http://svn.automattic.com/wordpress/trunk@9259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-20 21:55:37 +00:00
markjaquith
14aeedc5ef Update update_post_meta() and delete_post_meta() to work with post revisions. Props misterbisson. fixes #7925
git-svn-id: http://svn.automattic.com/wordpress/trunk@9252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-20 05:47:13 +00:00
ryan
782e278c72 Recognize windows absolute paths. see #7904
git-svn-id: http://svn.automattic.com/wordpress/trunk@9242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-18 19:48:49 +00:00
ryan
064a9332df Must pass var by ref. Props x11tech. fixes #7781
git-svn-id: http://svn.automattic.com/wordpress/trunk@9239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-17 22:55:30 +00:00
westi
a0f339d3bf Notice fixes. See #7509 props DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 21:08:28 +00:00
ryan
d51c87885a Add parent arg to get_pages(). Props DD32. fixes #7247
git-svn-id: http://svn.automattic.com/wordpress/trunk@9145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-14 00:15:59 +00:00
azaozz
14954d7fca Fix stripslashes for post metadata, phpDoc updates for media.php, props jacobsantos, fixes #7871
git-svn-id: http://svn.automattic.com/wordpress/trunk@9129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-13 02:48:45 +00:00
markjaquith
2dcef9570d Prevent future posts from publishing early. fixes #7441
git-svn-id: http://svn.automattic.com/wordpress/trunk@9123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-11 05:46:20 +00:00
azaozz
6ba8661a1f Fix escaping of post meta, props DD32, fixes #7768
git-svn-id: http://svn.automattic.com/wordpress/trunk@9116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-10 09:40:30 +00:00
ryan
9af33a74a9 Suspend cache invalidation while importing posts with WP importer
git-svn-id: http://svn.automattic.com/wordpress/trunk@9106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-09 00:50:52 +00:00
ryan
da50360c41 Don't flush rules for every post imported. see #7193
git-svn-id: http://svn.automattic.com/wordpress/trunk@9101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-08 22:16:35 +00:00
ryan
65660bd565 Try to preserve post IDs during import
git-svn-id: http://svn.automattic.com/wordpress/trunk@9100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-08 21:42:52 +00:00
azaozz
dc564f4792 Quick Edit for Tags, Categories and Link Categories, improvements to handling errors in quick and bulk edit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-05 04:43:52 +00:00
markjaquith
15ff2bf868 Do not allow contributors to set the post slug for pending review posts. fixes #7805
git-svn-id: http://svn.automattic.com/wordpress/trunk@9055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-02 04:10:54 +00:00
ryan
e40f6e4067 Don't try to assign non-ref return value by ref. Props Sam_a. fixes #7783
git-svn-id: http://svn.automattic.com/wordpress/trunk@8966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-24 05:28:05 +00:00
ryan
3cf0e131c8 Set post_date for drafts. see #5698
git-svn-id: http://svn.automattic.com/wordpress/trunk@8920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-17 20:19:29 +00:00
azaozz
a3e166e324 Remove 'large' image size when deleting attachments, props ShaneF, fixes #7759
git-svn-id: http://svn.automattic.com/wordpress/trunk@8918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-17 19:19:15 +00:00
westi
34e6722704 maybe_unserialize the array members not the array when multple post meta items are returned. Fixes #7623 for trunk props andy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-05 22:04:04 +00:00