Andrew Nacin
e5f55c5b3d
Deprecate add_option_update_handler() and remove_option_update_handler() in favor of register_setting() and unregister_setting(). #11730
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13805 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 23:03:31 +00:00
Andrew Nacin
94ec7ba0eb
Various bug fixes and improvements to menu management. props ptahdunbar, see #11817 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13802 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 19:56:16 +00:00
Andrew Nacin
476fcfe595
Check cap before showing comments from private posts in recent comments dashboard widget. fixes #9144 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13800 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 14:01:43 +00:00
Andrew Nacin
f5262bb86e
Fix the MS admin notice feed.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13792 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 02:23:45 +00:00
Andrew Nacin
450fa7374f
Restore a missing moderate_comments cap check in Right Now dashboard widget. see #12202
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13791 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-22 01:31:18 +00:00
Dion Hulse
6f62362b96
Use correct cap checks and nonces for custom post_type's
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13786 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-21 02:29:11 +00:00
Dion Hulse
9b70561913
Fix Quick edit for non-page Hierarchical post_types. See #12643
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13779 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-20 03:05:25 +00:00
Dion Hulse
f9660db25a
Add parent selection support for custom post_types to the Page Attributes metabox. See #12643
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13778 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-20 02:46:31 +00:00
Dion Hulse
1cf092565c
Tabs are better than spaces. Whitespace cleanup.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13777 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-20 02:39:58 +00:00
Dion Hulse
724fc1b7e5
Fix notice in Page Templates when a Template is not set for the current page.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13776 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-20 02:37:16 +00:00
Dion Hulse
f5795be7af
Add additional columns to the Posts Comments view. Props arena. Fixes #11231
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13775 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-20 02:35:17 +00:00
Andrew Nacin
dd306def81
Remove redundant isset() and empty() checks.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13770 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-19 21:29:21 +00:00
Andrew Nacin
ddc506f01c
Remove unnecessary ternary operators such as (expr) ? true : false.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13769 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-19 21:15:00 +00:00
Ron Rennick
2bcc218df8
add NONCE_SALT to secret_salt_warning(), see #11764
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13768 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-19 20:48:59 +00:00
Dion Hulse
12c0c3d475
Highlight correct submenu for Theme Installs. Fix PHP Notice for unset object properties (requires among others may not be set).
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13763 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-19 08:03:52 +00:00
Andrew Nacin
13facc3c4c
Clear cache of current theme name, if the theme name no longer exists. Fixes failures when an an active theme is renamed in its stylesheet. fixes #12428
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13762 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-19 03:09:02 +00:00
Ron Rennick
fa5bab87cd
force users to re-login after installing network, see #12142
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13760 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 23:35:04 +00:00
Andrew Nacin
c44cd2b999
Correct a copy-paste error in wp_manage_posts_columns().
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13759 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 22:34:58 +00:00
Andrew Nacin
fa0be92d46
Add deprecated notices for Options > Misc settings registrations. see #12437
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13749 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 17:32:27 +00:00
Dion Hulse
17d50834af
Remove Options -> Misc entirely as core as there are no longer options left there. Plugin registered options will be redirected to the General settings page. Fixes #12437
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13745 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 07:50:43 +00:00
Dion Hulse
0b02d175c5
Remove the now defunct link update checker from core. Fixes #12437
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13744 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 07:17:55 +00:00
Mark Jaquith
1192ddf4f9
Nav Menus: blur/Focus behavior for Create Menu and Add Custom Links. Route "return" presses in each of those areas to proper button press. Better create/save logic on the PHP side.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13739 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 19:57:08 +00:00
Ryan Boren
e89d1c5dcb
Introduce WP_DEFAULT_THEME
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13737 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 17:42:49 +00:00
Ryan Boren
f5ace6aec1
Use WP_FALLBACK_THEME when creating default stylesheet and template options.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13736 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 17:39:38 +00:00
Ryan Boren
e61755c853
Trim trailing whitespace
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13733 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 16:27:25 +00:00
Dion Hulse
812419455c
post_type edit_cap and edit_type_cap awareness for wp-admin/includes/post.php
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13729 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 12:35:48 +00:00
Mark Jaquith
3c5e5e8679
Unlimited number of pages and custom links for nav-menu. Todo: AJAX-based autocomplete, so this scales better. see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13727 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 06:33:53 +00:00
Mark Jaquith
7b72877a6e
Remove half-baked transient caching of nav-menu source results from [13704]. Todo: reimplement with proper cache invalidation. see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13726 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 06:10:47 +00:00
Mark Jaquith
8bca8131a6
More pedantry. "Setup" is not a verb. http://notaverb.com/setup
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13725 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 04:39:50 +00:00
Ryan Boren
5e9792f9f7
Menu item -> append should be a key/name, not a label. see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13722 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 22:01:49 +00:00
Ryan Boren
d1603a4246
Introduce taxonomies_allowed_in_menus and post_types_allowed_in_menus. Show only pages and categories by default. see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13716 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 17:22:24 +00:00
Ron Rennick
9fe9b2390f
first pass on optional global terms, see #12589
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13715 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 17:17:55 +00:00
Ryan Boren
586b69b6f6
Use get_permalink() instead of get_post_permalink(). Limit to published post types. see #11817 #12566
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13714 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 16:34:30 +00:00
Ron Rennick
accb84ed22
introduce global_terms_enabled site option, see #12589
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13713 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 15:31:50 +00:00
Ryan Boren
d710af9830
Menus rework. Props ptahdunbar. see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13704 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-15 16:26:46 +00:00
Dion Hulse
34e135fa81
Bulk Theme Upgrades. See #12528 See #11232 for Bulk UI
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13686 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-13 03:59:40 +00:00
Andrew Nacin
e22682a5dc
Fix logic and pull static code out of a loop. fixes #12581
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13662 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 17:21:18 +00:00
Andrew Nacin
8d0a3589c9
Use disabled() form helper. fixes #12581
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13661 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 17:12:23 +00:00
Ryan Boren
e333b6925a
Use page icon for page menus. fixes #12583
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13659 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 16:54:47 +00:00
Andrew Nacin
90182075c0
Introduce the disabled() form helper. Move selected() and checked() out of wp-admin and into full scope. see #12581
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13658 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 16:34:27 +00:00
Andrew Nacin
d6adc0701c
First pass at error handling for populate_network() and network.php. see #11816
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13655 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-11 01:51:24 +00:00
Andrew Nacin
f59126029d
Remove unused MU function and unnecessary separate includes file. see #11816
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13644 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-10 08:46:05 +00:00
Andrew Nacin
c2bb5992ee
Store subdomain/subdirectory choice in sitemeta. For now, only used in case we return to network.php without constants. see #11816
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13642 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-10 08:34:42 +00:00
Andrew Nacin
62569595aa
Correct subdomain handling in network.php. Pass around boolean values instead of 'yes' and 'no'. see #11816
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13641 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-10 08:17:07 +00:00
Andrew Nacin
1c91399612
Don't page comments by default. fixes #12562
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13636 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-09 21:04:41 +00:00
Dion Hulse
969ed4c5f8
Fix inline taxonomy Quick Edit. Props mdawaffe. See #12553
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13624 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-09 10:23:03 +00:00
Ron Rennick
13aa99629a
allow existing media path on main site when converting to multisite, see #12549
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13619 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-08 19:52:29 +00:00
Ron Rennick
830efa5339
move multisite upgrade functions to upgrade.php, see #11771
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13618 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-08 16:31:12 +00:00
Andrew Nacin
3b13adaca8
Remove htaccess.ms and wp-config.ms templates. These were brought inline in [13611]. see #11816
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13613 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 20:11:18 +00:00
Andrew Nacin
8b6b16cb2a
s/onClick/onclick/. props TobiasBg, see #12429
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13612 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 20:06:32 +00:00
Andrew Nacin
8995a960b9
Move $base sanity check to from MS config template to ms-settings. see #11816
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13610 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 19:36:35 +00:00
Ryan Boren
7850523e62
Update ms-sites UI. Props ocean90. see #12460
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13609 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 18:31:10 +00:00
Dion Hulse
0dbad6d7b5
First scrape at new UI for Bulk plugin upgrades. See #11232
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13602 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 08:39:50 +00:00
Dion Hulse
0da34463e7
Display an Attachment Icon if an Attachment thumbnail is not available. Fixes display of Upload edit fields. Fixes #12328
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13600 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-06 08:00:42 +00:00
Ron Rennick
aca65c0b4b
set default value for upload_space_check_disabled, see #12463
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13595 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-05 21:01:08 +00:00
Dion Hulse
7f001d5aa2
Do not display user specified password during install. Fixes #12479 . See #10396 for feedback
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13592 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-05 12:25:30 +00:00
Ron Rennick
7f8ea354ac
UI upgrade -> update, see #12517
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13590 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-04 23:28:15 +00:00
Ryan Boren
44f26063e8
Remove site admin logged in notice. The new Super Admin menu makes that obvious enough. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13586 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-04 18:59:24 +00:00
Ryan Boren
8aea5863d7
Fix submenus for post types. Props TobiasBg. see #12453
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13579 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-04 00:15:55 +00:00
Andrew Nacin
c7fdac20df
Support for extra POST fields in WP_Filesystem. props dd32. see #12094
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13577 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 19:53:39 +00:00
Ryan Boren
1604a2e58b
Improve user listing performance. Props miqrogroove. see #11914
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13576 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 19:08:30 +00:00
Ron Rennick
b921286ce2
add features to export, see #10317
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13573 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 16:45:40 +00:00
Andrew Nacin
2080b68e12
First pass on network.php improvements. see #12094
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13571 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 07:43:32 +00:00
Andrew Nacin
4ee4545c85
Switch the multisite constant EDIT_ANY_USER to a filter. Also ensure we're back compat with POST_BY_EMAIL. see #12381
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13568 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 07:04:25 +00:00
Ron Rennick
08bee6b6db
set default value for add_new_users site option, see #12463
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13564 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 22:57:12 +00:00
Andrew Nacin
de7eec68d5
Add some custom taxonomy flags to allow fully customize strings in the taxonomy meta box. see #11838
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13538 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 21:04:37 +00:00
Ryan Boren
04899b5212
Make favorite actions custom post type aware. Props ptahdunbar. fixes #12433
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13536 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 16:03:27 +00:00
Ryan Boren
8ef5d73550
Custom taxonomy support for inline edit. Props prettyboymp. see #9674
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13535 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 15:48:01 +00:00
Dion Hulse
97bd9628d7
Split Right Now widget into Content | Discussion. Props matveb. Fixes #12202
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13531 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 12:32:00 +00:00
Dion Hulse
38817d572b
A Better Flash upload button, Adds a Hover and Active styling, Adds a distinctive border to the button. Props ocean90. Fixes #12420
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13528 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 11:57:03 +00:00
Andrew Nacin
8ee771f548
Remove "Info" link in plugin installer. The "Install" link already opens a pop-up with information. see #11050
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13522 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 06:01:00 +00:00
Andrew Nacin
a7ddb80402
Rearrange action links in the install plugins browser. First pass on the UI overhaul. see #11050
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13520 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 00:50:55 +00:00
Andrew Nacin
c265d8f1da
Boost number of comments allowed in configurable Recent Comments dashboard module. fixes #11891
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13519 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 00:09:30 +00:00
Andrew Nacin
13d3a5bb5b
Remove wp-content/blogs.php and add deprecated warning for MU admins. fixes #11742
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13514 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 20:29:24 +00:00
Ryan Boren
2dad638a0e
Menu enhancements. Props ptahdunbar. fixes #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13512 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 20:00:49 +00:00
Andrew Nacin
1cc5b31283
s/onClick/onclick/. props TobiasBg fixes #12429
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13510 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 19:39:06 +00:00
Ron Rennick
697d574e68
more ms delete user tweaks, props ocean90, see #12386
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13506 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 19:24:25 +00:00
Ron Rennick
a67e4e0f82
cleanup confirm delete users, props ocean90, fixes #12386
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13504 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 16:58:17 +00:00
Dion Hulse
28f4212cd2
remove LOWER() in Order by clause for Post Meta. Allows MySQL to use the indexes properly. Props Denis-de-Bernardy. Fixes #11741
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13503 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 13:15:54 +00:00
Dion Hulse
df84c657f9
Fix slashing in Custom fields values. Allow for the meta_key to be updated without changing meta_value. Use wpdb::insert in add_meta(). Fixes #12418
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13489 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 07:12:05 +00:00
Dion Hulse
1a258ebff7
Fix Author selection for non-post type posts. Props prettyboymp. Fixes #12408
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13488 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 06:38:15 +00:00
Dion Hulse
f937e72ae9
Move Admin Colour Scheme picker to a hook. Props Jick. s/register_admin_color_themes()/register_admin_color_schemes/g. See #11625 , Fixes #6837
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13487 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 06:34:31 +00:00
Dion Hulse
0f8fd11400
PHPDocs update. Props miqrogroove. See #12422
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13482 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 03:18:40 +00:00
Ron Rennick
ed52a823cc
more menu improvements, props ptahdunbar, see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13473 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 23:06:56 +00:00
Ron Rennick
bff2814d07
warnings cleanup edit user, props dd32, see #12387
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13463 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 18:07:25 +00:00
Ron Rennick
97da99aa6a
warnings cleanup on archived/suspended sites, fixes #12396
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13461 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 17:48:37 +00:00
Andrew Nacin
3a0b94a917
Fix typos. props TobiasBg fixes #12398
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13455 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 15:53:06 +00:00
Andrew Nacin
bd51cf8b51
add_editor_style() third pass. better performance and better child theme support. see #11512
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13453 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 07:36:35 +00:00
Andrew Nacin
92c03dc898
Restore manage_pages_columns filter in wp_manage_posts_columns(). Pass post type to manage_posts_columns, and add a manage_{$post_type}_posts_columns filter. fixes #12398
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13451 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 06:45:23 +00:00
Ron Rennick
6afc78b158
more multisite UI rebranding, See #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13435 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 19:08:01 +00:00
Andrew Nacin
9b78314c05
A call to arms for grammarians. Fixes #12228 fixes #11875 props kurtmckee, filosofo, jjj
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13425 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 05:46:08 +00:00
Andrew Nacin
69915544d2
Don't use deprecated functions. Fixes #12377 props filosofo.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13423 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 00:41:23 +00:00
Peter Westwood
a85f6a4122
Just pass the comment object to get_avatar in floated_admin_avatar rather than duplicating logic. Fixes #12291 props Otto42.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13420 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 22:19:03 +00:00
Peter Westwood
81e711cf87
Introduce send_nosniff_header() and use it to turn off content sniffing in supported browsers. Fixes #10671 props chrisscott and niallkennedy.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13409 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 21:41:33 +00:00
Ryan Boren
6d3878f6b7
only show tags in inline-edit for post_types that support them. Props prettyboymp. see #9674
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13389 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 22:13:23 +00:00
Andrew Nacin
c9dfb91763
Spelling and grammar fun. Fixes #11875 props cnorris23
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13382 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 20:13:23 +00:00
Andrew Nacin
d7adf00e0e
s/existant/existent/
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13380 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 20:01:37 +00:00
Ryan Boren
66b081abd2
Remove author tags. fixes #12366
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13377 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 19:07:21 +00:00
Ryan Boren
e52fa727be
Nav menu cleanups. Props nbachiyski. see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13375 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 18:52:54 +00:00
Andrew Nacin
af9671d7c5
Add missing </small> tag. see #11891 fixes #12321 props ocean90
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13373 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 16:45:33 +00:00
Mark Jaquith
0c7e56f2e2
Remove Resetting, remove Enabling, enable deletion, etc. see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13369 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 09:43:09 +00:00
Ryan Boren
d357c80caf
Reorg nav menu files. see #11817
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13366 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 08:06:36 +00:00
Ryan Boren
03b3692832
Fix trash/untrash/delete links for custom post types. Props jfarthing84. see #9674
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13359 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 05:43:41 +00:00
Andrew Nacin
af187b2759
Switch over to *_user_meta() syntax. The old get_usermeta() would return a string when only one value was found, get_user_meta() requires $single = true. Fixes #10837
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13329 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 10:42:40 +00:00
Mark Jaquith
fc77a1d879
Whitespace cleanup
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13316 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 23:12:48 +00:00
Andrew Nacin
8826776ba0
Order link categories by name, not count, on Add/Edit Link page. Fixes #10399 props pnettle, chrisscott.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13313 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 21:59:40 +00:00
Andrew Nacin
670b8d8bfb
Don't use deprecated *_usermeta() functions. Props technosailor fixes #10837
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13311 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 21:25:32 +00:00
Andrew Nacin
59167f1593
Remove unused 'secret' option. Fixes #12221
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13309 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 20:27:02 +00:00
Ron Rennick
c7e12e9265
multisite UX, see #11644 , add manage_ caps for super_admin, fixes #11803
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13301 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 18:41:38 +00:00
Andrew Nacin
05a37728b1
Use esc_url() instead of clean_url(). See #12309
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13297 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 18:15:10 +00:00
Ryan Boren
9e5b6d1f34
Pass overrides. Allow ref array calling. Props tychay. fixes #12278
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13290 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 16:54:51 +00:00
Dion Hulse
c7be408d4a
Introduce assign_cap for Taxonomies, Defaults to 'edit_posts'. Allows for Authors/Contributors to tag/categorise their posts. See #12035
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13289 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 08:36:32 +00:00
Dion Hulse
a2c844a939
Links to Comment on Comments page, even for users that cannot modify it.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13288 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-22 08:26:18 +00:00
Mark Jaquith
56d1f114cf
Use correct labels for additional hierarchical taxonomies instead of reusing "Categories" text.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13285 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 21:24:48 +00:00
Dion Hulse
4df0240736
Allow Deletion of Media Alt text. Props reaperhulk. Fixes #11805
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13283 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 11:21:32 +00:00
Dion Hulse
3e2114eb0f
Link to Posts page on Taxonomy Administration page even for Count == 0. Count does not include Drafts/Scheduled posts, only "published" posts. Props miqrogroove. Fixes #11340
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13282 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 11:02:14 +00:00
Ron Rennick
02912dcf85
enable threaded comments by default, fixes #11992
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13272 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 01:02:00 +00:00
Andrew Nacin
5d808fce86
Use admin_url() for images in wp-admin, to allow for filtering. Props mdawaffe, see #12300
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13256 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 21:09:49 +00:00
Andrew Nacin
b7308ebe6c
Set svn eol-style native on new files
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13255 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 21:00:19 +00:00
Andrew Nacin
35eafcfed4
Add links to the codex changelog in update notification strings. props dtoj, see #11739
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13250 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 12:28:10 +00:00
Andrew Nacin
d4854cef04
Use utf8_encode() consistently in wp_read_image_metadata(). Also add some whitespace. props miqrogroove, see #11417 , see #12095
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13249 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 12:09:30 +00:00
Andrew Nacin
d824d6bbd4
Improved IPTC and EXIF handling. Drag a wider net and also try to avoid numeric attachment slugs where possible. Props miqrogroove. See #11417
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13244 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 09:17:34 +00:00
Andrew Nacin
6f1bfe6f0e
Allow class/method array pair in wp_iframe() when checking callback name in determining whether to include media stylessheet. Props technosailor, fixes #11976
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13243 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 08:19:44 +00:00
Dion Hulse
468d0d7cff
Variable Cleanup, Unused variables, Typo'd variables, unused code blocks. Fixes #12299
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13242 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 02:01:46 +00:00
Dion Hulse
8be48fe96a
Update wpmu_delete_user() to use wp_delete_user()'s Link Deletion API, ensures that all actions and cleanups are run. See #12298
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13241 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 01:45:04 +00:00
Andrew Nacin
6634241a48
Fix notice in populate_network(). See #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13234 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 21:19:54 +00:00
Andrew Nacin
2b6bcbdd89
Show must-use plugins and drop-ins in the plugins admin panel. First pass. See #11861
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13233 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 21:16:14 +00:00
Ryan Boren
9cea2b661a
Add an index on comment_parent to speed up wp_delete_comment() reparenting queries. fixes #12289
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13227 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 17:56:40 +00:00
Andrew Nacin
3f2c21e53f
Remove debug cruft. Fixes #12230
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13223 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 14:12:12 +00:00
Dion Hulse
343447e5a0
Fallback to PclZip in the event that ZipArchive cannot handle a given archive properly. Close the Zip handle when we're done as well. Fixes #12230
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13221 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 10:59:32 +00:00
Dion Hulse
5028f2ccbb
Fix $post_type handling/passing in the Taxonomy edit links. Fix the Tag selection query var for edit.php in the Posts links. See #12270 , See #11838
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13213 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 09:54:18 +00:00
Andrew Nacin
4d2c75d785
Assume WP_DEBUG is defined in wpdb. Remove unnecessary constant() calls. Ensure DB_COLLATE defined as empty string doesn't override default Multisite collation. fixes #12041 , see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13209 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 01:03:58 +00:00
Ryan Boren
15f2f0bda1
add_settings_error fixes. Props jeremyclarke. fixes #11474
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13197 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 19:43:44 +00:00
Ryan Boren
0ac0e76299
Option validation error reporting. Props jeremyclarke. see #11474
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13177 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-17 17:50:42 +00:00
Mark Jaquith
49d4b41207
Detect plugin output on activation, as well as fatal errors. props miqrogroove. fixes #12089
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13167 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-16 03:44:20 +00:00
Andrew Nacin
dc7a5f121c
Add "Network Activate" option to Bulk Actions menu on plugins.php. See #11644 , #12139
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13155 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 14:46:38 +00:00
Andrew Nacin
d1e195db99
Use an expanded special character set when generating auth keys and salts via wp_generate_password(). Props sivel, see #12159
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13137 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 04:06:30 +00:00
Dion Hulse
ae5ba76658
First pass at allowing username/password selection upon install. Includes some extra cleanup of the patch. Props dancole. See #10396
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13134 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 03:07:47 +00:00
Andrew Nacin
0fc1312800
Use stripos() instead of strpos() with strtolower(). For PHP < 5 we have stripos() in compat.php. Fixes #11176
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13132 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 02:27:19 +00:00
Andrew Nacin
a93c96ef98
Fix arg order in [13104]
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13107 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 10:46:38 +00:00
Andrew Nacin
d43ba9114b
Don't use deprecated functions. see #11388
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13106 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 10:35:10 +00:00
Andrew Nacin
cedafb8a9b
Add ?preview=true to edit post rows when draft|pending. Props MMN-o, fixes #11688
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13104 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 09:49:44 +00:00
Andrew Nacin
e139dea4d1
Deprecate old category admin template functions. Deprecate dropdown_categories(), dropdown_link_categories(), wp_dropdown_cats() in favor of wp_category_checklist, wp_link_category_checklist, wp_dropdown_categories. See #11388
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13097 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 07:42:02 +00:00
Andrew Nacin
49f0af2f42
RTL fixes for new position of QuickPress ajax spinner, also version bumps, see #10680
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13090 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 06:14:37 +00:00
Dion Hulse
d5ced26371
Initialise Variables, Whitespace cleanup, Remove unused variables, Cast start_of_week option to int in sanitization.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13089 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 06:08:15 +00:00
Dion Hulse
7a3a38c39b
Convert Terms page to use WP_Ajax_Response(), hierarchical terms will now appear under their parent OR have the parents prefixed, Terms will be removed from tag cloud/parent list upon deletion, Terms will be added to Parent list in correct order upon ajax creation, Errors on term creation flow back to UI, clean up _tag_row() alternate class handling, Show None text in Category dropdown if empty and show_if_empty = true. See #11838
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13086 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 05:40:47 +00:00
Andrew Nacin
dc02d03fcb
Re-position the QuickPress ajax spinner. Fixes #10680
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13085 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 05:35:47 +00:00
Andrew Nacin
1a4072f2e7
Make Recent Comments dashboard widget configurable. Allows user to choose how many comments to display, see #11891 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13084 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 04:39:39 +00:00
Dion Hulse
a719ecc0a2
Add add_plugins_page() function to add a submenu of the Plugins Page. Fixes #11377
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13082 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 04:04:01 +00:00
Dion Hulse
9da2f26d98
Fix Terms Per Page for taxonomies, Apply old Category filter to value. See #11838
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13081 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 03:52:33 +00:00
Andrew Nacin
b154b4d604
Ensure post titles are consistently sanitized and filtered when displaying them in Bulk Edit, fixes #11307 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13079 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 03:17:57 +00:00
Ron Rennick
8abaa3bad4
add WP_FALLBACK_THEME to allowed_themes in populate_network, See #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13070 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-12 22:45:35 +00:00
Ron Rennick
113a86ebbd
add siteurl site option for MU upgrade, See #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13067 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-12 17:37:17 +00:00
Ron Rennick
930b21a770
fix dashboard right now category links, fixes #12205
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13057 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-11 20:10:15 +00:00
Ryan Boren
d440214a7b
Export post <-> term relationships for all taxonomies. fixes #12180
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13055 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-11 19:17:00 +00:00
Ryan Boren
d204fd6215
Test explicitly for false from insert()/update(). Fixes early return that preventing link categories from being saved. fixes #12196
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13053 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-11 16:17:12 +00:00
Ryan Boren
2f7ef8196b
Pass the default post to default_content, default_title, and default_excerpt filters. Allows filtering by post_type and other attributes. see #9674
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13051 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-10 22:20:36 +00:00
Ryan Boren
6a5c43f5fc
Fix screen layout options for custom post types. see #9674
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13045 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-10 17:41:07 +00:00
Ryan Boren
883cad6a6f
Setup some default widgets for the default theme at install. Props azaozz. see #12163
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13033 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-08 22:17:18 +00:00
Ryan Boren
86d7ef0b69
Trim trailing whitespace
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13025 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-08 18:02:23 +00:00
Peter Westwood
77e592fead
Make _unzip_file_ziparchive() PHP4 safe. See #10403 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13015 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 21:28:05 +00:00
Ryan Boren
82e3b2f8f4
Twenty Ten initial import. Props Ian Stewart, Matt Thomas, and others. see #9015
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13012 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 16:16:26 +00:00
Dion Hulse
2a4403812a
Remove hierarchical taxonomy parent support from Quick Edit (field added in error). See #11838
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13009 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 06:40:51 +00:00
Dion Hulse
19fc6eaf94
Remove cat_rows() admin template functions. See #11838
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13008 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 05:54:33 +00:00
Dion Hulse
142262150e
PHPdoc for _unzip_file_pclzip & _unzip_file_ziparchive. See #10403
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13007 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 05:07:36 +00:00
Dion Hulse
b8ebf2ee2c
Better error checking for ZipArchive extraction. See #10403
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13006 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 05:02:24 +00:00
Dion Hulse
1419d92ddf
Introduce ZipArchive version of unzip_file(), More efficient on memory usage for supporting hosts. See #10403
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13005 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 04:52:35 +00:00
Dion Hulse
8f6db1c96f
Use rename() if possible in WP_Filesystem_Direct::move(). Props reaperhulk. Fixes #12150
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13001 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 02:15:27 +00:00
Dion Hulse
eff9f9e25b
Standardise return values in WP_Filesystem::dirlist(), ::chmod() and ::exists()
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12999 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 01:59:30 +00:00
Dion Hulse
c6aa08558a
Reduce code duplication, Formatting cleanups, Reduce Chmod IO calls. See #10913 for excess IO calls.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12998 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 01:31:40 +00:00
Dion Hulse
bb80851161
Fix recursive chmod for WP_Filesystem. Props reaperhulk for FtpExt. Fixes #11261
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12997 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 01:12:29 +00:00
Peter Westwood
86233c4dbd
Allow plugins to modify the query run by WP_User_Search. Fixes #10781 props scribu.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12989 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 12:35:15 +00:00
Mark Jaquith
2d54780d5e
Create post_status=auto-draft when creating a new post item. status changes to draft on first auto-save. now we always have a real post ID to work with. see #11889 . fixes #11145 . fixes #11990
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12987 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 10:07:57 +00:00
Mark Jaquith
4c3fbea45a
Revert quote swap from [12955]. Fixes media upload links.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12986 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 07:31:38 +00:00
Dion Hulse
8fbe3333b0
Switch to *_user_option() for default password nag to avoid extra DB queries. Fixes #11380
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12983 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-06 06:20:38 +00:00
Ryan Boren
1e9a464f69
Use get_plugin_data() to fetch Network header for is_network_only_plugin(). Props nacin. fixes #12139
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12976 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 21:33:53 +00:00
Ron Rennick
96665140d5
Change Network Only to Network for network plugins, props nacin, see #12139
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12975 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 18:33:35 +00:00
Ryan Boren
49bce47b8d
Network plugin activation cleanup. Props nacin. see #12139
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12974 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 18:10:30 +00:00
Ryan Boren
107f08638f
Fix delete media nonces. Props nacin. fixes #12085
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12972 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 17:59:18 +00:00
Ron Rennick
66f5d7e74e
add support for network only to identify network plugins, see #12139
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12970 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 16:33:35 +00:00
Dion Hulse
cbe9380b41
Revert accidental case changes in [12966]. See #12035
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12968 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 14:37:58 +00:00
Dion Hulse
b48695661a
Allow viewing of Attached hierarchical Terms when the user doesnt have Manage capability of the taxonomy, Only set terms if user has Management capability. See #12035
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12967 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 14:33:29 +00:00
Dion Hulse
317b630173
update wp_popular_terms_checklist() to handle custom taxonomies. See #10122
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12966 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 14:16:31 +00:00
Dion Hulse
23de0ed686
Cleanup admin_notice_feed(). Props nacin. Fixes #12138
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12965 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-05 14:00:18 +00:00
Ron Rennick
6db43aef8c
remove mod_security upload rewrite in ms htaccess, see [7563] for details
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12962 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 23:24:15 +00:00
Ryan Boren
ef25305270
Merge mu_media_buttons() into media_buttons(). see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12955 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 20:28:52 +00:00
Ryan Boren
7ea506e02a
Integrate remove_tinymce_media_button() into wp_tiny_mce(). see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12954 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 20:00:18 +00:00
Ryan Boren
0399d5c023
ms-functions pruning and cleanup. Props nacin. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12948 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 18:57:32 +00:00
Ryan Boren
3bc5c8975b
Sitewide plugins cleanup. Props nacin. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12947 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 18:50:36 +00:00
Ryan Boren
eeaa9c307e
Add lrm to fix bidi test display in RTL languages. Props ramiy. fixes #11919
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12944 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-04 16:45:55 +00:00
Ron Rennick
04c99ec671
add closing table cell tag to dashboard right now, props Simek, fixes #12121
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12940 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-03 23:06:27 +00:00
Ron Rennick
012732f59d
improvements to custom content dir support, props nacin, see #11742
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12936 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-03 18:19:56 +00:00
Ron Rennick
9cfbad8ba3
fix potential global terms inconsistency, props rboren, see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12933 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-03 01:00:57 +00:00
Ryan Boren
3b613d9aa5
Give network level upgrades separate API that is run when upgrading the main blog. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12931 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 21:53:26 +00:00
Ryan Boren
2b1691cdf4
Cleanup network plugin loading. Props nacin. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12930 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 21:41:17 +00:00
Ryan Boren
1d85da4417
Move functions to ms-deprecated.php
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12929 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 18:05:01 +00:00
Ryan Boren
10dd8c858f
Integrate update_profile_email() into user-edit.php. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12928 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 18:00:45 +00:00
Ryan Boren
12c49c44f4
Allow customizing capabilities for custom post types. Always check caps against those in the post type object instead of contructing them manually. see #9674
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12927 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 17:37:03 +00:00
Ron Rennick
45c254ac94
pass #2 change uploaded media rewrite rule, props nacin, see #11742
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12926 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-02 16:32:19 +00:00
Ron Rennick
454cf82301
minor fixes to populate_options(), UI tweaks, see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12920 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-01 20:01:14 +00:00
Ron Rennick
b78a8cd218
minor fixes/improvements to populate_network(), see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12919 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-01 18:01:23 +00:00
Peter Westwood
35677e6860
Add phpdoc to all the add_*_page functions.
...
Rename arguments to empasise that people should be using Capabilities not User Levels and named hooks not __FILE__.
See #12101 .
git-svn-id: https://develop.svn.wordpress.org/trunk@12914 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-31 17:36:00 +00:00
Peter Westwood
95b956bfb9
Fix add_pages_page to use the correct parent menu. Fixes #12100 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12913 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-31 17:16:00 +00:00
Ryan Boren
f6878865b5
Move 'My Blogs' into its own file. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12904 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-29 23:21:01 +00:00
Ryan Boren
d70d1ab100
Integrate sitewide plugin handling into activate_plugins(), deactivate_plugins(), and plugins.php. fixes #11767 see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12903 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-29 21:45:32 +00:00
Ryan Boren
402b998100
Remove remove_edit_plugin_link(). Rely on cap checks. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12902 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-29 19:29:31 +00:00
Peter Westwood
c4b63151a5
Don't both hooking in menu functions which will never get called. See #11922 props miqrogroove.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12891 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-28 20:20:18 +00:00
Ron Rennick
4e0bcbb98e
change wp- rewrite more specific rewrite rule, see #11994
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12884 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-28 15:29:23 +00:00
Ron Rennick
4bcd7b3afd
Improvements to queries in populate_network(), also gettext, props nacin, see #11816
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12880 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 19:13:00 +00:00
Ryan Boren
bdb3f1ee81
Set post_type for QuickPress publishing. Props nacin. fixes #12049
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12874 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 14:36:17 +00:00
Ryan Boren
783902b5d2
Fix notices when publishing with QuickPress. Props nacin, hakre. fixes #11504
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12873 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 14:34:11 +00:00
Ryan Boren
5fd2d9c671
Move deprecated admin functions to wp-admin/includes/deprecated.php. Props nacin. fixes #12024
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12871 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 14:10:32 +00:00
Ron Rennick
08d4201a21
allow initial site_id to be assigned by MySQL, fixes #12021
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12862 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 00:20:10 +00:00
Ryan Boren
72adbb470e
Remove trailing whitespace
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12859 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 22:49:05 +00:00
Ryan Boren
909191a37d
Deprecate is_main_blog() for is_main_site(). see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12858 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 22:46:09 +00:00
Ryan Boren
4fa746310c
Remove first page and first comment filters. They're no longer needed. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12854 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 20:42:37 +00:00
Ryan Boren
94a9904b69
Remove fix_actve_plugins(). Props hakre. fixes #11750
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12848 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 18:39:12 +00:00
Ryan Boren
7acbca8e8e
Move update_signup_email_from_profile() logic into user-edit.php. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12842 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 17:51:50 +00:00
Ryan Boren
1f7356af5b
Remove profile_page_email_warning_ob_start() and profile_page_email_warning_ob_content(). fixes #11759
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12841 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 17:34:36 +00:00
Dion Hulse
8c6e15b457
First scratch at Taxonomy Capabilities. See #12035
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12833 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 11:32:04 +00:00
Mark Jaquith
5aae2baff3
Better wp_reset_vars() behavior when var is already set. props scribu. fixes #11974
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12831 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-26 06:06:14 +00:00
Ryan Boren
d33c4ae2ca
phpdoc and cleanup. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12826 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-25 22:01:43 +00:00
Ryan Boren
0d90882b71
Deprecate mu_options. Integrate directly into options.php. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12825 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-25 21:33:49 +00:00
Ryan Boren
e0254c7917
Add wp-admin/includes/ms-deprecated.php. Deprecate wpmu_checkAvailableSpace. Introduce is_upload_space_available(). see #11762
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12824 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-25 19:46:24 +00:00
Ryan Boren
c01fb90ff1
Deprecate wp_shrink_dimension(), add wp-admin/includes/deprecated.php. Props filosofo. fixes #11967
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12823 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-25 18:50:01 +00:00
Dion Hulse
bc3fbede7f
Merge Categories/Hierarchical taxonomies into edit-tags.php. See #11838
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12818 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-24 11:00:27 +00:00
Ryan Boren
5f968eaba5
Fix taxonomy check so categories show in post quick edit. see #9674
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12812 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-23 18:27:26 +00:00
Ryan Boren
4085e644a6
Update new page link. fixes #11958
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12809 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-23 17:59:06 +00:00
Ryan Boren
345b2656c5
Remove raquo. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12804 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-22 22:34:54 +00:00
Ryan Boren
e5a67cebd5
Create metaboxes for hierarchical taxonomies. Props prettyboymp. fixes #10122
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12798 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-22 19:30:05 +00:00
Ryan Boren
8f1e29abd1
Introduce set_current_screen(). Set current screen for inline edit ajax requests so post rows can be properly displayed. see #9674
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12797 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-22 18:27:54 +00:00
Dion Hulse
bdc99b016a
Optimised unzip_file(), reduces is_dir() IO calls. See #10779
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12794 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-22 11:02:09 +00:00
Ryan Boren
2e46e81309
i18n fixes. Props nbachiyski. fixes #11954
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12789 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-21 21:37:43 +00:00
Ryan Boren
45b2e6b3af
Sanitize translation of default post slug. Props nbachiyski. fixes #11952
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12784 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-21 07:19:23 +00:00
Ryan Boren
efb7966619
Update trash and right now links for pages. fixes #11958
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12783 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-21 06:53:33 +00:00
Ryan Boren
91732dc4f1
Clear some warnings. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12782 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-20 23:01:09 +00:00
Ryan Boren
aaa492bf22
Screen icons for site admin pages. Using temp icon until new ones are done. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12781 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-20 22:35:21 +00:00
Ryan Boren
a9b7e7f7fa
Deprecate wp_install_blog_defaults(). Use wp_install_defaults() instead. fixes #11747 see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12776 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-20 20:09:41 +00:00
Ron Rennick
f2736aa1ab
set default empty message, See #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12775 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-20 18:25:08 +00:00
Ron Rennick
a5d7344d4f
sync single and multisite cookie hash, remove extraneous code, See #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12771 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-20 01:14:05 +00:00
Ron Rennick
1a8f8ca039
add multisite theme admin, See #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12769 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 20:03:11 +00:00
Ryan Boren
09aaaaaa23
Use SimplePie in admin_notice_feed(). Props garyc40. fixes #11765
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12767 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 19:33:21 +00:00
Ryan Boren
aceedd977d
Introduce clean_user_cache(). fixes #11761
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12766 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 19:23:11 +00:00
Ryan Boren
4dabd01ce6
Remove mu_dashboard(). Rely on cap checks to customize dash for multisite.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12765 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 18:15:53 +00:00
Ryan Boren
411594ffd8
Remove disable_some_pages(). Rely on cap checks. fixes #11770
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12764 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 18:11:33 +00:00
Ryan Boren
179e1c6d15
Formatting cleanups
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12759 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 16:14:06 +00:00
Ron Rennick
ef5e6e9ad2
implement multisite schema, upgrade, See #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12756 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 00:04:25 +00:00
Ryan Boren
ee5efb4187
Multisite and formatting cleanups. Introduce get_allowed_themes(). see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12755 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-18 23:34:36 +00:00
Ryan Boren
dbb773aa8e
Fix inverted logic. phpdoc update. Props nacin. fixes #11935
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12754 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-18 22:34:16 +00:00
Ryan Boren
f260b32d25
Use cap checks instead of multisite and super admin checks. Add some new caps. Merge cleanup. see #11644 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12753 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-18 22:21:36 +00:00