Commit Graph

8798 Commits

Author SHA1 Message Date
azaozz 95e8b34104 Postpone warnings when WP_DEBUG and WP_DEBUG_DISPLAY are set, see #18453
git-svn-id: http://svn.automattic.com/wordpress/trunk@18747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 02:27:00 +00:00
nacin 12bc347475 Detect current menu items for root-relative URLs. props filosofo, fixes #15954.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 02:25:57 +00:00
koopersmith 723e50230e Add new 'about this version' page (with filler content) and menu item. see #18742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 23:20:26 +00:00
azaozz 1cdd3d5154 Fix inconsistent css handling of .wide-screen, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 21:44:44 +00:00
duck_ 2fb95a133d wp_strip_all_tags() in wp_trim_words() to remove CSS and JS within tags. Props evansolomon. Fixes #18726.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 20:39:21 +00:00
ryan 3c2ba4afed Pass the authenticated user_login to the wp_login action. Props Otto42, SergeyBiryukov. fixes #15473
git-svn-id: http://svn.automattic.com/wordpress/trunk@18741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 20:26:39 +00:00
ryan 69a52799a5 Do not output title attributes in the page walker since they match the anchor and are thus superfluous. Props logiclord. fixes #16783
git-svn-id: http://svn.automattic.com/wordpress/trunk@18739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 20:04:14 +00:00
ryan 7aedd7ec52 Run the sanitize_option_* filter for all options in sanitize_option(). Add some sanity checks for the permalink options while in there. fixes #18737
git-svn-id: http://svn.automattic.com/wordpress/trunk@18738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 19:05:06 +00:00
azaozz 4228aa301c Remove the scrollbar from the login screen, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 18:47:12 +00:00
azaozz ffca93b1f2 Responsive admin improvements for the dashboard, new/write screens and links screens, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 06:16:24 +00:00
duck_ b225e5b626 Rescue those who created menu items before r18733. Trim menu item descriptions. See #16799.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 22:57:47 +00:00
duck_ bc3b3aed4d Make new nav menu items have a blank description and attr_title. See #16799.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 21:58:37 +00:00
duck_ 8cfc0fa5ec Abstract word-trimming from wp_trim_excerpt() into wp_trim_words(). Props nacin. Fixes #16372.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 17:14:23 +00:00
azaozz 456753acce Remove redundant userinfo styling, props ocean90 and SergeyBiryukov, see #18197
git-svn-id: http://svn.automattic.com/wordpress/trunk@18730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 03:37:17 +00:00
azaozz eba25e47a6 Merge all border-radius: 3px, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 03:02:53 +00:00
azaozz 7210ddb762 Quicktags: fix closing of the first tag in an empty textarea, allow closing of all tags without the button, see #16695
git-svn-id: http://svn.automattic.com/wordpress/trunk@18727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 02:22:43 +00:00
azaozz f4acbe5a0a Remove unnecessary vendor prefixes, props ocean90, see #18700
git-svn-id: http://svn.automattic.com/wordpress/trunk@18726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-20 01:27:14 +00:00
azaozz 64da76d23e Fix quicktags buttons fir self-closing tags, remove unneeded arg when adding a button, see #16695
git-svn-id: http://svn.automattic.com/wordpress/trunk@18725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 20:47:20 +00:00
ryan bad1132fdf Mark some string in dead_db() for translation. Props mako09, SergeyBiryukov. fixes #17815
git-svn-id: http://svn.automattic.com/wordpress/trunk@18724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 20:21:39 +00:00
ryan 2b9750b3e4 phpdoc typo fixes for get_template_part(). Props dgwyer, SergeyBiryukov. fixes #18555
git-svn-id: http://svn.automattic.com/wordpress/trunk@18723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 19:01:03 +00:00
duck_ 698957e40e Add post formats to quick edit and bulk edit. Fixes #18083.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 17:02:58 +00:00
duck_ 6e2ffdc289 Allow current_theme_supports() to be used to check for specific post formats. Props ericmann. Fixes #18691.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 16:29:03 +00:00
azaozz c748eaf1f0 Remove dependency from ie.css, props SergeyBiryukov, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 16:28:53 +00:00
dd32 f40bc45b6f Add inflation support for java.util.zip.Deflater in WP_Http_Encoding::compatible_gzinflate(). Fixes #18273
git-svn-id: http://svn.automattic.com/wordpress/trunk@18718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 14:43:43 +00:00
westi 5eef6313ef Improve the parsing of email addresses in wp_mail to re-support RFC2822 nameless "<address@tld.com>" style. Fixes #18463 props kitchin and SergeyBiryukov.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 14:30:50 +00:00
westi 0826f08315 Set up the post global variable in the comment feed loops so that any calls to post related template tags work correctly.
Ensures that atom feeds show threading for top-level comments correctly.
Fixes #14908 props solarissmoke and SergeyBiryukov.

git-svn-id: http://svn.automattic.com/wordpress/trunk@18716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 12:39:59 +00:00
westi 738904e996 Escape the dot so that it only matches dot any not any character in the old feed files redirect.
Bump the db version so the rules regenerate.
See #18384

git-svn-id: http://svn.automattic.com/wordpress/trunk@18715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 12:15:43 +00:00
dd32 4752a8a1aa Add documentation for floats (%f) to wpdb::prepare() and friends. Props dllh. Fixes #18407
git-svn-id: http://svn.automattic.com/wordpress/trunk@18714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 05:15:44 +00:00
dd32 bd5cf872c6 Allow Apostrophes in Post Passwords. $_POST and $_COOKIE are always slashed. Fixes #17145
git-svn-id: http://svn.automattic.com/wordpress/trunk@18712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 04:17:26 +00:00
dd32 085ba95a60 Fix wp_list_filter() OR operator. Props kevinB. Fixes #18092
git-svn-id: http://svn.automattic.com/wordpress/trunk@18711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 03:59:52 +00:00
azaozz 4b38d0833e Add TinyMCE command to handle opening of the upload/insert popup, fix the shortcut "Alt+Shift+M", fix the "image" button in DFW, fixes #17992, fixes #18697, see $17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 00:47:23 +00:00
koopersmith 7efa3a5df8 Add pointers feature, and pointer to admin bar, props nacin for PHP bits, see #18693.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 21:17:09 +00:00
nacin e5ca4fea40 Strip a number of special characters in sanitize_title_with_dashes on save. Includes quotes (curly, angle), dashes, marks, etc. props SergeyBiryukov. props ampt for the unit tests in [UT438]. see #10797.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 19:53:59 +00:00
azaozz 80720acfc4 Importers and Install themes thickbox fixes, props helenyhou, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 19:39:49 +00:00
azaozz 9601be8055 Add the styling for "drop area" to Media->Add New, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 17:03:34 +00:00
azaozz 4428b4c435 Improve the image drag-resize detection in the visual editor (supported in FF and IE only), remove the size-* class if the image is soft-resized, see #18107
git-svn-id: http://svn.automattic.com/wordpress/trunk@18702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 03:00:13 +00:00
azaozz ae2219cd30 Update plupload to 1.5b and add "drop area" for drag and drop uploading, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 02:25:23 +00:00
nacin 2ee655428d Force the admin bar on in the admin as it is now integrated. Removes the second UI option. Leaves out the upgrade routine for now. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-17 22:26:01 +00:00
nacin b3dfd9e953 is_main_query(). fixes #18677.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-17 20:46:35 +00:00
dd32 b7080959f6 Use http_build_query in the Core Update check to encode version numbers. Props kurtpayne. Fixes #18051
git-svn-id: http://svn.automattic.com/wordpress/trunk@18697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-17 09:14:27 +00:00
koopersmith 053fb714ba Improve comments item in admin bar. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-17 01:11:52 +00:00
koopersmith b188bea4c8 Admin bar styles, take 1. Props iammmattthomas, see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-17 00:41:04 +00:00
azaozz f6b2da9388 The rest of add missing var in postbox.js, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 23:28:40 +00:00
duck_ c93578bfbe Fix several CSS syntax errors. Props demetris. Fixes #18640.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 20:41:47 +00:00
westi 34dbc01722 Remove the unimplemented user locale code in the admin bar until we actually implement it for real.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 11:12:37 +00:00
westi 0b4bd67034 Get out quick if we have been passed the ID of the 'logged out' user.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 10:57:31 +00:00
westi 96b942e891 We don't need to do this if the user isn't logged in.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 10:56:06 +00:00
westi a38314000b Don't try showing these links to non-logged in users either.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 10:50:55 +00:00
westi a10f6eba7f Don't show this menu for users who are not logged in.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 10:46:12 +00:00
koopersmith 5a7a91af5f Show correct blogs in the admin bar sites menu. see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 07:18:05 +00:00
koopersmith 9229f1f7ed Improve appearance of Screen Options/Help panels, see #18197.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 07:10:04 +00:00
koopersmith 834dc9ff5e Admin bar UX improvements. First pass, see #18197
git-svn-id: http://svn.automattic.com/wordpress/trunk@18683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 05:01:54 +00:00
duck_ e085f4f0d6 Remove the non_existent_objects property from WP_Object_Cache. Fixes #16274.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 20:28:06 +00:00
duck_ cda68f14f9 Introduce wp_suspend_cache_addition() to allow reduced memory usage when cache additions aren't useful. Fixes #5389.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 20:23:00 +00:00
nacin a96e0dff91 Remove support for <link rel=start>, end, up, and index. These rel="" values have been dropped by the HTML Working Group. props Elpie, kawauso, fixes #18128.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 16:54:59 +00:00
westi 05ea44afea Remove the accidental commit of the cache avoiding test code in [18677] props vnsavage
git-svn-id: http://svn.automattic.com/wordpress/trunk@18679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 10:43:22 +00:00
westi 1b6398d64b A little bit of whitespace keeps the code readable.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 10:09:45 +00:00
westi 5405bd3838 Set a consistent cache key when using the_widget to display the Recent Posts and Recent Comments widgets so that they get cached. See #16761.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 10:08:43 +00:00
westi 7fd6ab93c3 Fix Notices in default Widgets when called using the_widget(). Fixes #16761 props mfields and SergeyBiryukov
git-svn-id: http://svn.automattic.com/wordpress/trunk@18676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 09:41:17 +00:00
azaozz 2605391379 Improve handling of plupload init and add a filter, stop including cookies in the init (not needed with plupload), see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 05:30:58 +00:00
azaozz bff7722dd1 Responsive themes screen, props helenyhou, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 04:26:26 +00:00
azaozz c032d9a1ed Limit max width of .widefat list tables, props helenyhou, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-14 21:08:44 +00:00
azaozz ee74f3a9a6 Responsive tag and category pages, props saracannon, see #18189
git-svn-id: http://svn.automattic.com/wordpress/trunk@18669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-14 21:03:13 +00:00
azaozz d868f40f99 Revert [18664] and handle any similar cases separately, props SergeyBiryukov, fixes #16810, fixes #18656
git-svn-id: http://svn.automattic.com/wordpress/trunk@18668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-14 20:23:33 +00:00
azaozz debc12b386 Auto-column switching for the dashboard (js based), see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-14 07:02:46 +00:00
azaozz b55485592b Make DFW content width match exactly the reported width from the theme, props helenyhou, fixes #18138
git-svn-id: http://svn.automattic.com/wordpress/trunk@18666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-13 20:03:28 +00:00
nacin 020e620769 Use get_template_part() in get_header(), get_sidebar(), get_footer(). props scribu, see #18331.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-13 16:17:14 +00:00
azaozz 01d0ae4ad9 Make hide-if-no-js and hide-if-js important, props solarissmoke, fixes #16810
git-svn-id: http://svn.automattic.com/wordpress/trunk@18664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-13 02:52:02 +00:00
nacin feb2ba5831 Allow get_blog_option(null,...) to hit the cache for the current blog. New return values for add_blog_option, update_blog_option, delete_blog_option. Don't set the cache in those functions if add/update/delete_option failed. see #17883.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-11 18:53:09 +00:00
nacin 4319712d64 Rename 'Post Tags' to 'Tags'. props scribu, fixes #17683.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-11 17:52:46 +00:00
azaozz 2404c9cdf0 TinyMCE 3.4.5, fixes #18107
git-svn-id: http://svn.automattic.com/wordpress/trunk@18660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-09 20:08:40 +00:00
ryan 5ebcc1d3ea Improve cron locking. Avoid multiple cron processes looping over the same events. fixes #17462
git-svn-id: http://svn.automattic.com/wordpress/trunk@18659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-09 19:59:44 +00:00
nacin 01073d5f3c Add phpdoc for default arg for get_option(). props amereservant, solarissmoke, fixes #17819.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-09 17:53:41 +00:00
nacin c8cdb0cd3d Update blog last_updated time only on publish_post. Both private_to_published and publish_phone are overly broad and otherwise redundant. props mdawaffe, fixes #18624.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-09 17:49:30 +00:00
azaozz dc936c54c1 Rename the newly added action 'after_theme_change' to 'after_switch_theme' so it matches the 'switch_theme' action, props scribu, see #17979
git-svn-id: http://svn.automattic.com/wordpress/trunk@18656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-08 20:59:41 +00:00
azaozz c00346820f Make check_theme_switched() run an action so this enhancement is available to plugins and themes too, see #17979
git-svn-id: http://svn.automattic.com/wordpress/trunk@18655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-08 20:07:15 +00:00
azaozz b79223097c Use theme mods instead of transients for storing the previous theme's widgets config, props aaroncampbell, see #17979
git-svn-id: http://svn.automattic.com/wordpress/trunk@18654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-08 19:25:20 +00:00
ryan 6e68c7bfd9 Update cache.php phpdoc. Props SergeyBiryukov. fixes #18607
git-svn-id: http://svn.automattic.com/wordpress/trunk@18653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-08 17:19:09 +00:00
ryan 23db619491 Don't send page slugs through prepare() to avoid breaking octets in i18n page slugs. Props SergeyBiryukov. see #10249 #166687
git-svn-id: http://svn.automattic.com/wordpress/trunk@18652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-08 17:17:17 +00:00
duck_ c8a4ab1b4c Only add the post format body classes when the post type supports post formats. props ocean90. fixes #18228.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-07 20:10:42 +00:00
duck_ 6841d365e5 Don't hide the comment reply or quick edit row if an error is returned. Props ocean90. Fixes #18350.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-07 19:48:25 +00:00
nacin 12becdf50d Add a filter to is_multi_author(). props Viper007Bond, fixes #18600.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-07 13:53:53 +00:00
nacin db6765354d s/robot/robots/. props madjax, fixes #18612.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-07 13:45:06 +00:00
ryan 4410168419 Standardize variable names. Consistently use and . fixes #18607
git-svn-id: http://svn.automattic.com/wordpress/trunk@18644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-06 21:13:11 +00:00
nacin f855a18bc1 trailingslashit isn't normally available in ms-files. props davecpage, fixes #18592.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-06 15:41:57 +00:00
duck_ 2f51b9be0d Fix typos in documentation (wp-includes/[i-z]). See #18560.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-05 19:08:15 +00:00
nacin d6fe2825c9 Force a trailing slash on BLOGUPLOADDIR in ms-files.php. props wonderboymusic, see #18592.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-05 16:55:05 +00:00
nacin a4c18fc053 Use untrailingslashit in url_shorten() and recurse_dirsize(). Remove unnecessary camelCase variables. see #18592.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-05 16:53:19 +00:00
azaozz 21dc8794bc Remove unneeded .siblings() from widgets.js, props aaroncampbell, fixes #18582
git-svn-id: http://svn.automattic.com/wordpress/trunk@18634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-03 21:19:36 +00:00
duck_ e4ed63fc6f Fix typos in documentation (wp-includes/[a-h]). See #18560.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-03 16:02:41 +00:00
azaozz d83b14c165 Moves orphaned sidebars to main content area above Inactive Widgets, props aaroncampbell, see #17979
git-svn-id: http://svn.automattic.com/wordpress/trunk@18631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-03 03:01:11 +00:00
azaozz 4852c5887f Avoid losing widgets when switching themes - take one, props aaroncampbell, see #17979
git-svn-id: http://svn.automattic.com/wordpress/trunk@18630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-02 22:13:55 +00:00
nacin 1fd69ecf36 s/hask/hack/. props scribu, see #16695.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-02 21:25:42 +00:00
azaozz 41e5e2d81e More quicktags back-compat, see #16695
git-svn-id: http://svn.automattic.com/wordpress/trunk@18628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-02 20:40:47 +00:00
markjaquith 31a016614d Cast to array in get_page_by_path() foreach
git-svn-id: http://svn.automattic.com/wordpress/trunk@18627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-31 06:46:16 +00:00
azaozz 63969dbca7 Toggle class 'responsive' on div.wrap when auto columns is toggled, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-30 23:18:18 +00:00
azaozz 7865d5c451 Disable js moving of dashboard postboxes, add all of them in the first column on 'auto', see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-30 22:29:37 +00:00
azaozz c5bf0c0903 Fix typo in quicktags.js, props westi, see #16695
git-svn-id: http://svn.automattic.com/wordpress/trunk@18623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-30 17:50:12 +00:00
koopersmith 51fa6f62f2 Switch admin menus to flyouts from dropdowns. First pass, see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-30 01:12:26 +00:00
azaozz 81871e05b4 Fix silverlight uploading when not resizing files on the fly, props kurtpayne, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-29 23:59:22 +00:00
azaozz b9d9d11f4e Fix styling and quicktags error in press this, see #16695
git-svn-id: http://svn.automattic.com/wordpress/trunk@18619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-28 20:48:05 +00:00
dd32 ef278df299 Store Plugin/Theme uploads in the Media Library properly. Add Scheduled cleanup +2hrs to clean up any aborted installation attempts. See #18182
git-svn-id: http://svn.automattic.com/wordpress/trunk@18617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-28 08:42:07 +00:00
dd32 f1ac48873b Display 'Edit Media' instead of 'Edit Post' for Attachments/Media in the admin bar. Props johnbillion. Fixes #18529
git-svn-id: http://svn.automattic.com/wordpress/trunk@18613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-28 03:39:06 +00:00
azaozz 6ebdf41b50 Properly reset vars, see #16695
git-svn-id: http://svn.automattic.com/wordpress/trunk@18612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-27 16:30:36 +00:00
azaozz a8df969ac9 Improve quicktags back-compat, add method instance.getButtonElement(id), see #16695
git-svn-id: http://svn.automattic.com/wordpress/trunk@18611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-26 23:30:01 +00:00
azaozz 07d81969bd Fix action 'wp_print_footer_scropts' (on the front-end), see #11520
git-svn-id: http://svn.automattic.com/wordpress/trunk@18610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-26 20:31:30 +00:00
azaozz 12c6ba5771 Fix TimyMCE init when launching DFW and respect wpautop setting there, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-26 19:33:14 +00:00
azaozz 4e323dd08f Improve auto column switching for post.php, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-25 22:55:39 +00:00
ryan 978a5984b4 Properly handle nested arrays in wp_list_filter(). Props scribu, SergeyBiryukov. fixes #16137
git-svn-id: http://svn.automattic.com/wordpress/trunk@18606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-25 19:50:29 +00:00
ryan 19c3608dcc Remove unused global. Props ocean90. fixes #18484
git-svn-id: http://svn.automattic.com/wordpress/trunk@18605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-25 19:35:22 +00:00
ryan 14da950982 Don't set the site_name cache on every call to get_current_site_name(). Props mark-k, solarissmoke. fixes #16676
git-svn-id: http://svn.automattic.com/wordpress/trunk@18604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-25 19:29:47 +00:00
ryan 58379895e5 Support fields = slugs in wp_get_object_terms(). Props lancewillett, SergeyBiryukov. fixes #15835
git-svn-id: http://svn.automattic.com/wordpress/trunk@18603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-25 18:49:46 +00:00
ryan 8edc944b01 wp_list_pluck() performance improvement. Props Otto42. fixes #18230
git-svn-id: http://svn.automattic.com/wordpress/trunk@18602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-25 18:22:17 +00:00
ryan c7e870877c Use update_blog_details() in wpmu_update_blogs_date(). Props jakub.tyrcha. fixes #18122
git-svn-id: http://svn.automattic.com/wordpress/trunk@18601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-25 18:01:49 +00:00
ryan 8edd1656f7 Handle null user ID in the WP_User constructor. Props kawauso. fixes #17894
git-svn-id: http://svn.automattic.com/wordpress/trunk@18598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 19:47:35 +00:00
ryan 0f06334e11 Introduce metadata_exists(), WP_User::get_data_by(), WP_User::get(), WP_User::has_prop(). Don't fill user objects with meta. Eliminate data duplication in cache and memory. Props scribu. see #15458
git-svn-id: http://svn.automattic.com/wordpress/trunk@18597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 19:32:59 +00:00
westi 0c0e2c180f Whitespace and code layout tidyup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 10:59:06 +00:00
westi de05fd1569 Parse shortcodes in text widgets by default. Fixes #10457 props tmoorewp, sillybean, jamescollins.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 10:54:48 +00:00
westi 76eb5b8138 Optimise get_term to not query for term_id = 0. Also improve the prepared query to use %d for the term_id.
Fixes #18076 props mdawaffe.

git-svn-id: http://svn.automattic.com/wordpress/trunk@18591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 10:39:52 +00:00
duck_ c06290958b Allow update_site_option to add false-y values. Fixes #15497
git-svn-id: http://svn.automattic.com/wordpress/trunk@18589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-23 21:12:14 +00:00
duck_ 7213d24276 Use get_site_option in add/update_site_option for caching and filtering benefits. fixes #18478
git-svn-id: http://svn.automattic.com/wordpress/trunk@18588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-23 20:45:48 +00:00
duck_ 56f6f97125 add_site_option should not update existing options, should return a boolean and should only run actions on success. fixes #18422
git-svn-id: http://svn.automattic.com/wordpress/trunk@18587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-23 20:24:35 +00:00
nacin d5cf830175 Add 'q' tag to nestable tags list in force_balance_tags(). props solarissmoke, fixes #6870.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-23 15:37:38 +00:00
nacin 3ee964c10c Check for comment existence before checking edit_comment meta cap. props xknown, fixes #18104.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-23 10:22:34 +00:00
azaozz 18fd646bc3 Auto column switching (post.php only for now), see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-22 19:41:11 +00:00
ryan c93728e287 Introduce wp_cache_incr() and wp_cache_decr(). fixes #18494
git-svn-id: http://svn.automattic.com/wordpress/trunk@18580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-22 17:39:44 +00:00
azaozz 3d679a03e2 Merge colors*.css with colors*-rtl.css, props ryanimel, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-22 16:44:02 +00:00
azaozz ba3ad76771 Merged install.css with install-rtl.css (it is used only when installing so it makes sense to be a separate stylesheet), merged farbtastic.css with farbtastic-rtl.css, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-21 15:38:14 +00:00
azaozz 1cdec6ff6e Merge most admin css files, first run, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-21 03:46:43 +00:00
azaozz 6041cd0410 Fix QTags.closeAllTags(), replace 'tb' with 'ed' in quicktags,js to make it clear it is the editor instance not the toolbar, small comments quick edit fixes, see #16695, fixes #15911
git-svn-id: http://svn.automattic.com/wordpress/trunk@18576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-20 19:55:51 +00:00
azaozz 35f5d1cefb Fix the "close tags" button in quicktags, props SergeyBiryukov, see #16695
git-svn-id: http://svn.automattic.com/wordpress/trunk@18575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-19 21:23:31 +00:00
dd32 e91e6de814 Clarify %d is an integer in wpdb documentation. See #18407
git-svn-id: http://svn.automattic.com/wordpress/trunk@18573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-19 15:01:35 +00:00
dd32 cb90791f8e Load all Parent theme stylesheets before Child theme stylesheets in the TinyMCE Editor. props SergeyBiryukov. Fixes #18457
git-svn-id: http://svn.automattic.com/wordpress/trunk@18572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-19 14:56:34 +00:00
dd32 8c51c16803 Only include extra TinyMCE stylesheets once. props SergeyBiryukov. Fixes #18456
git-svn-id: http://svn.automattic.com/wordpress/trunk@18571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-19 14:47:45 +00:00
azaozz 97ff3b4c7a Fix Press This editors, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-19 01:14:56 +00:00
nacin e3117daaa8 Remove old $base/BASE MU check. props mdawaffe, fixes #18479.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-18 22:27:30 +00:00
duck_ 48974fa6e2 add_option() should always return a boolean, see #18422
git-svn-id: http://svn.automattic.com/wordpress/trunk@18567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-18 18:17:37 +00:00
duck_ 0995987f25 Fix rewrite documentation typo and clarify with "rules array" over "this/the structure". props SergeyBiryukov. see #16687
git-svn-id: http://svn.automattic.com/wordpress/trunk@18566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-18 17:57:22 +00:00
nacin ba5c2141bb Some more class instantiations. props eko-fr, fixes #18049.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-18 06:16:57 +00:00
nacin 51ca772adf Call _doing_it_wrong() individually in wp_scripts and wp_styles functions. Partially reverts [18556], [18557], removes wp_styles_init(), wp_scripts_init(). fixes #11526.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-17 21:02:43 +00:00
nacin e53fe816b2 Instantiate some MS variables as objects before using them. Spaces not tabs for vertical alignment. Remove unnecessary conditional piece. props PeteMall, see #18049.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-17 17:49:57 +00:00
westi ec3476720e Fix html for back link in _default_wp_die_handler. Fixes #18459 props tenpura.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-17 10:54:48 +00:00
dd32 6fa755e68e Harden up is_user_logged_in() against empty $current_user instances to prevent PHP Notices on XML-RPC requests. Fixes #18458
git-svn-id: http://svn.automattic.com/wordpress/trunk@18558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-17 08:51:36 +00:00
azaozz 7140ac9bf4 Don't call debug_backtrace() in wp_scripts_init() and wp_styles_init(), props dd32, see #11526
git-svn-id: http://svn.automattic.com/wordpress/trunk@18557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-17 06:26:41 +00:00
azaozz e5e90d732b Add _doing_it_wrong() when a plugin or theme accesses $wp_scripts or $wp_styles too early (also fixes localization), props SergeyBiryukov, fixes #11526
git-svn-id: http://svn.automattic.com/wordpress/trunk@18556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-17 05:48:13 +00:00
azaozz 87dff720e9 Fix (temporarily?) the spacing between the uploader buttons on the dashboard, props SergeyBiryukov and andrewryno, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-16 04:54:51 +00:00
duck_ 7abbb42d7e Replace regex in path_is_absolute() with simpler equality checks. props coffee2code. fixes #17754
git-svn-id: http://svn.automattic.com/wordpress/trunk@18551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-16 00:21:56 +00:00
nacin 2bdadbcc52 Break HTML comment up into two lines to prevent phpxref from choking on the rest of functions.php. props trepmal, fixes #18409.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-15 04:51:41 +00:00
westi 35838967a7 Add a general filter to wp_unique_post_slug to allow for full customisation of the uniqueness functionality. Fixes #14111.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-13 21:00:24 +00:00
nacin 50f5ad2216 Force display_errors to off when WP_DEBUG_DISPLAY == false. Technically a backwards incompatible change - if you want the passthrough to php.ini (which false used to provide) then use WP_DEBUG_DISPLAY === null. see #18391.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-13 18:59:05 +00:00
nacin 31e6144688 Pedantic whitespace in validate_file().
git-svn-id: http://svn.automattic.com/wordpress/trunk@18543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-13 06:10:02 +00:00
markjaquith 054b4f8800 bump the db
git-svn-id: http://svn.automattic.com/wordpress/trunk@18542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-12 02:03:29 +00:00
markjaquith 4a610eaa7b Eliminate verbose rewrite rules for ambiguous rewrite structures, resulting in massive performance gains. props andy, otto42, duck_. Nice work everyone! see #16687
git-svn-id: http://svn.automattic.com/wordpress/trunk@18541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-12 01:55:08 +00:00
nacin 3fb35c6739 Remove the old root feed files. Bump the db version so rewrite rules can regenerate. Don't add these files to old_files to leave them on existing installs. fixes #18384.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-12 01:41:23 +00:00
markjaquith 26c33f2341 Whitespace oops
git-svn-id: http://svn.automattic.com/wordpress/trunk@18539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 23:57:33 +00:00
markjaquith 9de72e9bfd Direct rdf/rss redirects, to save a double redirect. props westi. see #4967
git-svn-id: http://svn.automattic.com/wordpress/trunk@18538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 23:45:02 +00:00
markjaquith 7689657c90 Deprecate RSS 0.92 and RDF feeds, and 301 them to the default feed. props johnpbloch. fixes #4967
git-svn-id: http://svn.automattic.com/wordpress/trunk@18537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 23:30:59 +00:00
westi e8f9ea22eb Move the CSS inline to wp_die so that it is always available. Fixes #17975, props kawauso for the style type update.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 19:06:59 +00:00
nbachiyski abe8b47351 Explicitly globalize some variables, so that unit tests can run WordPress inside a function. Fixes #17749
git-svn-id: http://svn.automattic.com/wordpress/trunk@18532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 04:45:14 +00:00
nbachiyski 688eebdc26 Sync pomo library with the current GlotPress version
git-svn-id: http://svn.automattic.com/wordpress/trunk@18528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-11 04:29:35 +00:00
nacin 90f6899dd1 Use preg_match more efficiently. props solarissmoke, fixes #17287.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-10 19:18:18 +00:00
nacin 5372572b3d Overflow:auto for pre tags in the plugin information popup. props Simek, fixes #16902.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-10 19:17:26 +00:00
nacin c3c4ced486 Pass old value to update_site_option hooks. props westi, fixes #17974.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-10 18:59:50 +00:00
azaozz 83c377a8ef WP_Editor: don't show empty div if no editor-buttons and media-buttons are shown, props ocean90, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-07 17:03:18 +00:00
azaozz c70ac59b6e Fix i18n for wp_editor, props SergeyBiryukov, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-07 16:26:31 +00:00
azaozz d012143326 Fix send_to_editor() and Insert/Upload buttons URLs, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-06 01:35:02 +00:00
ryan 902cbda424 Handle id back compat in isset magic method. see #15458
git-svn-id: http://svn.automattic.com/wordpress/trunk@18515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-05 20:54:08 +00:00
ryan 620f8e83fd Update @deprecated. Props scribu. see #18333
git-svn-id: http://svn.automattic.com/wordpress/trunk@18514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-05 18:44:43 +00:00
ryan ec4ccf2900 Deprecate get_userdatabylogin() and get_user_by_email(). Props scribu. fixes #18333
git-svn-id: http://svn.automattic.com/wordpress/trunk@18513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-05 16:57:31 +00:00
ryan f5a33890bb Remove first_name and last_name properties. Props scribu. see #15458
git-svn-id: http://svn.automattic.com/wordpress/trunk@18512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-05 16:45:11 +00:00
azaozz 042a03f384 Fix back-compat for quicktags, introduce QTags.addButton(), see #16695
git-svn-id: http://svn.automattic.com/wordpress/trunk@18511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-05 04:09:22 +00:00
ryan ef0ace0bbf Return true upon success in remove_user_from_blog(). Props eightamrock. fixes #17344
git-svn-id: http://svn.automattic.com/wordpress/trunk@18510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-04 16:36:50 +00:00
ryan b136c576ed Grammar fix. Props lukeschlather, markmcwilliams. fixes #17315
git-svn-id: http://svn.automattic.com/wordpress/trunk@18507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-04 16:03:53 +00:00
ryan 8611d30e5e Handle deprecation of id in __set(). Props scribu. see #15458
git-svn-id: http://svn.automattic.com/wordpress/trunk@18506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-04 15:42:38 +00:00
ryan 6c81d023bb Add magic get/set/isset methods to WP_User to avoid data duplication. Standardize on WP_User::ID. Props scribu. see #15458
git-svn-id: http://svn.automattic.com/wordpress/trunk@18504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-04 03:09:27 +00:00
azaozz 6e3e6da9bd Fix editor icons when no SCRIPT_DEBUG, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-03 23:56:21 +00:00
ryan 852627fc48 Use *_metadata_by_mid() API in set_custom_fields(). Handle slashing when checking caps for key. see #18195
git-svn-id: http://svn.automattic.com/wordpress/trunk@18501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-03 18:20:15 +00:00
ryan 24d480d088 Turn delete_meta() , get_post_meta_by_id(), update_meta(), delete_post_meta_by_key() into wrappers around the metadata API. Add back compat *_postmeta actions to metadata API. Props jgadbois. see #18196
git-svn-id: http://svn.automattic.com/wordpress/trunk@18500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-03 16:48:37 +00:00
azaozz f634dd5af4 Editor API enhancement, first run (still needs some work), see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-03 10:19:00 +00:00
azaozz 230fb8f3e3 Refactor Quicktags, props garyc40, see #16695
git-svn-id: http://svn.automattic.com/wordpress/trunk@18497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-03 10:11:12 +00:00
azaozz 852882df30 Optimize script-loader a bit, see #11520
git-svn-id: http://svn.automattic.com/wordpress/trunk@18496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-03 01:54:29 +00:00
azaozz 8ff2bbf4e5 Admin bar: fix the Shortlink menu when using jQuery, see #18299
git-svn-id: http://svn.automattic.com/wordpress/trunk@18495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-01 23:33:56 +00:00
ryan cd801aad2d update_metadata_by_mid() and delete_metadata_by_mid(). Props kovshenin. see #18195
git-svn-id: http://svn.automattic.com/wordpress/trunk@18494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-01 17:01:54 +00:00
azaozz f97aaf6ede Completely remove wp_add_script_data(), props ocean90, see #11520
git-svn-id: http://svn.automattic.com/wordpress/trunk@18491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-31 13:59:23 +00:00
azaozz b3204a0b60 Bring back wp_localize_script(), see #11520
git-svn-id: http://svn.automattic.com/wordpress/trunk@18490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-31 09:11:24 +00:00
azaozz 670980920d Admin bar: use jQuery if loaded to improve UX, fixes #18299
git-svn-id: http://svn.automattic.com/wordpress/trunk@18488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-29 22:57:30 +00:00
ryan d6d3724e78 s/login/log in/. Props johnbillion. fixes #18294
git-svn-id: http://svn.automattic.com/wordpress/trunk@18486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-29 21:34:43 +00:00
ryan 6c39a6f769 Better double encoding handling in _wp_special_chars(). Props miqrogroove.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-29 20:43:45 +00:00
azaozz 34467767ff Add SWFUpload back for plugins that queue it directly, fix some escaping in media.php, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-29 19:21:21 +00:00
azaozz 91a8720fff Pluploader take 1, props jacobwg, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-29 08:59:35 +00:00
azaozz 23b9d7759a Introduce WP_Dependencies::get_data() method, change scripts and styles priority to follow the "natural" order in HTML, i.e. the last one wins, props scribu, see #11520
git-svn-id: http://svn.automattic.com/wordpress/trunk@18480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-28 18:24:00 +00:00
ryan d18937d7d9 Removed unused strings in script-loader. Props SergeyBiryukov. fixes #16332
git-svn-id: http://svn.automattic.com/wordpress/trunk@18479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-28 17:35:37 +00:00
nacin be2717a50f Fire _deprecated_argument() for get_adjacent_post()'s crazy excluded_categories 'and' thing. fixes #17673.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-28 17:30:18 +00:00
ryan 3209c103dc Support an array or comma-seperated list of excluded category IDs in get_adjacent_post(). Props solarissmoke. fixes #17673
git-svn-id: http://svn.automattic.com/wordpress/trunk@18477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-28 17:19:51 +00:00
ryan 1bea107db4 Remove return by ref from get_role(). Props scribu, elyobo. fixes #18237
git-svn-id: http://svn.automattic.com/wordpress/trunk@18476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-28 17:12:18 +00:00
azaozz a4d9998ce0 Fix URL in wp-link when editing, props SergeyBiryukov, fixes #18149
git-svn-id: http://svn.automattic.com/wordpress/trunk@18474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-27 23:02:54 +00:00
ryan 496081f898 phpdoc for all_items and menu_name. Props ocean90. fixes #18036
git-svn-id: http://svn.automattic.com/wordpress/trunk@18472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-26 21:31:36 +00:00
ryan 05b3172a32 Allow sorting by id in get_bookmarks(). Props SergeyBiryukov. see #18234 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@18470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-26 21:22:13 +00:00
ryan 55d7366c42 Recognize urls that start with a question mark as relative urls that do not require a scheme to be prepended. fixes #18260
git-svn-id: http://svn.automattic.com/wordpress/trunk@18469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-26 19:44:18 +00:00
ryan c2d37a3d65 Consolidate update count code into wp_get_update_data(). Props mitchoyoshitaka. fixes #17694
git-svn-id: http://svn.automattic.com/wordpress/trunk@18468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-26 18:39:57 +00:00
ryan 3000ee7664 Explain the empty req_uri branch. Props duck_. fixes #17177
git-svn-id: http://svn.automattic.com/wordpress/trunk@18467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-25 20:20:07 +00:00
ryan b1842a700c Optimize parse_request for the home page. Props duck_. see #17177
git-svn-id: http://svn.automattic.com/wordpress/trunk@18466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-25 20:18:07 +00:00
westi 009b264271 Make [18456] more obvious. Fixes #16432.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-25 13:20:07 +00:00
azaozz 21058cf460 Use json_encode() for adding script data (formerly l10n). Add the same functionality to WP_Styles for adding inline css after a stylesheet has been outputted. See #11520
git-svn-id: http://svn.automattic.com/wordpress/trunk@18464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-25 00:36:06 +00:00
nacin 754bebe419 Context for the color scheme strings. props SergeyBiryukov, fixes #18208.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-22 06:29:14 +00:00
azaozz 5256d7951f <!DOCTYPE html> for all, fixes #18202
git-svn-id: http://svn.automattic.com/wordpress/trunk@18460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-22 00:25:41 +00:00
ryan 28b241df2b Empty headers instance var instead of unsetting to avoid warning. Props chrisbliss18. fixes #18157
git-svn-id: http://svn.automattic.com/wordpress/trunk@18457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-21 21:44:35 +00:00
nacin 6185986c0e Add pre_ent2ncr filter. props GaryJ, fixes #16432.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-21 21:41:21 +00:00
ryan f0fc1f3e48 Strip trailing slashes form WP_HOME and WP_SITEURL. Props xknown. fixes #17898
git-svn-id: http://svn.automattic.com/wordpress/trunk@18454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-21 21:35:23 +00:00
azaozz 49c71bc6db UI fix for select form elements, props ptahdunbar, fixes #17043
git-svn-id: http://svn.automattic.com/wordpress/trunk@18453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-21 21:15:27 +00:00
ryan 2564e26011 Show admin bar in single site backend by default. Props dimadin. fixes #17899
git-svn-id: http://svn.automattic.com/wordpress/trunk@18451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-21 19:41:18 +00:00
ryan 62f427a096 phpdoc typo fixes for functions.php. Props coffee2code. fixes #17752
git-svn-id: http://svn.automattic.com/wordpress/trunk@18448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-21 17:48:25 +00:00
azaozz 23f490bb02 Support for using wp_enqueue_script() and wp_enqueue_style() in the HTML body. All scripts and styles are added in the footer, fixes #9346
git-svn-id: http://svn.automattic.com/wordpress/trunk@18446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-21 16:32:01 +00:00
ryan 4ad0954961 Introduce register_meta(), get_metadata_by_mid(), and *_post_meta capabilities. fixes #17850
git-svn-id: http://svn.automattic.com/wordpress/trunk@18445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-20 22:04:35 +00:00
nacin 8d7a97abf9 Use login_post context for wp_login_form action. props mdawaffe, see #18137 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-15 23:11:36 +00:00
ryan 2d148f51de Fix CPT rewrite generation when turning on permalinks. Props andy. see #18040 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@18443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-15 15:49:42 +00:00
azaozz b87d9d50d6 Fix resetting of page number when entering it manually, fixes #18002 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@18436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 21:53:29 +00:00
azaozz fcc103f0b2 Fix expanding the admin menu in RTL mode when no JS and collapsing it when JS, fixes #18029 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@18428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 19:16:09 +00:00
nacin 61afb5def3 Check for WP_Error return values when using get_term_field() to set up nav menu items. fixes #17958 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 19:03:04 +00:00
nacin 8ead4891b9 A few more pixels of padding for the admin content area. props iammattthomas, fixes #18046 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 18:55:39 +00:00
nacin bac625849e Fix RTL admin menu collapsing margin. props rosshanney, see #18029 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 05:50:34 +00:00
nacin 0904773260 Browse Happy dashboard box title should be white. props AndrewFrazier, fixes #17987 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 05:36:47 +00:00
nacin 6590faa5ba Shears.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 05:34:15 +00:00
nacin 6a073f6d47 Restore page-template-default body class. props peterwilsoncc, fixes #18018 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 05:31:57 +00:00
ryan 7697960abe Use browser default sans-serif instead of Arial or Helvetica. Props iammattthomas. fixes #18020 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@18406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-07 18:03:30 +00:00
nacin c8e85fcb81 Restore compat for json_decode and json_encode. fixes #18015 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-06 23:33:05 +00:00
westi 67eed31b42 Update the version in trunk. Props MarkJaquith.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-05 10:04:17 +00:00
azaozz 9d23dd8753 Fix DFW resizing after reaching the sanity check width, props merty, fixes #17983 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@18399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-05 07:03:26 +00:00
ryan 638d466177 Bump, 3.2
git-svn-id: http://svn.automattic.com/wordpress/trunk@18395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-04 20:19:42 +00:00
nacin 13b17ec4b8 Bump core/version-check endpoint. see #17759.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-04 12:42:19 +00:00
nacin fcbe13c55f Bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-03 18:22:01 +00:00
azaozz 86067bcf74 Revert overriding the font color for the editor textarea in [18102], as it is a regression, fixes #17971
git-svn-id: http://svn.automattic.com/wordpress/trunk@18390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-03 18:15:04 +00:00
ryan 764f39522d Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@18387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-30 22:02:58 +00:00
azaozz a1beac9a44 Change shadow on menu "notification" badge, props shakenstirred, nacin, fixes #17941
git-svn-id: http://svn.automattic.com/wordpress/trunk@18381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-30 19:46:00 +00:00
azaozz 16f9195f85 Fix DFW autoresizing in WebKit when zoom != 100%, fixes #17927
git-svn-id: http://svn.automattic.com/wordpress/trunk@18379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-30 07:33:08 +00:00
ryan d28ae2cb87 Bump, RC3
git-svn-id: http://svn.automattic.com/wordpress/trunk@18376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-29 18:20:22 +00:00
nacin db78833264 Mark a few files as needing to be parsable by PHP4 in order to show the proper error messages. Non-exhaustive. see #17934.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-29 16:50:07 +00:00
nacin ad1e1df0f2 wp_check_php_mysql_versions() during setup and install. see #17934.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-29 16:46:46 +00:00
azaozz 6a36b65f01 Add the new TinyMCE icons to two more buttons, fixes #17925
git-svn-id: http://svn.automattic.com/wordpress/trunk@18373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-29 16:10:57 +00:00
ryan 17cc663928 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@18371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-28 21:49:55 +00:00
ryan 7a466b9ed9 Unset filter when inserting/updating posts. For trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@18367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-28 21:46:18 +00:00
azaozz b80ad7a9cf User Profile JS cleanup, props dd32, fixes #17910 for 3.2
git-svn-id: http://svn.automattic.com/wordpress/trunk@18364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-28 16:17:49 +00:00
dd32 4e0de4a1d3 Correct the background colour for the stars. Props ocean90 & helenyhou. Fixes #17887
git-svn-id: http://svn.automattic.com/wordpress/trunk@18362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-28 06:47:34 +00:00
ryan ccb41c4beb Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@18358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-27 21:42:08 +00:00
azaozz f2abed5956 Fix phpdoc for register_post_status(), props aaroncampbell, fixes #17900
git-svn-id: http://svn.automattic.com/wordpress/trunk@18352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-27 21:22:31 +00:00
ryan 08b6aa116e Sanitize sort_column and sort_order in get_pages(). Escape search_term in WP_User_Search. Cast blog_id to int in get_blog_prefix(). Props duck_
git-svn-id: http://svn.automattic.com/wordpress/trunk@18350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-27 20:47:04 +00:00
azaozz 06fd2002c5 Fix unfolding of the admin menu when no JS, fixes #17897
git-svn-id: http://svn.automattic.com/wordpress/trunk@18349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-27 20:40:04 +00:00
azaozz df0cca6ae4 Fix text color in the browser nag when no JS, props duck_, fixes #17889
git-svn-id: http://svn.automattic.com/wordpress/trunk@18347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-27 19:35:26 +00:00
ryan 593659b8d0 Hardening. Santizers for WPLANG and new_admin_email. Prevent stomping ID and filter. Validate locale filename. Props westi.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-27 15:56:42 +00:00
ryan 2010842d10 Sanitize order and orderby in get_bookmarks()
git-svn-id: http://svn.automattic.com/wordpress/trunk@18345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-27 15:46:11 +00:00