Commit Graph

16873 Commits

Author SHA1 Message Date
azaozz 4852c5887f Avoid losing widgets when switching themes - take one, props aaroncampbell, see #17979
git-svn-id: http://svn.automattic.com/wordpress/trunk@18630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-02 22:13:55 +00:00
nacin 1fd69ecf36 s/hask/hack/. props scribu, see #16695.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-02 21:25:42 +00:00
azaozz 41e5e2d81e More quicktags back-compat, see #16695
git-svn-id: http://svn.automattic.com/wordpress/trunk@18628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-02 20:40:47 +00:00
markjaquith 31a016614d Cast to array in get_page_by_path() foreach
git-svn-id: http://svn.automattic.com/wordpress/trunk@18627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-31 06:46:16 +00:00
azaozz 9813047aa0 Fix styling of the editors for the blue theme, props saracannon, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-31 00:58:41 +00:00
azaozz 63969dbca7 Toggle class 'responsive' on div.wrap when auto columns is toggled, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-30 23:18:18 +00:00
azaozz 7865d5c451 Disable js moving of dashboard postboxes, add all of them in the first column on 'auto', see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-30 22:29:37 +00:00
azaozz c5bf0c0903 Fix typo in quicktags.js, props westi, see #16695
git-svn-id: http://svn.automattic.com/wordpress/trunk@18623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-30 17:50:12 +00:00
dd32 6f5da88d81 Mark the install page as rtl for styling purposes. Props SergeyBiryukov. See #18314 and #18180
git-svn-id: http://svn.automattic.com/wordpress/trunk@18622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-30 03:55:40 +00:00
koopersmith 51fa6f62f2 Switch admin menus to flyouts from dropdowns. First pass, see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-30 01:12:26 +00:00
azaozz 81871e05b4 Fix silverlight uploading when not resizing files on the fly, props kurtpayne, see #18206
git-svn-id: http://svn.automattic.com/wordpress/trunk@18620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-29 23:59:22 +00:00
azaozz b9d9d11f4e Fix styling and quicktags error in press this, see #16695
git-svn-id: http://svn.automattic.com/wordpress/trunk@18619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-28 20:48:05 +00:00
dd32 e089db6cf4 First slice of rejecting invalid Plugin and Theme zip uploads (Incompatible file structure, not containing a Plugin/Theme, etc). See #14999
git-svn-id: http://svn.automattic.com/wordpress/trunk@18618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-28 15:02:48 +00:00
dd32 ef278df299 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: http://svn.automattic.com/wordpress/trunk@18617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-28 08:42:07 +00:00
dd32 b16b6f8a31 Only clean up the uploaded files after a successful (or failed) install. Allows files to persist past the FTP credential screen. See #18182
git-svn-id: http://svn.automattic.com/wordpress/trunk@18616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-28 05:51:38 +00:00
dd32 ea3a169b6f Clean up Plugin/Theme uploads after successfully installing them. Restores pre-3.2 behaviour. See #18182
git-svn-id: http://svn.automattic.com/wordpress/trunk@18614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-28 03:51:35 +00:00
dd32 f1ac48873b Display 'Edit Media' instead of 'Edit Post' for Attachments/Media in the admin bar. Props johnbillion. Fixes #18529
git-svn-id: http://svn.automattic.com/wordpress/trunk@18613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-28 03:39:06 +00:00
azaozz 6ebdf41b50 Properly reset vars, see #16695
git-svn-id: http://svn.automattic.com/wordpress/trunk@18612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-27 16:30:36 +00:00
azaozz a8df969ac9 Improve quicktags back-compat, add method instance.getButtonElement(id), see #16695
git-svn-id: http://svn.automattic.com/wordpress/trunk@18611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-26 23:30:01 +00:00
azaozz 07d81969bd Fix action 'wp_print_footer_scropts' (on the front-end), see #11520
git-svn-id: http://svn.automattic.com/wordpress/trunk@18610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-26 20:31:30 +00:00
azaozz 12c6ba5771 Fix TimyMCE init when launching DFW and respect wpautop setting there, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-26 19:33:14 +00:00
ryan 39ba82bb3f Handle locales that use a comma as a separator when generating version classes. Props olivM. fixes #18460
git-svn-id: http://svn.automattic.com/wordpress/trunk@18608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-26 19:00:07 +00:00
azaozz 4e323dd08f Improve auto column switching for post.php, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-25 22:55:39 +00:00
ryan 978a5984b4 Properly handle nested arrays in wp_list_filter(). Props scribu, SergeyBiryukov. fixes #16137
git-svn-id: http://svn.automattic.com/wordpress/trunk@18606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-25 19:50:29 +00:00
ryan 19c3608dcc Remove unused global. Props ocean90. fixes #18484
git-svn-id: http://svn.automattic.com/wordpress/trunk@18605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-25 19:35:22 +00:00
ryan 14da950982 Don't set the site_name cache on every call to get_current_site_name(). Props mark-k, solarissmoke. fixes #16676
git-svn-id: http://svn.automattic.com/wordpress/trunk@18604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-25 19:29:47 +00:00
ryan 58379895e5 Support fields = slugs in wp_get_object_terms(). Props lancewillett, SergeyBiryukov. fixes #15835
git-svn-id: http://svn.automattic.com/wordpress/trunk@18603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-25 18:49:46 +00:00
ryan 8edc944b01 wp_list_pluck() performance improvement. Props Otto42. fixes #18230
git-svn-id: http://svn.automattic.com/wordpress/trunk@18602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-25 18:22:17 +00:00
ryan c7e870877c Use update_blog_details() in wpmu_update_blogs_date(). Props jakub.tyrcha. fixes #18122
git-svn-id: http://svn.automattic.com/wordpress/trunk@18601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-25 18:01:49 +00:00
ryan 2521eb5f17 Update phpdoc for WP_List_Table::views(). Props Viper007Bond. fixes #18358
git-svn-id: http://svn.automattic.com/wordpress/trunk@18600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-25 17:56:34 +00:00
westi ca0474c9fb Fix the action links broken by [18594]. Fixes #18447.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-25 08:05:15 +00:00
ryan 8edd1656f7 Handle null user ID in the WP_User constructor. Props kawauso. fixes #17894
git-svn-id: http://svn.automattic.com/wordpress/trunk@18598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 19:47:35 +00:00
ryan 0f06334e11 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: http://svn.automattic.com/wordpress/trunk@18597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 19:32:59 +00:00
westi 0668193437 When inserting a Gallery to be ordered by Date/Time use the post_date field for ordering rather than ID so that if the user/plugin has updated this to reflect the date/time when an image was captured we order correctly. Fixes #17485 props SergeyBiryukov.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 11:37:25 +00:00
westi 633f13ca72 End each row with a new line to make the raw HTML easier to read.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 11:13:33 +00:00
westi 6afa141b4e Include all comment css classes when outputing the rows in the Comments admin page to allow for easy customisation by plugins. Fixes #18447 props josephscott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 11:12:07 +00:00
westi 0c0e2c180f Whitespace and code layout tidyup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 10:59:06 +00:00
westi de05fd1569 Parse shortcodes in text widgets by default. Fixes #10457 props tmoorewp, sillybean, jamescollins.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 10:54:48 +00:00
westi 76eb5b8138 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: http://svn.automattic.com/wordpress/trunk@18591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 10:39:52 +00:00
dd32 392ef4c88c Don't check 'Custom Structure' Permalink radio option for the default permastruct. Fixes #18507
git-svn-id: http://svn.automattic.com/wordpress/trunk@18590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 07:48:13 +00:00
duck_ c06290958b Allow update_site_option to add false-y values. Fixes #15497
git-svn-id: http://svn.automattic.com/wordpress/trunk@18589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-23 21:12:14 +00:00
duck_ 7213d24276 Use get_site_option in add/update_site_option for caching and filtering benefits. fixes #18478
git-svn-id: http://svn.automattic.com/wordpress/trunk@18588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-23 20:45:48 +00:00
duck_ 56f6f97125 add_site_option should not update existing options, should return a boolean and should only run actions on success. fixes #18422
git-svn-id: http://svn.automattic.com/wordpress/trunk@18587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-23 20:24:35 +00:00
nacin fdedc8a500 Check if property exists on plugins_api() returned object in install_plugin_information(). props hakre, fixes #18181.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-23 15:56:14 +00:00
nacin d5cf830175 Add 'q' tag to nestable tags list in force_balance_tags(). props solarissmoke, fixes #6870.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-23 15:37:38 +00:00
nacin 3ee964c10c Check for comment existence before checking edit_comment meta cap. props xknown, fixes #18104.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-23 10:22:34 +00:00
azaozz c8af09ed2c Ensure text in the dashboard recent comments widget wraps up properly, props SergeyBiryukov, fixes #18212
git-svn-id: http://svn.automattic.com/wordpress/trunk@18583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-23 04:36:21 +00:00
azaozz f3f79602b9 Auto column switching for the dashboard, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-23 04:00:56 +00:00
azaozz 18fd646bc3 Auto column switching (post.php only for now), see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-22 19:41:11 +00:00
ryan c93728e287 Introduce wp_cache_incr() and wp_cache_decr(). fixes #18494
git-svn-id: http://svn.automattic.com/wordpress/trunk@18580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-22 17:39:44 +00:00