Commit Graph

10697 Commits

Author SHA1 Message Date
Andrew Ozz b967e7d4bd Avoid rare autosave collision when trying to publish the post immediately after it was autosaved, fixes #6785
git-svn-id: https://develop.svn.wordpress.org/trunk@11927 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-13 23:36:09 +00:00
Andrew Ozz f159af5111 Plugin/Theme installer: Do not bail if empty destination directory exists, props dd32, fixes #10775
git-svn-id: https://develop.svn.wordpress.org/trunk@11926 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-13 23:00:45 +00:00
Peter Westwood 311256c02a Use the old strings which are more translator friendly and add a generic default string to aid re-use by plugins adding post_types. See #10729.
git-svn-id: https://develop.svn.wordpress.org/trunk@11925 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-13 21:18:55 +00:00
Andrew Ozz 6315c12a84 Fix pagination in Media Library after moving items to trash
git-svn-id: https://develop.svn.wordpress.org/trunk@11924 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-13 17:58:55 +00:00
Peter Westwood 3fbccfb9fc Switch the post|page being editing message from a create_function call to a normal function and reduce the duplicated code. See #10729.
git-svn-id: https://develop.svn.wordpress.org/trunk@11923 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-13 08:52:39 +00:00
Peter Westwood 80dbface9c phpDoc for wp_{check|set}_post_lock functions.
git-svn-id: https://develop.svn.wordpress.org/trunk@11922 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-13 08:34:24 +00:00
Peter Westwood a7311d5079 Correct key padding and add support for raw_output in hash_hmac. Fixes #10284 props mdawaffe.
git-svn-id: https://develop.svn.wordpress.org/trunk@11921 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-12 22:03:14 +00:00
Peter Westwood 772b9e3392 Make our hash_hmac compatibility function unit testable even when the real one exists. See #10284.
git-svn-id: https://develop.svn.wordpress.org/trunk@11920 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-12 08:26:44 +00:00
Ryan Boren 2cac41ba40 Add btt.php and jkw.php to list of files to remove during upgrade.
git-svn-id: https://develop.svn.wordpress.org/trunk@11918 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-11 18:12:10 +00:00
Ryan Boren 80cc420d2c Retire Jerome's keywords importer
git-svn-id: https://develop.svn.wordpress.org/trunk@11917 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-11 17:55:35 +00:00
Ryan Boren 188ca14ebd Retire BunnyTags importer
git-svn-id: https://develop.svn.wordpress.org/trunk@11914 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-11 17:53:14 +00:00
Ryan Boren d098dfcd59 Add missing break. Props snakefoot. fixes #10692
git-svn-id: https://develop.svn.wordpress.org/trunk@11912 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-11 13:42:15 +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
Peter Westwood 09845dfd03 Post by Email plugins might want to use there own POP3 class so move the action earlier.
git-svn-id: https://develop.svn.wordpress.org/trunk@11910 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-10 20:05:24 +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 1195abd579 Don't show "Change Permalinks" button when editing the page set as "Front page", props simonwheatley, fixes #10760
git-svn-id: https://develop.svn.wordpress.org/trunk@11908 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-10 01:21:03 +00:00
Peter Westwood 925df4bd49 Give plugins and themes simple control over the text displayed at the end of an autogenerated excerpt. Fixes #10395 props ramiy.
git-svn-id: https://develop.svn.wordpress.org/trunk@11907 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-09 16:34:44 +00:00
Ryan Boren d7dede3b5f Fix Press This bookmarklet for Safari 4. Props noel. fixes #10749
git-svn-id: https://develop.svn.wordpress.org/trunk@11906 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-08 20:06:52 +00:00
Ryan Boren bb81b561bd Filter the cookie scheme in auth_redirect(). Props nbachiyski. fixes #10740
git-svn-id: https://develop.svn.wordpress.org/trunk@11905 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-08 15:25:29 +00:00
Ryan Boren eac87a3f7d Pass logged_in cookie to async-upload. Props nbachiyski. fixes #10739
git-svn-id: https://develop.svn.wordpress.org/trunk@11904 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-08 15:22:42 +00:00
Ryan Boren 46b766635e Allow force_ssl_admin() to properly accept false as a value. Props nbachiyski. fixes #10706
git-svn-id: https://develop.svn.wordpress.org/trunk@11903 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-08 14:46:06 +00:00
Ryan Boren dcdab5fed5 is_blog_installed() improvements and repair.php. see #10728
git-svn-id: https://develop.svn.wordpress.org/trunk@11902 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-06 18:46:27 +00:00
Mark Jaquith 608115bd25 Display comments in descending date order, consistently. props scribu. fixes #10674
git-svn-id: https://develop.svn.wordpress.org/trunk@11901 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-04 08:50:55 +00:00
Mark Jaquith 367fdfe7f3 Add a the_terms filter, and use a default ", " sep. props scribu. fixes #10600
git-svn-id: https://develop.svn.wordpress.org/trunk@11900 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-04 08:47:36 +00:00
Andrew Ozz 30bae2a1a7 Revert rotating images based on EXIF Orientation. Better time for this would be immediately after an image is uploaded, perhaps in media_handle_upload(), see #7042
git-svn-id: https://develop.svn.wordpress.org/trunk@11899 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-04 02:36:34 +00:00
Peter Westwood df78ed2118 Remove duplicate action addition of delete_get_calendar_cache() on update_option_start_of_week. Fixes #10718 props johnjosephbachir.
git-svn-id: https://develop.svn.wordpress.org/trunk@11898 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-02 07:11:07 +00:00
Peter Westwood 0811d99fbd Better feedback on publishing of future posts and pages. Fixes #10711 based on patch from scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@11897 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-01 21:15:20 +00:00
Peter Westwood 6b5f25507e Always filter the url in the media upload form. Fixes #10707 props nbachiyski.
git-svn-id: https://develop.svn.wordpress.org/trunk@11896 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-01 20:44:17 +00:00
Andrew Ozz 1e1324df0e Pass Post ID to the get_comments_number filter, props sirzooro, fixes #10705
git-svn-id: https://develop.svn.wordpress.org/trunk@11895 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-01 20:27:03 +00:00
Andrew Ozz 97bef9ee66 Logarithmic scale for tag cloud, props kometbomb, fixes #10703
git-svn-id: https://develop.svn.wordpress.org/trunk@11894 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-01 20:06:11 +00:00
Peter Westwood a7c38d2297 Allow a plugin to do a complete takeover of Post by Email
git-svn-id: https://develop.svn.wordpress.org/trunk@11893 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-28 07:18:05 +00:00
Peter Westwood b4836e4e27 Allow a plugin to do a complete takeover of Post by Email
git-svn-id: https://develop.svn.wordpress.org/trunk@11892 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-28 07:17:03 +00:00
Ryan Boren d9c6047a27 Disallow unfiltered uploads for admins by default. fixes #10692
git-svn-id: https://develop.svn.wordpress.org/trunk@11887 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-28 00:17:53 +00:00
Peter Westwood 02ae17aa0f Define in the default theme. Fixes #10682 props Viper007Bond.
git-svn-id: https://develop.svn.wordpress.org/trunk@11886 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-27 21:27:45 +00:00
Peter Westwood c5d23be9e2 Comments for default theme Pages. Fixes #3753.
git-svn-id: https://develop.svn.wordpress.org/trunk@11885 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-27 21:23:52 +00:00
Andrew Ozz 260543c4de Fix quotes, props Denis-de-Bernardy, see #2699
git-svn-id: https://develop.svn.wordpress.org/trunk@11884 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-27 09:59:22 +00:00
Ryan Boren 9ba99f344c Make option_name the primary key for the options table. Props Denis-de-Bernardy. fixes #2699
git-svn-id: https://develop.svn.wordpress.org/trunk@11883 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-26 22:46:33 +00:00
Peter Westwood d43ed9f448 Correctly CamelCase TypePad. Fixes #10686 props niallkennedy.
git-svn-id: https://develop.svn.wordpress.org/trunk@11882 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-26 06:51:36 +00:00
Andrew Ozz f6a1fd4041 Fix comment moderation for authors, props scribu, fixes #10677
git-svn-id: https://develop.svn.wordpress.org/trunk@11881 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-26 06:47: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
Andrew Ozz 6db1862bd7 Fix race condition with autosave when clicking Publish immediately after entering post title, fixes #6728
git-svn-id: https://develop.svn.wordpress.org/trunk@11879 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-26 04:11:16 +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 4650599007 Clean up white space in class-json.php
git-svn-id: https://develop.svn.wordpress.org/trunk@11877 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-25 08:11:07 +00:00
Andrew Ozz e70491eae3 Remove background from .button[disabled]
git-svn-id: https://develop.svn.wordpress.org/trunk@11876 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-25 07:50:29 +00:00
Andrew Ozz aca0f9160d Add JSON compat for PHP < 5.2, props Viper007Bond, see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@11875 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-25 07:48:59 +00:00
Andrew Ozz 61c97aba16 Clean up .button and .button[disabled] CSS classes, add spinner and gray-out buttons after clicking Publish or Update post.
git-svn-id: https://develop.svn.wordpress.org/trunk@11874 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-25 05:14:49 +00:00
Andrew Ozz ca608e336a Don't let contributors to re-publish their trashed posts, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11873 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-24 20:48:31 +00:00
Andrew Ozz 00de237f0c Fix notice in wp-admin/includes/post.php, props harrym, fixes #10678 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11871 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-24 19:39:08 +00:00
Andrew Ozz 7d5aff1305 Fix error in widgets.js, props Denis-de-Bernardy, see #10021
git-svn-id: https://develop.svn.wordpress.org/trunk@11870 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-24 19:16:53 +00:00
Ryan Boren 6bee1ea91d Canonical redirect for attachment_id queries that have a permalink.
git-svn-id: https://develop.svn.wordpress.org/trunk@11869 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-24 18:03:49 +00:00