Commit Graph

16857 Commits

Author SHA1 Message Date
Ryan Boren eda7d43e85 Deprecate get_userdatabylogin() and get_user_by_email(). Props scribu. fixes #18333
git-svn-id: https://develop.svn.wordpress.org/trunk@18513 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-05 16:57:31 +00:00
Ryan Boren 15507ec835 Remove first_name and last_name properties. Props scribu. see #15458
git-svn-id: https://develop.svn.wordpress.org/trunk@18512 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-05 16:45:11 +00:00
Andrew Ozz 6ce85719a7 Fix back-compat for quicktags, introduce QTags.addButton(), see #16695
git-svn-id: https://develop.svn.wordpress.org/trunk@18511 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-05 04:09:22 +00:00
Ryan Boren 19b936f2a8 Return true upon success in remove_user_from_blog(). Props eightamrock. fixes #17344
git-svn-id: https://develop.svn.wordpress.org/trunk@18510 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-04 16:36:50 +00:00
Ryan Boren dbd72319f1 Add gettext. Props Latz. fixes #18173
git-svn-id: https://develop.svn.wordpress.org/trunk@18509 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-04 16:29:46 +00:00
Ryan Boren ecd3baa078 Remove gratuitous periods. Add some semicolons. Props SergeyBiryukov. fixes #16186
git-svn-id: https://develop.svn.wordpress.org/trunk@18508 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-04 16:07:51 +00:00
Ryan Boren 916cdd6586 Grammar fix. Props lukeschlather, markmcwilliams. fixes #17315
git-svn-id: https://develop.svn.wordpress.org/trunk@18507 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-04 16:03:53 +00:00
Ryan Boren 35d92b5e1e Handle deprecation of id in __set(). Props scribu. see #15458
git-svn-id: https://develop.svn.wordpress.org/trunk@18506 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-04 15:42:38 +00:00
Andrew Nacin 7f154ed6c3 Call get_(template|stylesheet)_directory_uri() only once in process_default_headers. props mitchoyoshitaka, fixes #17353.
git-svn-id: https://develop.svn.wordpress.org/trunk@18505 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-04 12:40:15 +00:00
Ryan Boren 8eea785bcb 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: https://develop.svn.wordpress.org/trunk@18504 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-04 03:09:27 +00:00
Andrew Ozz 5b4ac17cc5 Fix editor icons when no SCRIPT_DEBUG, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18503 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 23:56:21 +00:00
Ryan Boren 53122aafe5 Use *_metadata_by_mid() API when updating post meta in admin ajax. Fix slashing. see #18195
git-svn-id: https://develop.svn.wordpress.org/trunk@18502 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 19:14:06 +00:00
Ryan Boren 7edcf1b07e Use *_metadata_by_mid() API in set_custom_fields(). Handle slashing when checking caps for key. see #18195
git-svn-id: https://develop.svn.wordpress.org/trunk@18501 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 18:20:15 +00:00
Ryan Boren dbb0b7c8d6 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: https://develop.svn.wordpress.org/trunk@18500 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 16:48:37 +00:00
Andrew Ozz 0674464f19 Remove debug remnants, props scribu, see #16695
git-svn-id: https://develop.svn.wordpress.org/trunk@18499 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 10:36:18 +00:00
Andrew Ozz 461ceba60d Editor API enhancement, first run (still needs some work), see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18498 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 10:19:00 +00:00
Andrew Ozz d5a6cf3dfd Refactor Quicktags, props garyc40, see #16695
git-svn-id: https://develop.svn.wordpress.org/trunk@18497 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 10:11:12 +00:00
Andrew Ozz 27e866dfd1 Optimize script-loader a bit, see #11520
git-svn-id: https://develop.svn.wordpress.org/trunk@18496 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 01:54:29 +00:00
Andrew Ozz 6ed41b7ed1 Admin bar: fix the Shortlink menu when using jQuery, see #18299
git-svn-id: https://develop.svn.wordpress.org/trunk@18495 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-01 23:33:56 +00:00
Ryan Boren 0ac95fd5a6 update_metadata_by_mid() and delete_metadata_by_mid(). Props kovshenin. see #18195
git-svn-id: https://develop.svn.wordpress.org/trunk@18494 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-01 17:01:54 +00:00
Andrew Nacin 14b7842a79 Remove duplicated id attribute. props pagesimplify. (wp-testers)
git-svn-id: https://develop.svn.wordpress.org/trunk@18493 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-31 22:20:06 +00:00
Andrew Nacin db79dcc18a Use correct closing tag. props pagesimplify. (wp-hackers)
git-svn-id: https://develop.svn.wordpress.org/trunk@18492 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-31 22:16:19 +00:00
Andrew Ozz 26c194af80 Completely remove wp_add_script_data(), props ocean90, see #11520
git-svn-id: https://develop.svn.wordpress.org/trunk@18491 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-31 13:59:23 +00:00
Andrew Ozz c641a1d27a Bring back wp_localize_script(), see #11520
git-svn-id: https://develop.svn.wordpress.org/trunk@18490 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-31 09:11:24 +00:00
Andrew Ozz 54eb9f1f3c Remove tabs from JS, props duck_, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@18489 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-31 08:44:29 +00:00
Andrew Ozz 804284c665 Admin bar: use jQuery if loaded to improve UX, fixes #18299
git-svn-id: https://develop.svn.wordpress.org/trunk@18488 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-29 22:57:30 +00:00
Ryan Boren 3735347ba7 Grammar fix. Props SergeyBiryukov, johnbillion. fixes #18291
git-svn-id: https://develop.svn.wordpress.org/trunk@18487 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-29 21:36:45 +00:00
Ryan Boren 668849b388 s/login/log in/. Props johnbillion. fixes #18294
git-svn-id: https://develop.svn.wordpress.org/trunk@18486 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-29 21:34:43 +00:00
Ryan Boren fe742b417f Better double encoding handling in _wp_special_chars(). Props miqrogroove.
git-svn-id: https://develop.svn.wordpress.org/trunk@18485 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-29 20:43:45 +00:00
Andrew Ozz 57bff0b6d8 Add SWFUpload back for plugins that queue it directly, fix some escaping in media.php, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@18484 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-29 19:21:21 +00:00
Andrew Ozz 4e81b893e9 Remove debug bits, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@18483 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-29 09:03:24 +00:00
Andrew Ozz 12a7d989e0 Pluploader take 1, props jacobwg, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@18482 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-29 08:59:35 +00:00
Andrew Nacin f81a0e5a3c Link tab=upload when referenced on 'Install Plugins.' fixes #18290.
git-svn-id: https://develop.svn.wordpress.org/trunk@18481 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-29 06:07:38 +00:00
Andrew Ozz 0191ed92cd 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: https://develop.svn.wordpress.org/trunk@18480 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-28 18:24:00 +00:00
Ryan Boren d6f842b4c2 Removed unused strings in script-loader. Props SergeyBiryukov. fixes #16332
git-svn-id: https://develop.svn.wordpress.org/trunk@18479 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-28 17:35:37 +00:00
Andrew Nacin d367634aea Fire _deprecated_argument() for get_adjacent_post()'s crazy excluded_categories 'and' thing. fixes #17673.
git-svn-id: https://develop.svn.wordpress.org/trunk@18478 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-28 17:30:18 +00:00
Ryan Boren a3b77d3e95 Support an array or comma-seperated list of excluded category IDs in get_adjacent_post(). Props solarissmoke. fixes #17673
git-svn-id: https://develop.svn.wordpress.org/trunk@18477 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-28 17:19:51 +00:00
Ryan Boren 58d9d5ea5d Remove return by ref from get_role(). Props scribu, elyobo. fixes #18237
git-svn-id: https://develop.svn.wordpress.org/trunk@18476 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-28 17:12:18 +00:00
Ryan Boren 40c8d3aff1 Inline docs typo fix. Props dougwrites. fixes #17753
git-svn-id: https://develop.svn.wordpress.org/trunk@18475 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-28 17:10:00 +00:00
Andrew Ozz 3fff132530 Fix URL in wp-link when editing, props SergeyBiryukov, fixes #18149
git-svn-id: https://develop.svn.wordpress.org/trunk@18474 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-27 23:02:54 +00:00
Ryan Boren 24c08b8bf5 Allow creating sites with IDN domains. Props SergeyBiryukov, wpmuguru. fixes #15554
git-svn-id: https://develop.svn.wordpress.org/trunk@18473 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-26 21:35:39 +00:00
Ryan Boren 431cc66a5f phpdoc for all_items and menu_name. Props ocean90. fixes #18036
git-svn-id: https://develop.svn.wordpress.org/trunk@18472 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-26 21:31:36 +00:00
Ryan Boren 1567de3aaf Allow sorting by id in get_bookmarks(). Props SergeyBiryukov. see #18234 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@18470 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-26 21:22:13 +00:00
Ryan Boren 4a1c73746f 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: https://develop.svn.wordpress.org/trunk@18469 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-26 19:44:18 +00:00
Ryan Boren 5d649a9235 Consolidate update count code into wp_get_update_data(). Props mitchoyoshitaka. fixes #17694
git-svn-id: https://develop.svn.wordpress.org/trunk@18468 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-26 18:39:57 +00:00
Ryan Boren 6395eb9ab6 Explain the empty req_uri branch. Props duck_. fixes #17177
git-svn-id: https://develop.svn.wordpress.org/trunk@18467 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-25 20:20:07 +00:00
Ryan Boren 12b5c9c93e Optimize parse_request for the home page. Props duck_. see #17177
git-svn-id: https://develop.svn.wordpress.org/trunk@18466 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-25 20:18:07 +00:00
Peter Westwood fe2dc7c083 Make [18456] more obvious. Fixes #16432.
git-svn-id: https://develop.svn.wordpress.org/trunk@18465 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-25 13:20:07 +00:00
Andrew Ozz 06f33f29ba 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: https://develop.svn.wordpress.org/trunk@18464 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-25 00:36:06 +00:00
Dion Hulse 4429d66a15 Cast $themes to an array to avoid a PHP Warning when there are no themes currently installed. Fixes #18213
git-svn-id: https://develop.svn.wordpress.org/trunk@18462 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-22 10:57:34 +00:00