Commit Graph

8448 Commits

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