Ryan Boren
a6798b1fb6
Mainstream things that don't need to be multisite only. Formatting cleanups. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12698 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-11 22:08:49 +00:00
Ron Rennick
8b4fbdb503
merge in multisite login, wp-includes, See #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12697 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-11 21:49:40 +00:00
Ryan Boren
234f4f0025
wp_login_form(). Props beaulebens. see #11172
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12696 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-11 21:48:43 +00:00
Ryan Boren
397ae0d74b
Merge edit-page-form.php into edit-form-advanced.php. see #9674
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12695 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-11 21:42:45 +00:00
Ryan Boren
c64564251a
Show custom hierarchical taxonomies in the menus. Props dd32. see #11838
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12694 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-11 19:27:44 +00:00
Ryan Boren
32bfcc6aa8
Convert taxonomy children cache into a transient. fixes #11866
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12693 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-11 18:53:52 +00:00
Mark Jaquith
2d9af20cc3
Do not fire the redirect_canonical filter if the redirect_url is empty. fixes #11700
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12692 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-10 19:05:43 +00:00
Mark Jaquith
7263a46dae
Do proper canonical redirect for ?paged=1 or /page/1/. fixes #11696
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12691 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-10 18:56:03 +00:00
Mark Jaquith
20c7f2963e
Enable custom taxonomy UI for pages as well as for posts. fixes #11290
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12690 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-10 18:29:37 +00:00
Ron Rennick
dc9da44252
remove accidental executable flag, props ddebernardy, See #11743
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12689 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-10 18:22:18 +00:00
Ron Rennick
b7710fdf5a
multi-site startup, See #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12688 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-10 18:10:51 +00:00
Ryan Boren
45b15868ca
phpdoc updates. Props sirzooro. fixes #11853
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12687 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-10 15:50:17 +00:00
Peter Westwood
d71468418b
Pass $version to deprecated_argument_run action hook. See #11386 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12686 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-10 15:02:12 +00:00
Peter Westwood
7440e5516a
Tidy up logic for defining WP_DEBUG so we only define it if it isn't already. Fixes #11837 props nacin.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12685 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-10 10:57:01 +00:00
Ryan Boren
9a9700dff4
Don't delete site transient if it doesn't have a timeout set. fixes #11844
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12684 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-10 02:39:24 +00:00
Ryan Boren
5656bbea87
Add post_type inputs. Fix submenu highlighting. Props dd32. see #9674
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12683 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-10 01:24:56 +00:00
Ryan Boren
c4c46a3070
Post type caps. see #9674
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12682 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-10 01:23:14 +00:00
Ron Rennick
00664f3d77
remove hardcoded wp_ prefix, props ddebernardy, Fixes #11785
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12681 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-09 19:19:55 +00:00
Peter Westwood
2e2ad12171
Add missing version numbers to _deprecated_argument() calls.
...
Remove deprecated argument from xfn_check() calls.
Pass version number to deprecated_file_included, deprecated_function_run and deprecated_argument_run actions.
Fixes #11386 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12680 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-09 10:03:55 +00:00
Peter Westwood
713ef64d69
_future_post_hook should not call _deprecated_argument() as it will always get that argument from the action it is hooked to. Fixes #11815 props nacin.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12679 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-09 09:55:41 +00:00
Andrew Ozz
1ef5b387cf
Fix height of input and link buttons for all latest browsers.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12678 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-09 08:51:24 +00:00
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