Commit Graph

11350 Commits

Author SHA1 Message Date
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
Ryan Boren 40e73cd79d Better POST_BY_EMAIL logic. Props Denis-de-Bernardy. fixes #11752
git-svn-id: https://develop.svn.wordpress.org/trunk@12623 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 01:29:40 +00:00
Ryan Boren cf5aae053b s/wpmu/ms/ in file refs. Props Denis-de-Bernardy. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12622 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 00:30:53 +00:00
Ryan Boren 19e3842fc2 Add esc_attr to ms-users.php. see #11792
git-svn-id: https://develop.svn.wordpress.org/trunk@12621 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 00:25:02 +00:00
Ron Rennick 9b84b850c9 Change references to wpmu-edit.php - See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12620 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 00:24:03 +00:00
Ryan Boren 06d845c74c Add esc_attr to ms-options.php. see #11782
git-svn-id: https://develop.svn.wordpress.org/trunk@12619 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 00:21:19 +00:00
Ryan Boren 3054280850 Move wpmu_menu() logic into menu.php. Props Denis-de-Bernardy. fixes #11763
git-svn-id: https://develop.svn.wordpress.org/trunk@12618 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 00:17:13 +00:00
Ryan Boren 37a7d305bf Add esc_attr to ms-sites.php. see #11782
git-svn-id: https://develop.svn.wordpress.org/trunk@12617 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 00:13:35 +00:00
Ryan Boren dfe2e39c2c Deprecate argument. Never fallback to options table for user option requests. Props nacin. fixes #11615
git-svn-id: https://develop.svn.wordpress.org/trunk@12616 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 00:01:52 +00:00
Ryan Boren e7003d6c95 Make *_site_option() multisite awate. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12615 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-06 23:57:35 +00:00
Ryan Boren 3b4c235c3f Show theme installer only to super admins. Props Denis-de-Bernardy. see #11763
git-svn-id: https://develop.svn.wordpress.org/trunk@12614 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-06 23:48:46 +00:00
Ryan Boren d710ef45d0 Move some multisite menu checks directly into menu.php. see #11763
git-svn-id: https://develop.svn.wordpress.org/trunk@12613 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-06 23:41:03 +00:00
Ryan Boren 03f8d8996d Return true for all admin user is multisite is not enabled. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12612 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-06 23:39:40 +00:00
Ryan Boren 8a5d801117 Introduce is_super_admin(). see #11644.
git-svn-id: https://develop.svn.wordpress.org/trunk@12611 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-06 23:27:22 +00:00
Peter Westwood 816ed91f0f Remove svn:executable property on new files. Fixes #11743 props Denis-de-Bernardy.
git-svn-id: https://develop.svn.wordpress.org/trunk@12610 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-06 22:22:45 +00:00
Ryan Boren ca3f286d96 Introduce is_multisite(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12609 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-06 20:19:35 +00:00
Ryan Boren d04182b97c Remove link-import.php. fixes #11755
git-svn-id: https://develop.svn.wordpress.org/trunk@12608 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-06 20:10:37 +00:00