Commit Graph

5116 Commits

Author SHA1 Message Date
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
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 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 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
Peter Westwood e2902ac3c7 Add rel attribute to next/previous post links. Fixes #4209 props vladimir_kolesnikov
git-svn-id: https://develop.svn.wordpress.org/trunk@11866 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-21 17:12:25 +00:00
Ryan Boren 736f389167 Machine parseable db error codes. Props dd32. fixes #10293
git-svn-id: https://develop.svn.wordpress.org/trunk@11865 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-21 17:00:53 +00:00
Ryan Boren b95bda13b0 Force correct feed type for wfw:CommentRss element. Props peaceablewhale. fixes #10016
git-svn-id: https://develop.svn.wordpress.org/trunk@11864 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-21 16:45:41 +00:00
Andrew Ozz 94b7195164 Show correct max upload filesize error message, props dd32, fixes #10495
git-svn-id: https://develop.svn.wordpress.org/trunk@11863 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-21 12:03:02 +00:00
Ryan Boren 3e35ee1c6a Pass correct old status when transitioning comment status. Props hakre. fixes #8863
git-svn-id: https://develop.svn.wordpress.org/trunk@11860 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-21 01:27:01 +00:00
Andrew Ozz 772140e60f More jQuery based scripts optimizations, props Denis-de-Bernardy, see #10021
git-svn-id: https://develop.svn.wordpress.org/trunk@11858 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-21 01:03:26 +00:00
Ryan Boren 02e169ce23 Minify admin CSS. see #10664
git-svn-id: https://develop.svn.wordpress.org/trunk@11857 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-20 21:12:33 +00:00
Peter Westwood 885fce4ea9 Replace eval usage in request processing with new WP_MatchesMapRegex() class usage. See #9602 props hakre.
git-svn-id: https://develop.svn.wordpress.org/trunk@11853 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-20 20:09:36 +00:00
Peter Westwood 50bb241850 Move _wp_get_user_contactmethods() into the registrations functions file so it is always available when required. Fixes #10662.
git-svn-id: https://develop.svn.wordpress.org/trunk@11852 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-20 19:51:43 +00:00
Peter Westwood f55835e0db Pass the to the {get_}the_author_meta filters. Fixes #10661 props scribu
git-svn-id: https://develop.svn.wordpress.org/trunk@11849 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-20 16:21:44 +00:00
Peter Westwood eaf2709b64 Treat comma, colon and semi-colon the same way.
git-svn-id: https://develop.svn.wordpress.org/trunk@11848 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-20 07:58:41 +00:00
Peter Westwood 6ef85440d4 Ensure that drafts viewed over XMLRPC have a correct gmt date set. Fixes #10244 for trunk props josephscott.
git-svn-id: https://develop.svn.wordpress.org/trunk@11846 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-20 06:59:02 +00:00
Andrew Ozz 212f2ce180 Better regex for [11844]
git-svn-id: https://develop.svn.wordpress.org/trunk@11845 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-20 00:19:00 +00:00
Andrew Ozz 46e1de4878 Removed trailing .) from the URL in make_clickable()
git-svn-id: https://develop.svn.wordpress.org/trunk@11844 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-19 23:56:10 +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
Ryan Boren 1a2506c493 Don't show comments template if post is empty
git-svn-id: https://develop.svn.wordpress.org/trunk@11839 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-18 19:33:56 +00:00
Ryan Boren f4f70a6479 Prophylactic escapes
git-svn-id: https://develop.svn.wordpress.org/trunk@11838 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-18 16:05:07 +00:00
Andrew Ozz 5a36aa00cd Speed up jQuery based scripts, props Denis-de-Bernardy, see #10021
git-svn-id: https://develop.svn.wordpress.org/trunk@11837 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-18 09:53:37 +00:00
Ryan Boren b1447aa6a4 Kill entity check in wp_blacklist_check(). Props tellyworth. fixes #9965
git-svn-id: https://develop.svn.wordpress.org/trunk@11836 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-17 01:38:01 +00:00
Andrew Ozz 49de179229 Don use has_action() before do_action() in http.php, props Viper007Bond, fixes #10625
git-svn-id: https://develop.svn.wordpress.org/trunk@11835 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-16 22:43:48 +00:00
Peter Westwood 9a5c426226 Make the operator precedence obvious by using parenthesis.
git-svn-id: https://develop.svn.wordpress.org/trunk@11829 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-16 06:30:52 +00:00
Andrew Ozz 5d667146b8 Do not use lambda functions in wp_kses_decode_entities(), props mdawaffe, fixes #10623
git-svn-id: https://develop.svn.wordpress.org/trunk@11828 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-16 05:58:39 +00:00
Andrew Ozz 830ecf4108 Increase timeout on cron-based requests when checking for upgrades, props dd32, fixes #10349
git-svn-id: https://develop.svn.wordpress.org/trunk@11826 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-16 04:59:38 +00:00
Andrew Ozz 8c31996e6a Check if EXIF extension is loaded, props dd32, fixes #10613
git-svn-id: https://develop.svn.wordpress.org/trunk@11825 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-16 04:50:10 +00:00
Andrew Ozz 987dcbda89 Fix warning in wp-admin/widgets.php when using Accessibility Mode on brand new install, fixes #10610
git-svn-id: https://develop.svn.wordpress.org/trunk@11824 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-16 01:56:21 +00:00
Andrew Ozz 5e8dbc10cd Fix displaying pages and attachments, props dd32, see #10605
git-svn-id: https://develop.svn.wordpress.org/trunk@11822 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-15 10:57:56 +00:00
Mark Jaquith 14ac0702da Always respect custom post_type in queries. props dd32, filosofo. fixes #10605
git-svn-id: https://develop.svn.wordpress.org/trunk@11817 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-15 03:28:03 +00:00
Peter Westwood 9e32cf358c Support location of category templates based on category slug as well as id. Fixes #10614 based on patch from scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@11814 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-14 16:56:51 +00:00
Peter Westwood ddbdf401d4 Fix wptexturisation of quotes when enclosed by brackets. Fixes #1418 props voyou1.
git-svn-id: https://develop.svn.wordpress.org/trunk@11813 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-14 16:43:22 +00:00
Ryan Boren e01eb2fd26 Apply get_edit_post_link filter. Props prettyboymp. fixes #10579
git-svn-id: https://develop.svn.wordpress.org/trunk@11795 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-10 16:33:42 +00:00
Andrew Ozz 962116a319 Strip slashes in the text widget for users without the unfiltered_html capability, props jamescollins, fixes #10563
git-svn-id: https://develop.svn.wordpress.org/trunk@11794 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-09 12:32:18 +00:00
Peter Westwood 599246431b Pass the widget instance as context to the widget_title and widget_text filters. Fixes #10573 props Viper007Bond.
git-svn-id: https://develop.svn.wordpress.org/trunk@11792 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-09 10:35:28 +00:00
Andrew Ozz ad9e217bf4 Don't do autosave while the TinyMCE spellchecker is active (it strips all the markup), fixes #10515
git-svn-id: https://develop.svn.wordpress.org/trunk@11790 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-08 09:03:56 +00:00
Peter Westwood 2cd8ded9aa Pass the filename to the wp_feed_cache_transient_lifetime filter to give the plugins some context. Fixes #10565 props dd32.
git-svn-id: https://develop.svn.wordpress.org/trunk@11787 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-07 17:17:40 +00:00
Peter Westwood 10360549ba Make it much easier to filter contact methods from user profiles adding and removing at will. Fixes #10240 props joostdevalk.
git-svn-id: https://develop.svn.wordpress.org/trunk@11784 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-06 21:59:52 +00:00
Peter Westwood dcf3026244 Correct the name of the filter in _nx(). Fixes #10540 props CalebKniffen.
git-svn-id: https://develop.svn.wordpress.org/trunk@11780 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-06 19:27:52 +00:00
Ryan Boren 7bc6b530f2 rel=canonical for singular pages. see #10115
git-svn-id: https://develop.svn.wordpress.org/trunk@11777 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-05 16:43:51 +00:00
Andrew Ozz dd4f9603cb Sanitize $include and $exclude in the gallery shortcode
git-svn-id: https://develop.svn.wordpress.org/trunk@11776 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-05 05:56:00 +00:00
Peter Westwood c37c59c0b7 Ensure that users_can_register is sanitised correctly. See #10454 props josephscott.
git-svn-id: https://develop.svn.wordpress.org/trunk@11772 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-04 21:28:42 +00:00
Andrew Ozz 6508558092 Add support for 'include' and 'exclude' to [gallery] (include="123,456" would show only these attachments regardless of the parent post, exclude="789,123" would exclude these attachments and show the rest).
git-svn-id: https://develop.svn.wordpress.org/trunk@11771 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-04 07:32:18 +00:00