Commit Graph

8439 Commits

Author SHA1 Message Date
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