Commit Graph

8508 Commits

Author SHA1 Message Date
Andrew Ozz bcd9d1a36e Moves orphaned sidebars to main content area above Inactive Widgets, props aaroncampbell, see #17979
git-svn-id: https://develop.svn.wordpress.org/trunk@18631 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-03 03:01:11 +00:00
Andrew Ozz 4782c3dc6f Avoid losing widgets when switching themes - take one, props aaroncampbell, see #17979
git-svn-id: https://develop.svn.wordpress.org/trunk@18630 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-02 22:13:55 +00:00
Andrew Nacin 46773a16ea s/hask/hack/. props scribu, see #16695.
git-svn-id: https://develop.svn.wordpress.org/trunk@18629 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-02 21:25:42 +00:00
Andrew Ozz 1205b09cf6 More quicktags back-compat, see #16695
git-svn-id: https://develop.svn.wordpress.org/trunk@18628 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-02 20:40:47 +00:00
Mark Jaquith 8094c89b39 Cast to array in get_page_by_path() foreach
git-svn-id: https://develop.svn.wordpress.org/trunk@18627 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-31 06:46:16 +00:00
Andrew Ozz e4fdcbd347 Toggle class 'responsive' on div.wrap when auto columns is toggled, see #18198
git-svn-id: https://develop.svn.wordpress.org/trunk@18625 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-30 23:18:18 +00:00
Andrew Ozz ca2ccb3baa Disable js moving of dashboard postboxes, add all of them in the first column on 'auto', see #18198
git-svn-id: https://develop.svn.wordpress.org/trunk@18624 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-30 22:29:37 +00:00
Andrew Ozz fb2a6c0f6d Fix typo in quicktags.js, props westi, see #16695
git-svn-id: https://develop.svn.wordpress.org/trunk@18623 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-30 17:50:12 +00:00
Daryl Koopersmith 43d6595503 Switch admin menus to flyouts from dropdowns. First pass, see #18382.
git-svn-id: https://develop.svn.wordpress.org/trunk@18621 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-30 01:12:26 +00:00
Andrew Ozz 8e64c7199c Fix silverlight uploading when not resizing files on the fly, props kurtpayne, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@18620 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-29 23:59:22 +00:00
Andrew Ozz ea03cd66fd Fix styling and quicktags error in press this, see #16695
git-svn-id: https://develop.svn.wordpress.org/trunk@18619 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-28 20:48:05 +00:00
Dion Hulse 06338d1653 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: https://develop.svn.wordpress.org/trunk@18617 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-28 08:42:07 +00:00
Dion Hulse c370cd58f1 Display 'Edit Media' instead of 'Edit Post' for Attachments/Media in the admin bar. Props johnbillion. Fixes #18529
git-svn-id: https://develop.svn.wordpress.org/trunk@18613 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-28 03:39:06 +00:00
Andrew Ozz 2419657db5 Properly reset vars, see #16695
git-svn-id: https://develop.svn.wordpress.org/trunk@18612 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-27 16:30:36 +00:00
Andrew Ozz ec6fc2ea80 Improve quicktags back-compat, add method instance.getButtonElement(id), see #16695
git-svn-id: https://develop.svn.wordpress.org/trunk@18611 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-26 23:30:01 +00:00
Andrew Ozz 83275816df Fix action 'wp_print_footer_scropts' (on the front-end), see #11520
git-svn-id: https://develop.svn.wordpress.org/trunk@18610 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-26 20:31:30 +00:00
Andrew Ozz 61c8958e4b Fix TimyMCE init when launching DFW and respect wpautop setting there, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18609 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-26 19:33:14 +00:00
Andrew Ozz 77892dfba6 Improve auto column switching for post.php, see #18198
git-svn-id: https://develop.svn.wordpress.org/trunk@18607 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-25 22:55:39 +00:00
Ryan Boren 965dcf7bf9 Properly handle nested arrays in wp_list_filter(). Props scribu, SergeyBiryukov. fixes #16137
git-svn-id: https://develop.svn.wordpress.org/trunk@18606 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-25 19:50:29 +00:00
Ryan Boren aee898a1e7 Remove unused global. Props ocean90. fixes #18484
git-svn-id: https://develop.svn.wordpress.org/trunk@18605 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-25 19:35:22 +00:00
Ryan Boren 83a1dfb6b5 Don't set the site_name cache on every call to get_current_site_name(). Props mark-k, solarissmoke. fixes #16676
git-svn-id: https://develop.svn.wordpress.org/trunk@18604 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-25 19:29:47 +00:00
Ryan Boren ad3b0cacc4 Support fields = slugs in wp_get_object_terms(). Props lancewillett, SergeyBiryukov. fixes #15835
git-svn-id: https://develop.svn.wordpress.org/trunk@18603 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-25 18:49:46 +00:00
Ryan Boren 2b4d72c471 wp_list_pluck() performance improvement. Props Otto42. fixes #18230
git-svn-id: https://develop.svn.wordpress.org/trunk@18602 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-25 18:22:17 +00:00
Ryan Boren 51f1d1adf0 Use update_blog_details() in wpmu_update_blogs_date(). Props jakub.tyrcha. fixes #18122
git-svn-id: https://develop.svn.wordpress.org/trunk@18601 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-25 18:01:49 +00:00
Ryan Boren 9e2aa32657 Handle null user ID in the WP_User constructor. Props kawauso. fixes #17894
git-svn-id: https://develop.svn.wordpress.org/trunk@18598 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-24 19:47:35 +00:00
Ryan Boren 1d3e616495 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: https://develop.svn.wordpress.org/trunk@18597 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-24 19:32:59 +00:00
Peter Westwood edec48d754 Whitespace and code layout tidyup.
git-svn-id: https://develop.svn.wordpress.org/trunk@18593 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-24 10:59:06 +00:00
Peter Westwood 087b273a40 Parse shortcodes in text widgets by default. Fixes #10457 props tmoorewp, sillybean, jamescollins.
git-svn-id: https://develop.svn.wordpress.org/trunk@18592 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-24 10:54:48 +00:00
Peter Westwood 89a6ae387e 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: https://develop.svn.wordpress.org/trunk@18591 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-24 10:39:52 +00:00
Jon Cave 4c849e806f Allow update_site_option to add false-y values. Fixes #15497
git-svn-id: https://develop.svn.wordpress.org/trunk@18589 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-23 21:12:14 +00:00
Jon Cave f66d6581a7 Use get_site_option in add/update_site_option for caching and filtering benefits. fixes #18478
git-svn-id: https://develop.svn.wordpress.org/trunk@18588 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-23 20:45:48 +00:00
Jon Cave bfdc119315 add_site_option should not update existing options, should return a boolean and should only run actions on success. fixes #18422
git-svn-id: https://develop.svn.wordpress.org/trunk@18587 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-23 20:24:35 +00:00
Andrew Nacin a73c0ef107 Add 'q' tag to nestable tags list in force_balance_tags(). props solarissmoke, fixes #6870.
git-svn-id: https://develop.svn.wordpress.org/trunk@18585 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-23 15:37:38 +00:00
Andrew Nacin 4b3374e66d Check for comment existence before checking edit_comment meta cap. props xknown, fixes #18104.
git-svn-id: https://develop.svn.wordpress.org/trunk@18584 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-23 10:22:34 +00:00
Andrew Ozz 2ae505d0c6 Auto column switching (post.php only for now), see #18198
git-svn-id: https://develop.svn.wordpress.org/trunk@18581 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-22 19:41:11 +00:00
Ryan Boren ee123a28d5 Introduce wp_cache_incr() and wp_cache_decr(). fixes #18494
git-svn-id: https://develop.svn.wordpress.org/trunk@18580 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-22 17:39:44 +00:00
Andrew Ozz 41c6f84cd9 Merge colors*.css with colors*-rtl.css, props ryanimel, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@18579 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-22 16:44:02 +00:00
Andrew Ozz 4e6957a730 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: https://develop.svn.wordpress.org/trunk@18578 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-21 15:38:14 +00:00
Andrew Ozz dde77fd41b Merge most admin css files, first run, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@18577 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-21 03:46:43 +00:00
Andrew Ozz 3f921df606 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: https://develop.svn.wordpress.org/trunk@18576 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-20 19:55:51 +00:00
Andrew Ozz 4bff812918 Fix the "close tags" button in quicktags, props SergeyBiryukov, see #16695
git-svn-id: https://develop.svn.wordpress.org/trunk@18575 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-19 21:23:31 +00:00
Dion Hulse 8fc9270239 Clarify %d is an integer in wpdb documentation. See #18407
git-svn-id: https://develop.svn.wordpress.org/trunk@18573 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-19 15:01:35 +00:00
Dion Hulse 54b87b6531 Load all Parent theme stylesheets before Child theme stylesheets in the TinyMCE Editor. props SergeyBiryukov. Fixes #18457
git-svn-id: https://develop.svn.wordpress.org/trunk@18572 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-19 14:56:34 +00:00
Dion Hulse 67704f12f2 Only include extra TinyMCE stylesheets once. props SergeyBiryukov. Fixes #18456
git-svn-id: https://develop.svn.wordpress.org/trunk@18571 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-19 14:47:45 +00:00
Andrew Ozz 9734668734 Fix Press This editors, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18570 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-19 01:14:56 +00:00
Andrew Nacin 1881a56cb5 Remove old $base/BASE MU check. props mdawaffe, fixes #18479.
git-svn-id: https://develop.svn.wordpress.org/trunk@18568 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-18 22:27:30 +00:00
Jon Cave ce57212c90 add_option() should always return a boolean, see #18422
git-svn-id: https://develop.svn.wordpress.org/trunk@18567 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-18 18:17:37 +00:00
Jon Cave f960996aa4 Fix rewrite documentation typo and clarify with "rules array" over "this/the structure". props SergeyBiryukov. see #16687
git-svn-id: https://develop.svn.wordpress.org/trunk@18566 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-18 17:57:22 +00:00
Andrew Nacin 5464b1abc2 Some more class instantiations. props eko-fr, fixes #18049.
git-svn-id: https://develop.svn.wordpress.org/trunk@18563 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-18 06:16:57 +00:00
Andrew Nacin d92c1440ed 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: https://develop.svn.wordpress.org/trunk@18561 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-17 21:02:43 +00:00