Commit Graph

17618 Commits

Author SHA1 Message Date
Andrew Nacin 666b55d3c0 Use preg_match more efficiently. props solarissmoke, fixes #17287.
git-svn-id: https://develop.svn.wordpress.org/trunk@18524 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-10 19:18:18 +00:00
Andrew Nacin 0c5290d9e3 Overflow:auto for pre tags in the plugin information popup. props Simek, fixes #16902.
git-svn-id: https://develop.svn.wordpress.org/trunk@18523 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-10 19:17:26 +00:00
Andrew Nacin 51982620ce Don't process wpdb->tables('global') inside a loop. props wpmuguru, fixes #14503.
git-svn-id: https://develop.svn.wordpress.org/trunk@18522 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-10 19:00:45 +00:00
Andrew Nacin 45bd2b05b8 Pass old value to update_site_option hooks. props westi, fixes #17974.
git-svn-id: https://develop.svn.wordpress.org/trunk@18521 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-10 18:59:50 +00:00
Andrew Nacin c859ac8682 Only show the primary button style for 'Update Now', not 'Re-install Now', on update-core.php. props tfnab, fixes #18115.
git-svn-id: https://develop.svn.wordpress.org/trunk@18520 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-10 18:53:54 +00:00
Andrew Ozz 4feac2cbde WP_Editor: don't show empty div if no editor-buttons and media-buttons are shown, props ocean90, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18519 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-07 17:03:18 +00:00
Andrew Ozz aabac42c0f Fix i18n for wp_editor, props SergeyBiryukov, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18518 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-07 16:26:31 +00:00
Andrew Ozz b7e35b3f6c Fix handling of resizing images after upload, props ocean90, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@18517 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-06 21:04:15 +00:00
Andrew Ozz aad319a3ac Fix send_to_editor() and Insert/Upload buttons URLs, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18516 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-06 01:35:02 +00:00
Ryan Boren afe083447f Handle id back compat in isset magic method. see #15458
git-svn-id: https://develop.svn.wordpress.org/trunk@18515 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-05 20:54:08 +00:00
Ryan Boren f9becd5d16 Update @deprecated. Props scribu. see #18333
git-svn-id: https://develop.svn.wordpress.org/trunk@18514 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-05 18:44:43 +00:00
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