Commit Graph

11316 Commits

Author SHA1 Message Date
Andrew Ozz abb39f0c99 Show error message in TB when iframes support is turned off in the browser, props nacin, fixes #10939
git-svn-id: https://develop.svn.wordpress.org/trunk@12677 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-09 01:17:45 +00:00
Andrew Ozz cb0ee5b478 Fix invalid HTML in edit-category-form.php, props nacin, fixes #11736 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12675 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-09 00:19:09 +00:00
Ron Rennick 436316a4a8 Add is_subdomain_install() to ms code - Fixes #11796
git-svn-id: https://develop.svn.wordpress.org/trunk@12674 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 21:25:01 +00:00
Ryan Boren 71bef9fe26 Convert update_themes, update_plugins, update_core, and dismissed_update_core into site transients/plugins. Remove no longer need compat code.
git-svn-id: https://develop.svn.wordpress.org/trunk@12673 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 20:49:55 +00:00
Ryan Boren b153c75949 Use is_super_admin() instead of is_site_admin(). Props GIGALinux see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12672 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 20:29:56 +00:00
Ryan Boren f0761d7cf6 MULTSITE must be true. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12671 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 20:27:50 +00:00
Ryan Boren 6a4dae4be0 Disable sitewide plugin actions that use unfiltered GET and generate warnings pending further scrutiny. see #11767
git-svn-id: https://develop.svn.wordpress.org/trunk@12670 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 20:15:22 +00:00
Ryan Boren fbbf18d6c7 Set result of insert
git-svn-id: https://develop.svn.wordpress.org/trunk@12669 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 20:09:04 +00:00
Ryan Boren bc99700623 Use correct var name. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12668 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 20:07:40 +00:00
Ron Rennick e5ddd20a49 db class compatible with WP, MU & multi site - See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12667 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 19:26:00 +00:00
Ryan Boren 31d5955eee Typo fix in comment. see #11643
git-svn-id: https://develop.svn.wordpress.org/trunk@12666 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 19:10:50 +00:00
Ryan Boren c344d100bc Document impenetrable logic in login secure cookie and redirect handler. fixes #11643
git-svn-id: https://develop.svn.wordpress.org/trunk@12665 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 19:09:37 +00:00
Ryan Boren 89784abc18 Sanitize page template class. Props willmot. fixes #11722
git-svn-id: https://develop.svn.wordpress.org/trunk@12664 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 18:52:16 +00:00
Ryan Boren f121906d10 Don't break UTF-8 strings in setup-config.php. Props SergeyBiryukov fixes #11821
git-svn-id: https://develop.svn.wordpress.org/trunk@12663 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 18:40:00 +00:00
Ryan Boren 70c55846ac Pass parent to category_exists(). Props thetoine. fixes #11825
git-svn-id: https://develop.svn.wordpress.org/trunk@12662 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 17:58:13 +00:00
Ron Rennick edea19e9ae Add compatability for MU to is_multisite() - See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12661 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 17:24:40 +00:00
Andrew Ozz cb192bb9c7 Clean CSS of the Edit Image popup in the visual editor props Simek, show changed image size and fill width or height when left blank, fixes #11655, fixes #10442
git-svn-id: https://develop.svn.wordpress.org/trunk@12660 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 13:06:17 +00:00
Peter Westwood b5a43efa73 Introduce a single function for getting all the intermediate image sizes to be used both when adding attachements and deleting. Fixes #10263 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@12659 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 08:51:12 +00:00
Peter Westwood b2360778ee Add support to get_terms() to allow 'include' & 'exclude' args to be arrays(). Fixes #11076 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@12658 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 08:44:45 +00:00
Peter Westwood 2a93c55f43 Switch to passing arrays instead of query strings to functions. Fixes #6647 props filosofo and hakre.
git-svn-id: https://develop.svn.wordpress.org/trunk@12657 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 08:34:39 +00:00
Peter Westwood 6422cc2d63 Deprecate get_alloptions(). Fixes #4915 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12656 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 08:29:55 +00:00
Andrew Ozz f3a95270ad Optimize scan for lost attachments, props johnjosephbachir, fixes #10911
git-svn-id: https://develop.svn.wordpress.org/trunk@12655 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 05:23:22 +00:00
Andrew Ozz 4b7556c1db Don't let "Crunching" overlap image name while uploading, props hakre, fixes #11447
git-svn-id: https://develop.svn.wordpress.org/trunk@12654 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 01:01:52 +00:00
Peter Westwood 1a17554691 Run the old WPMU random_password filter in wp_generate_password(). Fixes #11746 props uglyrobot.
git-svn-id: https://develop.svn.wordpress.org/trunk@12653 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 20:49:04 +00:00
Ryan Boren 7b580bf8e8 Use update and insert. Props DD32. fixes #6836
git-svn-id: https://develop.svn.wordpress.org/trunk@12652 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 20:13:54 +00:00
Ryan Boren 7e6f603296 Revert extra bits that snuck in with [12650]
git-svn-id: https://develop.svn.wordpress.org/trunk@12651 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 19:55:48 +00:00
Ryan Boren d93a81bd35 Assume current user of user ID is not passed. Props filosofo. fixes #11808
git-svn-id: https://develop.svn.wordpress.org/trunk@12650 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 19:45:57 +00:00
Ryan Boren 866c3021d4 Block comments for future posts and password protected posts (when password not provided). Props filosofo. fixes #11810 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12647 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 19:37:16 +00:00
Ryan Boren aff9330640 User is_super_admin(). Props GIGALinux. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12646 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 15:52:22 +00:00
Ryan Boren cc623632d3 Deprecate is_site_admin. Props nacin. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12645 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 15:50:46 +00:00
Andrew Ozz 6388f7113b Check if VHOST is defined in get_id_from_blogname()
git-svn-id: https://develop.svn.wordpress.org/trunk@12643 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 10:52:21 +00:00
Andrew Ozz f992a598bb When decompressing try to raw-inflate first, props dd32, fixes #11600
git-svn-id: https://develop.svn.wordpress.org/trunk@12642 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 10:26:33 +00:00
Peter Westwood 754fe19661 Allow people to attach PHP 5.3 Closures to filters and actions. Fixes #10493 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@12641 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 08:27:02 +00:00
Peter Westwood ee63362624 Use like_escape to make safe search string for like queries.
git-svn-id: https://develop.svn.wordpress.org/trunk@12640 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 08:02:52 +00:00
Peter Westwood fc7e0f273b Search using blog_id = blog_id not blog_id = search string . Fixes #11787 props Denis-de-Bernardy.
git-svn-id: https://develop.svn.wordpress.org/trunk@12639 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 07:58:04 +00:00
Andrew Ozz 8d663551af Bring over the site admin menu icon
git-svn-id: https://develop.svn.wordpress.org/trunk@12638 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 07:55:09 +00:00
Peter Westwood 8fc78f4a06 Ensure that apage and num cannot have negative values. Fixes #11786 props Denis-de-Bernardy.
git-svn-id: https://develop.svn.wordpress.org/trunk@12637 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 07:54:15 +00:00
Peter Westwood 820991ac95 Switch from create_function to a fixed function for the plugin page activation admin notice. Fixes #11763 props dd32.
git-svn-id: https://develop.svn.wordpress.org/trunk@12636 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 07:41:13 +00:00
Peter Westwood 471ccb4fac phpDoc for ms-deprecated.php props nacin.
Make generate_random_password use wp_generate_password()
Fixes #11746.

git-svn-id: https://develop.svn.wordpress.org/trunk@12635 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 07:32:44 +00:00
Andrew Ozz 74ae03486d Silence error if TB iframe is loaded from another domain, see #6883
git-svn-id: https://develop.svn.wordpress.org/trunk@12634 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 05:55:26 +00:00
Ryan Boren 7196d7fbe8 Include ms.php if multisite
git-svn-id: https://develop.svn.wordpress.org/trunk@12633 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 04:33:41 +00:00
Ryan Boren 18e6d905c5 Strip trailing whites from ms files. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12632 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 04:27:46 +00:00
Ryan Boren 6a99014d81 Minifiy ms.css. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12631 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 04:23:23 +00:00
Ryan Boren 435053b040 Remove certain caps for non super admins when running multisite. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12630 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 04:05:53 +00:00
Ryan Boren e1a37a3563 Fix blogs menu item. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12629 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 03:43:54 +00:00
Ryan Boren 4c8ee2f889 Remove raquo. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12628 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 03:40:03 +00:00
Ryan Boren adca93f6c4 Cleanup titles. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12627 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 03:24:24 +00:00
Ryan Boren 9752cb8705 Queue ms.css if multisite. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12626 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 02:33:53 +00:00
Ryan Boren c62b24a2af Queue ms.css if multisite. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12625 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 02:33:23 +00:00
Ryan Boren b343c9ee06 Deprecate generate_random_password(). fixes #11746
git-svn-id: https://develop.svn.wordpress.org/trunk@12624 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 02:22:51 +00:00