Commit Graph

6499 Commits

Author SHA1 Message Date
nacin
9ec5ce818a Add missing </small> tag. see #11891 fixes #12321 props ocean90
git-svn-id: http://svn.automattic.com/wordpress/trunk@13373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 16:45:33 +00:00
markjaquith
39b5d188b5 Fix menu selection CSS, menu selection alignment, right meta boxes alignment. Disable alert fading for custom menu admin. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 10:37:00 +00:00
markjaquith
67aed4d0a2 Fix menu links. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 10:11:49 +00:00
markjaquith
654c7a3888 Remove Resetting, remove Enabling, enable deletion, etc. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 09:43:09 +00:00
ryan
091d1150d3 Fallback to wp_page_menu() from wp_nav_menu() if no menus are setup. Use wp_nav_menu() in twentyten. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 08:45:26 +00:00
ryan
ee734e1e68 Reapply stomped part of [13364]. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 08:10:27 +00:00
ryan
d5074db5ea Reorg nav menu files. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 08:06:36 +00:00
markjaquith
1ed4ece13d Increment the menu ID so the first menu works. props junsuijin. fixes #12339
git-svn-id: http://svn.automattic.com/wordpress/trunk@13365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 07:58:14 +00:00
markjaquith
020862b5a4 Clean up the JS/no-JS CSS. Fix up the no-JS message. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 07:52:48 +00:00
ryan
2430c97718 Return menu object from wp_create_nav_menu(). Fix trailing separator in menu list. Disable menu delete because it deletes the current menu when a new menu is added. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 06:41:35 +00:00
ryan
911a6b1c09 Allow inline saves for non-public custom post types. Props jfarthing84. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 05:45:38 +00:00
ryan
fc6d49427e Fix trash/untrash/delete links for custom post types. Props jfarthing84. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 05:43:41 +00:00
nacin
fc250d46f3 Show "Log In" button on install.php when already installed. fixes #10488 props dancole
git-svn-id: http://svn.automattic.com/wordpress/trunk@13356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 01:58:27 +00:00
wpmuguru
1b7d72fe35 move menu selection to a top nav links, See #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 01:44:16 +00:00
wpmuguru
732e38033d add menu delete & other custom menu cleanup, See #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 23:53:08 +00:00
wpmuguru
f9edbbfc00 fix custom menu hierarchy support in admin, See #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 23:13:54 +00:00
nacin
de8b58148c RTL fixes. fixes #12347 props yoavf
git-svn-id: http://svn.automattic.com/wordpress/trunk@13346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 22:35:07 +00:00
ryan
5fa6e0a242 Some nav menu API. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 22:06:21 +00:00
ryan
1f79e523b2 Cleanups. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 20:48:50 +00:00
ryan
0ee79f08e2 Use 'Menus'. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 20:38:27 +00:00
ryan
111e334aca Drop 'Custom' from menu names. Use 'Menus' instead of Navigation. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 20:28:52 +00:00
nacin
7aa43e9c8b Ensure we have MS global tables defined during network install. See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 19:58:53 +00:00
ryan
5f80b84a4f Nav cleanup. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 17:13:24 +00:00
nacin
4e56d1c6a9 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: http://svn.automattic.com/wordpress/trunk@13329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 10:42:40 +00:00
nacin
191e0df9d2 Improvements and fixes to wpdb::tables(). See #12083 see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 09:06:50 +00:00
markjaquith
09e8d27130 Whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@13316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 23:12:48 +00:00
nacin
e692640c11 Order link categories by name, not count, on Add/Edit Link page. Fixes #10399 props pnettle, chrisscott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 21:59:40 +00:00
nacin
2ce7dc4dac Don't use deprecated *_usermeta() functions. Props technosailor fixes #10837
git-svn-id: http://svn.automattic.com/wordpress/trunk@13311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 21:25:32 +00:00
nacin
2dcfc0913b Remove unused 'secret' option. Fixes #12221
git-svn-id: http://svn.automattic.com/wordpress/trunk@13309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 20:27:02 +00:00
ryan
2518cd05bc Typo fix. see #12186
git-svn-id: http://svn.automattic.com/wordpress/trunk@13308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 20:15:48 +00:00
ryan
05edcb0c45 Grammar fix. Don't show empty img. Cleanup POST handler. see #12186
git-svn-id: http://svn.automattic.com/wordpress/trunk@13307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 20:15:06 +00:00
nacin
1982ea7d20 Fix notice, and use wp_max_upload_size() to fill MAX_FILE_SIZE hidden field (used by supporting browsers for a client-side check). Fixes #10849 props sivel.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 19:48:38 +00:00
nacin
13c2e250d4 Add a boolean filter to allow suppression of the new mu-plugins and drop-ins tabs. See #11861
git-svn-id: http://svn.automattic.com/wordpress/trunk@13305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 19:37:26 +00:00
ryan
0ebb6732bf Custom background styling fixes. Props yoavf. see #12186
git-svn-id: http://svn.automattic.com/wordpress/trunk@13303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 18:46:29 +00:00
wpmuguru
a5a9f32b73 multisite UX, see #11644, add manage_ caps for super_admin, fixes #11803
git-svn-id: http://svn.automattic.com/wordpress/trunk@13301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 18:41:38 +00:00
ryan
df533b945e More gettext. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 18:16:34 +00:00
nacin
5656a345b9 Use esc_url() instead of clean_url(). See #12309
git-svn-id: http://svn.automattic.com/wordpress/trunk@13297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 18:15:10 +00:00
ryan
ee66f1de17 More gettext. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 18:12:53 +00:00
ryan
110399c39e Some gettext and formatting. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 18:03:03 +00:00
wpmuguru
a438997177 add apostophes to custom menu update messages, See #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13294 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 17:48:50 +00:00
ryan
803dd8b7c2 Handle custom post types in inline edit js. Props jfarthing84. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 17:21:33 +00:00
ryan
a55b30dcaf Pass overrides. Allow ref array calling. Props tychay. fixes #12278
git-svn-id: http://svn.automattic.com/wordpress/trunk@13290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 16:54:51 +00:00
dd32
0ec732b34a Introduce assign_cap for Taxonomies, Defaults to 'edit_posts'. Allows for Authors/Contributors to tag/categorise their posts. See #12035
git-svn-id: http://svn.automattic.com/wordpress/trunk@13289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 08:36:32 +00:00
dd32
511454bd14 Links to Comment on Comments page, even for users that cannot modify it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 08:26:18 +00:00
wpmuguru
624e51d2c8 add custom menu hierarchy support to admin, See #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 00:26:21 +00:00
markjaquith
76a24ce6b1 Use correct labels for additional hierarchical taxonomies instead of reusing "Categories" text.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-21 21:24:48 +00:00
ryan
41bea20d51 Use nav_menu as the taxonomy name and nav_menu_item as the post type. Set object_id in postmeta. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-21 18:24:41 +00:00
dd32
8e74ffb282 Allow Deletion of Media Alt text. Props reaperhulk. Fixes #11805
git-svn-id: http://svn.automattic.com/wordpress/trunk@13283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-21 11:21:32 +00:00
dd32
75e88df3fe 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: http://svn.automattic.com/wordpress/trunk@13282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-21 11:02:14 +00:00
dd32
48f10f0dc1 Fix Typo. Props TobiasBg. Fixes #12319. See #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-21 10:57:05 +00:00
dd32
9f8fde7c96 Fix New Menu term handling. See #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-21 10:51:34 +00:00
dd32
d6397b1ab5 Sync Installer/WP_Die background colour with the Fresh colour scheme background
git-svn-id: http://svn.automattic.com/wordpress/trunk@13278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-21 10:19:16 +00:00
dd32
be50291e23 Move 'restrict_manage_posts' out of category check. Props jfarthing84. Fixes #12310
git-svn-id: http://svn.automattic.com/wordpress/trunk@13273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-21 01:33:35 +00:00
wpmuguru
3d00580d82 enable threaded comments by default, fixes #11992
git-svn-id: http://svn.automattic.com/wordpress/trunk@13272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-21 01:02:00 +00:00
ryan
672dbdab92 Cleanups. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-21 00:34:44 +00:00
ryan
e8d04df976 Use core jQuery UI. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-21 00:10:20 +00:00
ryan
dbfb51c6e0 Trim trailing whites
git-svn-id: http://svn.automattic.com/wordpress/trunk@13268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-21 00:03:42 +00:00
ryan
622ae1dff8 Add icons. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-21 00:02:01 +00:00
ryan
28891708e3 Make js noConflict compat. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 23:58:00 +00:00
ryan
d49599feb9 Update paths in custom nav css. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 23:41:47 +00:00
ryan
9f03ed8625 Remove custom jquery. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 23:35:37 +00:00
ryan
0363b31fa6 Move autocomplete to standard jquery directory. Use core jQuery. Use jQuery instead of $. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 23:35:05 +00:00
ryan
76017ffbd7 Rename file. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 23:18:57 +00:00
ryan
c536bdf7e3 Set type in post meta. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 22:44:24 +00:00
wpmuguru
4d203a02c6 introduce custom menus, props jeffikus, See #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 21:57:43 +00:00
nacin
00706d68ce Use admin_url() for images in wp-admin, to allow for filtering. Props mdawaffe, see #12300
git-svn-id: http://svn.automattic.com/wordpress/trunk@13256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 21:09:49 +00:00
nacin
5d4bb4cd7a Set svn eol-style native on new files
git-svn-id: http://svn.automattic.com/wordpress/trunk@13255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 21:00:19 +00:00
nacin
baa6ca4b2c Add links to the codex changelog in update notification strings. props dtoj, see #11739
git-svn-id: http://svn.automattic.com/wordpress/trunk@13250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 12:28:10 +00:00
nacin
39605976b1 Use utf8_encode() consistently in wp_read_image_metadata(). Also add some whitespace. props miqrogroove, see #11417, see #12095
git-svn-id: http://svn.automattic.com/wordpress/trunk@13249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 12:09:30 +00:00
nacin
f3f4b1f924 Show awareness of comment's current status when moderating via e-mail/AYS. Show message on AYS screen of comment's status if not unapproved. Skip AYS when trying to re-approve (or delete or spam) a comment and show a message. See #11441
git-svn-id: http://svn.automattic.com/wordpress/trunk@13247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 11:48:38 +00:00
nacin
0b023e884c Comments moderation code cleanup. Dry up some code, add screen icon to AYS, fix notice in comment_footer_die(). Redirect to edit-comments.php on an error, instead of stranding them with dull comment_footer_die() message. See #11441
git-svn-id: http://svn.automattic.com/wordpress/trunk@13246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 11:18:25 +00:00
nacin
f58329a718 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: http://svn.automattic.com/wordpress/trunk@13244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 09:17:34 +00:00
nacin
d93a202841 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: http://svn.automattic.com/wordpress/trunk@13243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 08:19:44 +00:00
dd32
679250491d Variable Cleanup, Unused variables, Typo'd variables, unused code blocks. Fixes #12299
git-svn-id: http://svn.automattic.com/wordpress/trunk@13242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 02:01:46 +00:00
dd32
a6637d9c7a 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: http://svn.automattic.com/wordpress/trunk@13241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 01:45:04 +00:00
nacin
8f2a759d3c Minify remaining RTL css files, and ie.css. See #12292.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 23:55:09 +00:00
nacin
c97d7d3884 Fix nesting of an if statement. Show keyboard shortcuts option even when admin colors are disabled. Props pampfelimetten, fixes #12294
git-svn-id: http://svn.automattic.com/wordpress/trunk@13236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 22:02:43 +00:00
nacin
5037479ed8 Full Multisite support for dropins/mu-plugins in admin area. Ensure that network, drop-ins and mu-plugins are only shown and counted to super admins. See #11644, #11861
git-svn-id: http://svn.automattic.com/wordpress/trunk@13235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 21:53:24 +00:00
nacin
eb20a00c80 Fix notice in populate_network(). See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 21:19:54 +00:00
nacin
020fde42ee Show must-use plugins and drop-ins in the plugins admin panel. First pass. See #11861
git-svn-id: http://svn.automattic.com/wordpress/trunk@13233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 21:16:14 +00:00
nacin
a39dc63ed5 Allow bypass of http call to wp.org (for keys/salts), via URL query var. See #12159
git-svn-id: http://svn.automattic.com/wordpress/trunk@13232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 20:56:16 +00:00
nacin
f1032cf165 Use get_edit_post_link(). Props jfarthing84, fixes #12288
git-svn-id: http://svn.automattic.com/wordpress/trunk@13230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 20:03:05 +00:00
nacin
23918aa60d Introduce wpdb::tables() to fetch table names on a global or blog scope. Remove very old and long deprecated $table{table} globals, fixes #11614. See #12083
git-svn-id: http://svn.automattic.com/wordpress/trunk@13229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 19:57:03 +00:00
ryan
ebdbcbc4b3 Add an index on comment_parent to speed up wp_delete_comment() reparenting queries. fixes #12289
git-svn-id: http://svn.automattic.com/wordpress/trunk@13227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 17:56:40 +00:00
nacin
61a1dc747d Don't italicize admin footer in RTL. Props raimy, fixes #11985
git-svn-id: http://svn.automattic.com/wordpress/trunk@13226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 15:42:22 +00:00
nacin
85ed3f3a78 First pass at Multisite support in DB repair. When MS, include main blog tables; when not MS, include non-MS global tables (users, usermeta). See #12083
git-svn-id: http://svn.automattic.com/wordpress/trunk@13224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 14:33:01 +00:00
nacin
364b9b0ffb Remove debug cruft. Fixes #12230
git-svn-id: http://svn.automattic.com/wordpress/trunk@13223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 14:12:12 +00:00
dd32
9d23c565bd 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: http://svn.automattic.com/wordpress/trunk@13221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 10:59:32 +00:00
dd32
35cdac687c More Taxonomy cap checks. See #12035
git-svn-id: http://svn.automattic.com/wordpress/trunk@13217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 10:26:44 +00:00
dd32
39620db24d First pass at giving taxonomies a show_ui param. See #10773
git-svn-id: http://svn.automattic.com/wordpress/trunk@13216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 10:21:29 +00:00
dd32
fa9cd83410 Use the public query param instead of show_ui to determine if the Post Type is displayable. Props jfarthing84. See #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 10:05:13 +00:00
dd32
8c26cffe1b 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: http://svn.automattic.com/wordpress/trunk@13213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 09:54:18 +00:00
nacin
84da5911aa 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: http://svn.automattic.com/wordpress/trunk@13209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 01:03:58 +00:00
ryan
71b350a317 Don't include internal post types in the total. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-18 20:01:10 +00:00
ryan
3878927045 add_settings_error fixes. Props jeremyclarke. fixes #11474
git-svn-id: http://svn.automattic.com/wordpress/trunk@13197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-18 19:43:44 +00:00
wpmuguru
c62a99c820 revert [13036], change not consistent with MU, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-18 15:40:19 +00:00
azaozz
4c52731c85 Sync checkboxes only for categories, some white space cleanup, props kevinB, fixes #12244
git-svn-id: http://svn.automattic.com/wordpress/trunk@13195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-18 11:20:15 +00:00
azaozz
e41f7c83ce Clean attachment cache when reattaching, fixes #11647
git-svn-id: http://svn.automattic.com/wordpress/trunk@13192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-18 07:43:35 +00:00
nacin
0dcfcc6e20 Allow tab to intent in plugin/theme editors. Reverts first pass, [13131]. Props azaozz, fixes #12204
git-svn-id: http://svn.automattic.com/wordpress/trunk@13191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-18 05:14:48 +00:00
ryan
f35b2128ae Add defaults for background option radios. see #12186
git-svn-id: http://svn.automattic.com/wordpress/trunk@13189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-18 03:12:05 +00:00
ryan
d472b153ca Add some options to custom background admin. Needs styling. see #12186
git-svn-id: http://svn.automattic.com/wordpress/trunk@13186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-18 00:14:56 +00:00
nacin
6444ad283f Modify style of new "Privacy On" admin header indicator. props scottbasgaard, fixes #12211
git-svn-id: http://svn.automattic.com/wordpress/trunk@13182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-17 20:16:54 +00:00
ryan
08bb3568c6 Option validation error reporting. Props jeremyclarke. see #11474
git-svn-id: http://svn.automattic.com/wordpress/trunk@13177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-17 17:50:42 +00:00
nacin
bd540fe7f1 Fix notices, props sivel. Fixes #12122
git-svn-id: http://svn.automattic.com/wordpress/trunk@13175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-17 12:26:47 +00:00
ryan
f18f34ead8 Flag post statuses as public, private, protected, or internal. Add flags for showing the type in the admin all query and the admin status list. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-16 21:13:44 +00:00
nacin
9cabc34e63 Use esc_attr. Fixes #12211
git-svn-id: http://svn.automattic.com/wordpress/trunk@13169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-16 04:16:52 +00:00
markjaquith
c2566a917a Place a "Privacy On" mini-alert in the wp-admin header when it is on, to prevent people from accidentally delisting themselves from search engines. props scottbasgaard. fixes #12211
git-svn-id: http://svn.automattic.com/wordpress/trunk@13168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-16 03:54:40 +00:00
markjaquith
082eca5c48 Detect plugin output on activation, as well as fatal errors. props miqrogroove. fixes #12089
git-svn-id: http://svn.automattic.com/wordpress/trunk@13167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-16 03:44:20 +00:00
markjaquith
1801751bc4 More and more, hosts are not using localhost for the MySQL connection. Reword the config setup text. props mrmist. fixes #11659
git-svn-id: http://svn.automattic.com/wordpress/trunk@13163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-15 15:21:34 +00:00
dd32
a09a3d513c Grammar fix, s/A item/An item/. Props aaroncampbell. See #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@13162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-15 10:00:43 +00:00
nacin
6597e399cc Only show "Popular Terms" header when there is a tag cloud to show. see #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@13160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-15 09:05:56 +00:00
nacin
f8ca7dfd10 Add "Network Activate" option to Bulk Actions menu on plugins.php. See #11644, #12139
git-svn-id: http://svn.automattic.com/wordpress/trunk@13155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 14:46:38 +00:00
nacin
17828647fe Fix notice in ms-options.php. See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 14:08:36 +00:00
nacin
01429c0362 Improve updated messages in Media Library. Add plural strings, add Undo links for trash. Fixes #11402
git-svn-id: http://svn.automattic.com/wordpress/trunk@13153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 13:17:31 +00:00
nacin
db0e494344 Use an expanded special character set when generating auth keys and salts via wp_generate_password(). Props sivel, see #12159
git-svn-id: http://svn.automattic.com/wordpress/trunk@13137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 04:06:30 +00:00
nacin
04212c36f3 Actually remove stray line ref. [13135]. see #10396
git-svn-id: http://svn.automattic.com/wordpress/trunk@13136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 03:28:34 +00:00
nacin
b8a6d8add5 Manual L10n JS strings in install.php. Remove stray line, see #13134
git-svn-id: http://svn.automattic.com/wordpress/trunk@13135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 03:24:25 +00:00
dd32
470f62dd8c First pass at allowing username/password selection upon install. Includes some extra cleanup of the patch. Props dancole. See #10396
git-svn-id: http://svn.automattic.com/wordpress/trunk@13134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 03:07:47 +00:00
nacin
5871a56009 Fall back to wp_generate_password() in setup-config.php if HTTPS request for secret keys fails. Also use pretty link to secret-key API, see #12159
git-svn-id: http://svn.automattic.com/wordpress/trunk@13133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 02:47:45 +00:00
nacin
cfa428b8d2 Use stripos() instead of strpos() with strtolower(). For PHP < 5 we have stripos() in compat.php. Fixes #11176
git-svn-id: http://svn.automattic.com/wordpress/trunk@13132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 02:27:19 +00:00
nacin
b43bb4330f Allow tab intents in plugin/theme editors. Utilizes the Tabby jQuery plugin, see #12204
git-svn-id: http://svn.automattic.com/wordpress/trunk@13131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 02:14:59 +00:00
nacin
05f7724075 install.php whitespace cleanup, inline docs, function @sinces, fixes #11491
git-svn-id: http://svn.automattic.com/wordpress/trunk@13124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 20:40:42 +00:00
wpmuguru
29a9729ccf strip slashes, block arrays in ms-edit.php, fixes #11778
git-svn-id: http://svn.automattic.com/wordpress/trunk@13115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 17:49:38 +00:00
wpmuguru
1d5b49f6f8 use cached data in ms-admin.php stats, props ddebernardy, fixes #11772
git-svn-id: http://svn.automattic.com/wordpress/trunk@13114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 17:10:50 +00:00
nacin
f0c91f4ba2 Fix arg order in [13104]
git-svn-id: http://svn.automattic.com/wordpress/trunk@13107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 10:46:38 +00:00
nacin
b4f362264e Don't use deprecated functions. see #11388
git-svn-id: http://svn.automattic.com/wordpress/trunk@13106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 10:35:10 +00:00
nacin
07d5fab8d6 Add ?preview=true to edit post rows when draft|pending. Props MMN-o, fixes #11688
git-svn-id: http://svn.automattic.com/wordpress/trunk@13104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 09:49:44 +00:00
dd32
8136de990c Introduce 'singular_label' for Post Types. Props scribu. See #12214
git-svn-id: http://svn.automattic.com/wordpress/trunk@13101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 08:56:38 +00:00
nacin
8aede6cab7 Consistently hide bulk actions, filters, and subpage links on admin panels when there are no items to show. Fixes #12086
git-svn-id: http://svn.automattic.com/wordpress/trunk@13100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 08:49:27 +00:00
nacin
95b27d05ce 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: http://svn.automattic.com/wordpress/trunk@13097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 07:42:02 +00:00
dd32
044cf9b83c Correctly save checkbox-style MS options and display "No" checked value correctly. See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 07:09:04 +00:00
dd32
14c0a033a5 Banish User_level 10 use from Network Menu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 07:00:09 +00:00
nacin
c8c6e1e6d7 RTL fixes for new position of QuickPress ajax spinner, also version bumps, see #10680
git-svn-id: http://svn.automattic.com/wordpress/trunk@13090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 06:14:37 +00:00
dd32
22e4b1200e Initialise Variables, Whitespace cleanup, Remove unused variables, Cast start_of_week option to int in sanitization.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 06:08:15 +00:00
dd32
5e339cea52 Flow on tax-modification errors on Tax inline edit to the UI. See #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@13088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 06:04:54 +00:00
dd32
c9ea3a7686 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: http://svn.automattic.com/wordpress/trunk@13086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 05:40:47 +00:00
nacin
87556345bf Re-position the QuickPress ajax spinner. Fixes #10680
git-svn-id: http://svn.automattic.com/wordpress/trunk@13085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 05:35:47 +00:00
nacin
ef49fb5612 Make Recent Comments dashboard widget configurable. Allows user to choose how many comments to display, see #11891.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 04:39:39 +00:00
dd32
c0f5c80ab4 Add add_plugins_page() function to add a submenu of the Plugins Page. Fixes #11377
git-svn-id: http://svn.automattic.com/wordpress/trunk@13082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 04:04:01 +00:00
dd32
ea6e709e1d Fix Terms Per Page for taxonomies, Apply old Category filter to value. See #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@13081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 03:52:33 +00:00
nacin
ab0ca98e9b Ensure post titles are consistently sanitized and filtered when displaying them in Bulk Edit, fixes #11307.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13079 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 03:17:57 +00:00
nacin
eddc178ee1 Escape thousandsSeparator and decimalPoint JS variables, see #12005
git-svn-id: http://svn.automattic.com/wordpress/trunk@13078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 03:12:51 +00:00
dd32
8a5c11e08c Introduce Custom Taxonomies Translation strings, Correctly identifies the taxonomy in the Strings of the edit pages. See #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@13077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 03:08:16 +00:00
wpmuguru
a392f8a441 add WP_FALLBACK_THEME to allowed_themes in populate_network, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-12 22:45:35 +00:00
wpmuguru
107d80fd95 add siteurl site option for MU upgrade, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-12 17:37:17 +00:00
wpmuguru
1651f7e92a fix dashboard right now category links, fixes #12205
git-svn-id: http://svn.automattic.com/wordpress/trunk@13057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-11 20:10:15 +00:00
ryan
51066760c6 Export post <-> term relationships for all taxonomies. fixes #12180
git-svn-id: http://svn.automattic.com/wordpress/trunk@13055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-11 19:17:00 +00:00
ryan
dde64e4cf1 Test explicitly for false from insert()/update(). Fixes early return that preventing link categories from being saved. fixes #12196
git-svn-id: http://svn.automattic.com/wordpress/trunk@13053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-11 16:17:12 +00:00
ryan
534e797399 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: http://svn.automattic.com/wordpress/trunk@13051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-10 22:20:36 +00:00
ryan
a35ead034f Use show_ui instead of _show. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-10 17:43:29 +00:00
ryan
45aba89157 Fix screen layout options for custom post types. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-10 17:41:07 +00:00
ryan
6eadff2714 Use switch_themes instead of edit_themes so that non super admins on multisite installs can customize headers and backgrounds. Add CYA cap checks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-10 16:49:16 +00:00
dd32
d671bbe036 Fix off-by-one substr() error. Props blepoxp. See #12159
git-svn-id: http://svn.automattic.com/wordpress/trunk@13042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-10 10:59:45 +00:00
ryan
61859c5f5e First pass at custom background support. Needs UI love. see #12186
git-svn-id: http://svn.automattic.com/wordpress/trunk@13041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-09 20:37:12 +00:00
wpmuguru
0ee2237e6c prevent editing site domain/path on multisite main site, see #12177
git-svn-id: http://svn.automattic.com/wordpress/trunk@13039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-09 18:03:46 +00:00
wpmuguru
9ff83a8272 do not add /index.php permalink base in multisite, see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@13036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-09 16:10:43 +00:00
dd32
d7f782322a Rename new taxonomy page hooks to prevent hook conflicts. See #12171
git-svn-id: http://svn.automattic.com/wordpress/trunk@13035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-09 10:56:39 +00:00
ryan
0d58cacca6 Setup some default widgets for the default theme at install. Props azaozz. see #12163
git-svn-id: http://svn.automattic.com/wordpress/trunk@13033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-08 22:17:18 +00:00
ryan
a8e393c607 Update keys and salts with random values from api.wordpress.org. Props nacin. see #12159
git-svn-id: http://svn.automattic.com/wordpress/trunk@13026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-08 18:15:44 +00:00
ryan
c9d92fc859 Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@13025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-08 18:02:23 +00:00
ryan
817f184ba0 Change wording in string to make translation easier. Props simosx. fixes #12173
git-svn-id: http://svn.automattic.com/wordpress/trunk@13022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-08 16:18:13 +00:00
westi
5128c1ccc2 Make _unzip_file_ziparchive() PHP4 safe. See #10403.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 21:28:05 +00:00
ryan
1fb181a4eb Twenty Ten initial import. Props Ian Stewart, Matt Thomas, and others. see #9015
git-svn-id: http://svn.automattic.com/wordpress/trunk@13012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 16:16:26 +00:00
dd32
4149e68076 Remove hierarchical taxonomy parent support from Quick Edit (field added in error). See #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@13009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 06:40:51 +00:00
dd32
cd2d29e71c Remove cat_rows() admin template functions. See #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@13008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 05:54:33 +00:00
dd32
ca925d3bfa PHPdoc for _unzip_file_pclzip & _unzip_file_ziparchive. See #10403
git-svn-id: http://svn.automattic.com/wordpress/trunk@13007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 05:07:36 +00:00
dd32
5b6d0357b2 Better error checking for ZipArchive extraction. See #10403
git-svn-id: http://svn.automattic.com/wordpress/trunk@13006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 05:02:24 +00:00
dd32
5d72fa3d97 Introduce ZipArchive version of unzip_file(), More efficient on memory usage for supporting hosts. See #10403
git-svn-id: http://svn.automattic.com/wordpress/trunk@13005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 04:52:35 +00:00
wpmuguru
b21a238a87 Add rounded top corners to dashboard menu when there is no network menu, fixes #12151
git-svn-id: http://svn.automattic.com/wordpress/trunk@13003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 04:13:22 +00:00
dd32
de63fc36f8 Use rename() if possible in WP_Filesystem_Direct::move(). Props reaperhulk. Fixes #12150
git-svn-id: http://svn.automattic.com/wordpress/trunk@13001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 02:15:27 +00:00
wpmuguru
830e5e5316 Allow network install to be restarted, see #11881
git-svn-id: http://svn.automattic.com/wordpress/trunk@13000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 02:13:20 +00:00
dd32
65176075c0 Standardise return values in WP_Filesystem::dirlist(), ::chmod() and ::exists()
git-svn-id: http://svn.automattic.com/wordpress/trunk@12999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 01:59:30 +00:00
dd32
a87c1e3ca9 Reduce code duplication, Formatting cleanups, Reduce Chmod IO calls. See #10913 for excess IO calls.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 01:31:40 +00:00
dd32
a8793e00c0 Fix recursive chmod for WP_Filesystem. Props reaperhulk for FtpExt. Fixes #11261
git-svn-id: http://svn.automattic.com/wordpress/trunk@12997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 01:12:29 +00:00
wpmuguru
77c173c785 Add activate link for network plugins in single site install, props nacin, fixes #12139
git-svn-id: http://svn.automattic.com/wordpress/trunk@12996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-07 00:03:10 +00:00
ryan
d0f8826c0b Add more visibility args to post status registration. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 17:46:00 +00:00
ryan
9de60f3644 Add a separate show_ui flag for post types. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 17:27:30 +00:00
westi
b9bc395359 Check that $_POST['auto_draft'] is set before accessing it. See #11889.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 14:56:10 +00:00
westi
093b14a634 Allow plugins to modify the query run by WP_User_Search. Fixes #10781 props scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 12:35:15 +00:00
markjaquith
0f924eee99 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: http://svn.automattic.com/wordpress/trunk@12987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 10:07:57 +00:00
markjaquith
ec16dee2f3 Revert quote swap from [12955]. Fixes media upload links.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 07:31:38 +00:00
dd32
9961d7bf1b Remove < PHP 4.3 compat functions from importers. Props nacin. Fixes #11636
git-svn-id: http://svn.automattic.com/wordpress/trunk@12985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 07:19:25 +00:00
dd32
08e12373a5 Enable Plugin/Theme editor menu item for Super Admins. See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 06:49:11 +00:00
dd32
041c570da1 Switch to *_user_option() for default password nag to avoid extra DB queries. Fixes #11380
git-svn-id: http://svn.automattic.com/wordpress/trunk@12983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 06:20:38 +00:00
dd32
16a769cde9 Move admin CSS colour themes to the admin_init hook. Fixes #11625
git-svn-id: http://svn.automattic.com/wordpress/trunk@12982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-06 05:15:26 +00:00
ryan
ba6228f2b7 Introduce get_home_url(), get_site_url(), and get_admin_url() for fetching urls by blog id. see #12119
git-svn-id: http://svn.automattic.com/wordpress/trunk@12978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-05 21:49:19 +00:00
ryan
e55a20f862 Use get_plugin_data() to fetch Network header for is_network_only_plugin(). Props nacin. fixes #12139
git-svn-id: http://svn.automattic.com/wordpress/trunk@12976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-05 21:33:53 +00:00
wpmuguru
4563531639 Change Network Only to Network for network plugins, props nacin, see #12139
git-svn-id: http://svn.automattic.com/wordpress/trunk@12975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-05 18:33:35 +00:00
ryan
df305b7893 Network plugin activation cleanup. Props nacin. see #12139
git-svn-id: http://svn.automattic.com/wordpress/trunk@12974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-05 18:10:30 +00:00
ryan
a7e2f2533b Fix delete media nonces. Props nacin. fixes #12085
git-svn-id: http://svn.automattic.com/wordpress/trunk@12972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-05 17:59:18 +00:00
wpmuguru
4b7ca50b8d add support for network only to identify network plugins, see #12139
git-svn-id: http://svn.automattic.com/wordpress/trunk@12970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-05 16:33:35 +00:00
dd32
df52e16478 Revert accidental case changes in [12966]. See #12035
git-svn-id: http://svn.automattic.com/wordpress/trunk@12968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-05 14:37:58 +00:00
dd32
cc208eac27 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: http://svn.automattic.com/wordpress/trunk@12967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-05 14:33:29 +00:00
dd32
4601844233 update wp_popular_terms_checklist() to handle custom taxonomies. See #10122
git-svn-id: http://svn.automattic.com/wordpress/trunk@12966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-05 14:16:31 +00:00
dd32
4430afb179 Cleanup admin_notice_feed(). Props nacin. Fixes #12138
git-svn-id: http://svn.automattic.com/wordpress/trunk@12965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-05 14:00:18 +00:00
wpmuguru
9dc63f2f43 remove mod_security upload rewrite in ms htaccess, see [7563] for details
git-svn-id: http://svn.automattic.com/wordpress/trunk@12962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 23:24:15 +00:00
ryan
7b81cdc30f Update real parent file back compat for pages menus. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 22:09:35 +00:00
ryan
7a77e674ac Move Network menu to the top. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 20:32:06 +00:00
ryan
79007568a6 Merge mu_media_buttons() into media_buttons(). see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 20:28:52 +00:00
ryan
f4ad08882e Integrate remove_tinymce_media_button() into wp_tiny_mce(). see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 20:00:18 +00:00
wpmuguru
603d6cb6df add siteurl filter for ms upgrades, props nacin, fixes #12069
git-svn-id: http://svn.automattic.com/wordpress/trunk@12952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 19:26:38 +00:00
ryan
4cf531976f Minify ms css. see #11790
git-svn-id: http://svn.automattic.com/wordpress/trunk@12951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 19:11:51 +00:00
wpmuguru
6d92c1c2c1 move ms css to ms.dev.css, see #11790
git-svn-id: http://svn.automattic.com/wordpress/trunk@12950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 19:10:29 +00:00
wpmuguru
1961703968 move ms css to ms.css, fixes #11790
git-svn-id: http://svn.automattic.com/wordpress/trunk@12949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 19:03:08 +00:00
ryan
9f8149616d ms-functions pruning and cleanup. Props nacin. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 18:57:32 +00:00
ryan
3894489a5f Sitewide plugins cleanup. Props nacin. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 18:50:36 +00:00
ryan
cf7da6eab8 Introduce get_available_languages(). Validate WPLANG. fixes #11774
git-svn-id: http://svn.automattic.com/wordpress/trunk@12946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 18:46:25 +00:00
ryan
b595595a43 Fix warnings. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 18:19:21 +00:00
ryan
da7fe139e6 Add lrm to fix bidi test display in RTL languages. Props ramiy. fixes #11919
git-svn-id: http://svn.automattic.com/wordpress/trunk@12944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 16:45:55 +00:00
dd32
95fcd6b7ee Remove redundant Category forms/code/ajax. See #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@12942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 11:01:07 +00:00
dd32
fc39e39397 Migrate Category Edit UI hooks, Standardise on custom-taxonomies hooks, add custom-fields for taxonomies UI hooks. See #11838, Fixes #11191
git-svn-id: http://svn.automattic.com/wordpress/trunk@12941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-04 10:51:58 +00:00
wpmuguru
059e60a37c add closing table cell tag to dashboard right now, props Simek, fixes #12121
git-svn-id: http://svn.automattic.com/wordpress/trunk@12940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-03 23:06:27 +00:00
markjaquith
32d18323de Use $required_php_version. Props nacin. fixes #11637
git-svn-id: http://svn.automattic.com/wordpress/trunk@12939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-03 21:38:09 +00:00
ryan
d45311c9fb Allow registering a meta box callback for setting up meta boxes when creating the edit form for a custom post type. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-03 18:54:42 +00:00
wpmuguru
d1069acd38 improvements to custom content dir support, props nacin, see #11742
git-svn-id: http://svn.automattic.com/wordpress/trunk@12936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-03 18:19:56 +00:00
ryan
a62e167391 Use API to retrieve user. fixes #11776
git-svn-id: http://svn.automattic.com/wordpress/trunk@12935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-03 17:37:15 +00:00
ryan
559888b3ac Use Network and Site for labels. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-03 17:23:29 +00:00
wpmuguru
3ff2ace58a fix potential global terms inconsistency, props rboren, see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-03 01:00:57 +00:00
ryan
e215f4b963 Give network level upgrades separate API that is run when upgrading the main blog. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-02 21:53:26 +00:00
ryan
1592ca9ff2 Cleanup network plugin loading. Props nacin. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-02 21:41:17 +00:00
ryan
7a4d409064 Move functions to ms-deprecated.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@12929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-02 18:05:01 +00:00
ryan
8caab555bd Integrate update_profile_email() into user-edit.php. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-02 18:00:45 +00:00
ryan
5922f7e2c4 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: http://svn.automattic.com/wordpress/trunk@12927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-02 17:37:03 +00:00
wpmuguru
998704b8d7 pass #2 change uploaded media rewrite rule, props nacin, see #11742
git-svn-id: http://svn.automattic.com/wordpress/trunk@12926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-02 16:32:19 +00:00
wpmuguru
cfbffea85e minor fixes to populate_options(), UI tweaks, see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-01 20:01:14 +00:00
wpmuguru
c26805d326 minor fixes/improvements to populate_network(), see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-01 18:01:23 +00:00
ryan
1425f78663 options-reading.php cleanup. Props nacin. fixes #12058
git-svn-id: http://svn.automattic.com/wordpress/trunk@12918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-01 16:42:19 +00:00
dd32
94af70dea8 Revert [12908]. Update Users cap to use a capability. See #12098. Props nacin
git-svn-id: http://svn.automattic.com/wordpress/trunk@12916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-01 08:12:56 +00:00
westi
1d30c846c6 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: http://svn.automattic.com/wordpress/trunk@12914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-31 17:36:00 +00:00
westi
398a8ca6ac Fix add_pages_page to use the correct parent menu. Fixes #12100.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-31 17:16:00 +00:00
dd32
237fac7bd6 Fix PHP Notices: Use checked() template function & initialise variables. s/WP/WordPress/ & some code formatting. See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-31 12:23:50 +00:00
dd32
1dd9728029 set svn:eol-style native on new files
git-svn-id: http://svn.automattic.com/wordpress/trunk@12910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-31 11:55:39 +00:00
dd32
b326637c82 Bring Server Name field into style lines with rest of page. See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-31 11:47:53 +00:00
dd32
6b5cba1de8 Hide Users -> Add New on MultiSite unless admin has enabled access to the page. See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-31 11:39:34 +00:00
dd32
72a4e7a350 Remove duplicate current_user_can() check.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-31 11:36:58 +00:00
dd32
a950dbf3f6 Check for existence of the query var before switch(). Fixes a notice on Multisite users page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-31 11:11:45 +00:00
ryan
1bfbe0dde2 Move 'My Blogs' into its own file. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-29 23:21:33 +00:00
ryan
0f2060ef5d Move 'My Blogs' into its own file. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-29 23:21:01 +00:00
ryan
363da801f5 Integrate sitewide plugin handling into activate_plugins(), deactivate_plugins(), and plugins.php. fixes #11767 see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-29 21:45:32 +00:00
ryan
227168b639 Remove remove_edit_plugin_link(). Rely on cap checks. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-29 19:29:31 +00:00
ryan
bbae1e98fd ms-sites cleanup. Add escaping. Use API instead of direct queries. Add blog status label to row title. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-29 17:36:57 +00:00
dd32
34a88119f8 Use !empty() for Link searching title.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-29 08:11:20 +00:00
dd32
92835977c3 Add text to 'Add New' button in link manager. Props scribu. Fixes #12071
git-svn-id: http://svn.automattic.com/wordpress/trunk@12894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-29 07:27:11 +00:00
westi
3a5e6ea7d0 Don't both hooking in menu functions which will never get called. See #11922 props miqrogroove.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-28 20:20:18 +00:00
ryan
bdfb0460da Send user back to main custom header page after cropping and setting image. Add support for a custom image div callback for greather theme flexibility. Props dphiffer. see #11855
git-svn-id: http://svn.automattic.com/wordpress/trunk@12890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-28 19:00:16 +00:00
ryan
6eb6fbf151 Don't hardcode post type. Props typeomedia. fixes #12067
git-svn-id: http://svn.automattic.com/wordpress/trunk@12887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-28 17:21:26 +00:00
wpmuguru
696a6815cf change wp- rewrite more specific rewrite rule, see #11994
git-svn-id: http://svn.automattic.com/wordpress/trunk@12884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-28 15:29:23 +00:00
wpmuguru
74dd287bd0 block multisite enable on localhost and ip address, see #11816
git-svn-id: http://svn.automattic.com/wordpress/trunk@12883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 22:10:41 +00:00
wpmuguru
cda3031b06 Improvements to queries in populate_network(), also gettext, props nacin, see #11816
git-svn-id: http://svn.automattic.com/wordpress/trunk@12880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 19:13:00 +00:00
ryan
fc204c952d Don't use deprecated functions. Props filosofo. fixes #11807
git-svn-id: http://svn.automattic.com/wordpress/trunk@12878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 17:55:39 +00:00
ryan
b99372f363 Fix attachment view link title attribute. Props chdorner. fixes #10571
git-svn-id: http://svn.automattic.com/wordpress/trunk@12876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 14:44:47 +00:00
ryan
012ef7a259 Set post_type for QuickPress publishing. Props nacin. fixes #12049
git-svn-id: http://svn.automattic.com/wordpress/trunk@12874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 14:36:17 +00:00
ryan
03a643de52 Fix notices when publishing with QuickPress. Props nacin, hakre. fixes #11504
git-svn-id: http://svn.automattic.com/wordpress/trunk@12873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 14:34:11 +00:00
ryan
b1a242078a Show td attributes for custon coolumns. Props camiloclc. fixes #12050
git-svn-id: http://svn.automattic.com/wordpress/trunk@12872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 14:28:03 +00:00
ryan
1b98b9c106 Move deprecated admin functions to wp-admin/includes/deprecated.php. Props nacin. fixes #12024
git-svn-id: http://svn.automattic.com/wordpress/trunk@12871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 14:10:32 +00:00
ryan
19aa0c798c Don't load deprecated magpie for dashboard. Props nacin. fixes #12051
git-svn-id: http://svn.automattic.com/wordpress/trunk@12869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 14:02:16 +00:00
ryan
15579ed49a Minify RTL CSS
git-svn-id: http://svn.automattic.com/wordpress/trunk@12867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 13:57:15 +00:00
ryan
c0bda375a5 RTL CSS fix. Props yoavf. fixes #12053
git-svn-id: http://svn.automattic.com/wordpress/trunk@12866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 13:50:06 +00:00
ryan
b7bde3492d Whitespace cleanup and inline docs. Props nacin. see #12027
git-svn-id: http://svn.automattic.com/wordpress/trunk@12865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 13:48:37 +00:00
wpmuguru
301dc6dbf0 allow initial site_id to be assigned by MySQL, fixes #12021
git-svn-id: http://svn.automattic.com/wordpress/trunk@12862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 00:20:10 +00:00
wpmuguru
793ba21ad1 Add beginning of string to regex in [12860], See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 23:38:23 +00:00
wpmuguru
f465b2f23e Change options-permalinks to use is_main_site(), fix /blog offset display, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 23:02:49 +00:00
ryan
699387f747 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@12859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 22:49:05 +00:00
ryan
cd57004569 Deprecate is_main_blog() for is_main_site(). see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 22:46:09 +00:00
ryan
212533c466 Remove first page and first comment filters. They're no longer needed. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 20:42:37 +00:00
ryan
5d2365a499 Remove fix_actve_plugins(). Props hakre. fixes #11750
git-svn-id: http://svn.automattic.com/wordpress/trunk@12848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 18:39:12 +00:00
ryan
ef301b7489 unset temp vars so they don't pollute the global namespace. Formatting cleanups
git-svn-id: http://svn.automattic.com/wordpress/trunk@12846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 18:16:53 +00:00
ryan
055f3db3a3 unset temp vars in menu.php so they don't pollute the global namespace.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 18:09:45 +00:00
ryan
943f69cb1f Unset menu_perms once we're done with it. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 17:55:51 +00:00
ryan
7991402038 Fix warning. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 17:54:45 +00:00
ryan
389093009f Move update_signup_email_from_profile() logic into user-edit.php. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 17:51:50 +00:00
ryan
416b218ef1 Remove profile_page_email_warning_ob_start() and profile_page_email_warning_ob_content(). fixes #11759
git-svn-id: http://svn.automattic.com/wordpress/trunk@12841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 17:34:36 +00:00
wpmuguru
e8ada723f0 Change link from wpmu-themes.php to ms-themes.php, Fixes #12034
git-svn-id: http://svn.automattic.com/wordpress/trunk@12837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 15:27:35 +00:00
dd32
bebd9a060a Display correct Taxonomy heading. See #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@12835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 12:13:24 +00:00
dd32
32adec13a9 First scratch at Taxonomy Capabilities. See #12035
git-svn-id: http://svn.automattic.com/wordpress/trunk@12833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 11:32:04 +00:00
dd32
01f0afcd21 First scratch at Bulk plugin upgrade from Plugins page. Props nacin for cleanups. See #11542
git-svn-id: http://svn.automattic.com/wordpress/trunk@12832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 06:53:47 +00:00
markjaquith
927472de19 Better wp_reset_vars() behavior when var is already set. props scribu. fixes #11974
git-svn-id: http://svn.automattic.com/wordpress/trunk@12831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-26 06:06:14 +00:00
wpmuguru
6690680e9c Move network screen to the tools menu, See #12027
git-svn-id: http://svn.automattic.com/wordpress/trunk@12830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-25 23:07:49 +00:00
ryan
8c256e5560 add a cap check at the top of ms-delete-site.php. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-25 22:50:36 +00:00
ryan
9fc2bef3d1 Move blog deletion to ms-delete-site.php. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-25 22:46:41 +00:00
ryan
63f9a62af6 phpdoc and cleanup. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-25 22:01:43 +00:00
ryan
9469c9f02a Deprecate mu_options. Integrate directly into options.php. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-25 21:33:49 +00:00
ryan
f3939dd8fd Add wp-admin/includes/ms-deprecated.php. Deprecate wpmu_checkAvailableSpace. Introduce is_upload_space_available(). see #11762
git-svn-id: http://svn.automattic.com/wordpress/trunk@12824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-25 19:46:24 +00:00
ryan
a7c1b164f6 Deprecate wp_shrink_dimension(), add wp-admin/includes/deprecated.php. Props filosofo. fixes #11967
git-svn-id: http://svn.automattic.com/wordpress/trunk@12823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-25 18:50:01 +00:00
markjaquith
bc62f53df4 Include post_type= when redirecting after "Trash" click from item individual edit screen, to avoid going to Post edit screen for other post_types
git-svn-id: http://svn.automattic.com/wordpress/trunk@12820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-24 20:50:50 +00:00
markjaquith
639078ecf0 Include the post type, or else clicking All from pages will give you "all POSTS"
git-svn-id: http://svn.automattic.com/wordpress/trunk@12819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-24 20:33:45 +00:00
dd32
34cc6ab57e Merge Categories/Hierarchical taxonomies into edit-tags.php. See #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@12818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-24 11:00:27 +00:00
dd32
5d46993b15 Fix Tag paging number whilst searching. Fixes #11989
git-svn-id: http://svn.automattic.com/wordpress/trunk@12816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-24 02:07:13 +00:00
ryan
bcf5e12b82 gettext for options-network. Props nacin. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-23 19:06:15 +00:00
ryan
06f947e804 Fix taxonomy check so categories show in post quick edit. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-23 18:27:26 +00:00
ryan
4ba525986a Update new page link. fixes #11958
git-svn-id: http://svn.automattic.com/wordpress/trunk@12809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-23 17:59:06 +00:00
wpmuguru
bb8c644797 Fix table prefix on upgrade for 3.0 main site, Fixes #11970
git-svn-id: http://svn.automattic.com/wordpress/trunk@12808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-23 00:33:10 +00:00
ryan
3609f388f5 Introduce update_blog_details(). Add some phpdoc. Fix some warnings. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 23:35:59 +00:00
ryan
5cfb383abe Fix warnings. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 22:38:43 +00:00
ryan
f221b0cfdc Remove raquo. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 22:34:54 +00:00
ryan
4f04aad2db Remove raquo. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 22:30:52 +00:00
ryan
902bfdba21 Fix warnings. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 22:28:48 +00:00
ryan
4b6278340c Fix warnings. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 22:27:26 +00:00
ryan
96b459d0b4 Fix warnings
git-svn-id: http://svn.automattic.com/wordpress/trunk@12800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 22:14:22 +00:00
ryan
56fc7d5471 Set proper class so quick edit works. Props nacin. fixes #11977
git-svn-id: http://svn.automattic.com/wordpress/trunk@12799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 21:46:35 +00:00
ryan
b1b44019ff Create metaboxes for hierarchical taxonomies. Props prettyboymp. fixes #10122
git-svn-id: http://svn.automattic.com/wordpress/trunk@12798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 19:30:05 +00:00
ryan
a731cbed8e Introduce set_current_screen(). Set current screen for inline edit ajax requests so post rows can be properly displayed. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 18:27:54 +00:00
ryan
92bf8d124c Introduce WP_User::for_blog() and current_user_can_for_blog() to avoid calls to WP_User::_init_caps(). fixes #11781
git-svn-id: http://svn.automattic.com/wordpress/trunk@12796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 17:27:28 +00:00
dd32
4e5292e08f Optimised unzip_file(), reduces is_dir() IO calls. See #10779
git-svn-id: http://svn.automattic.com/wordpress/trunk@12794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 11:02:09 +00:00
ryan
94859834fc i18n fixes. Props nbachiyski. fixes #11954
git-svn-id: http://svn.automattic.com/wordpress/trunk@12789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 21:37:43 +00:00
ryan
9559d58e67 Typo fix. Props nacin. fixes #11715
git-svn-id: http://svn.automattic.com/wordpress/trunk@12788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 20:31:21 +00:00
wpmuguru
2f3f5b351f allow www installs to enable multisite, see #11945
git-svn-id: http://svn.automattic.com/wordpress/trunk@12787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 17:20:23 +00:00
wpmuguru
3c70028227 add real parent file for wpmu-admin.php, fixes #11961
git-svn-id: http://svn.automattic.com/wordpress/trunk@12786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 16:03:29 +00:00
ryan
5ebbe4bad2 Sanitize translation of default post slug. Props nbachiyski. fixes #11952
git-svn-id: http://svn.automattic.com/wordpress/trunk@12784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 07:19:23 +00:00
ryan
decf135295 Update trash and right now links for pages. fixes #11958
git-svn-id: http://svn.automattic.com/wordpress/trunk@12783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 06:53:33 +00:00
ryan
74a86506f6 Clear some warnings. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 23:01:09 +00:00
ryan
4ef834c4b1 Screen icons for site admin pages. Using temp icon until new ones are done. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 22:35:21 +00:00
ryan
f05930b979 Print footer instead of dying immediately. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 22:11:02 +00:00
ryan
6b0f3a88d5 Start adding gettext to options-network. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 22:08:50 +00:00
ryan
c679e65c9c Add email and login dupe checking down into wp_insert_user(). Tidy up user-new.php. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 21:58:13 +00:00
wpmuguru
0d6a380bd2 make server address in network settings a label, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 20:42:20 +00:00
ryan
af9c401d97 Deprecate wp_install_blog_defaults(). Use wp_install_defaults() instead. fixes #11747 see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 20:09:41 +00:00
wpmuguru
629dcd1861 set default empty message, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 18:25:08 +00:00
ryan
9aa40449a9 Use update. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 16:50:09 +00:00
wpmuguru
515d1354da sync single and multisite cookie hash, remove extraneous code, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 01:14:05 +00:00
ryan
aac0a1230a Use API to set the user's role. see #11781
git-svn-id: http://svn.automattic.com/wordpress/trunk@12770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 20:12:04 +00:00
wpmuguru
5c5be8cd43 add multisite theme admin, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 20:03:11 +00:00
ryan
89c4e9f15d Use SimplePie in admin_notice_feed(). Props garyc40. fixes #11765
git-svn-id: http://svn.automattic.com/wordpress/trunk@12767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 19:33:21 +00:00
ryan
57c4b79b91 Introduce clean_user_cache(). fixes #11761
git-svn-id: http://svn.automattic.com/wordpress/trunk@12766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 19:23:11 +00:00
ryan
7f699e5857 Remove mu_dashboard(). Rely on cap checks to customize dash for multisite.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 18:15:53 +00:00
ryan
9746d095d5 Remove disable_some_pages(). Rely on cap checks. fixes #11770
git-svn-id: http://svn.automattic.com/wordpress/trunk@12764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 18:11:33 +00:00
ryan
a06a4c6b70 Formatting cleanups
git-svn-id: http://svn.automattic.com/wordpress/trunk@12760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 17:01:39 +00:00
ryan
a7e588ae16 Formatting cleanups
git-svn-id: http://svn.automattic.com/wordpress/trunk@12759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 16:14:06 +00:00
dd32
92b9b61c78 Fix is_multisite() typo. See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 10:59:43 +00:00
wpmuguru
fe7b362bd1 options network page, db variable change, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 00:18:52 +00:00
wpmuguru
fca602d414 implement multisite schema, upgrade, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 00:04:25 +00:00
ryan
e52de33dc2 Multisite and formatting cleanups. Introduce get_allowed_themes(). see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 23:34:36 +00:00
ryan
d0e599c50b Fix inverted logic. phpdoc update. Props nacin. fixes #11935
git-svn-id: http://svn.automattic.com/wordpress/trunk@12754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 22:34:16 +00:00
ryan
f7d7bc2dd0 Use cap checks instead of multisite and super admin checks. Add some new caps. Merge cleanup. see #11644.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 22:21:36 +00:00
ryan
8760e7da1b Coding standards, space after if
git-svn-id: http://svn.automattic.com/wordpress/trunk@12752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 20:34:48 +00:00
dd32
7f34057330 Introduce Revisioning for custom Post Types, Introduce 'supports' argument to register_post_type() to wrap add_post_type_support(), Whitespace additions to create_initial_post_types(). See #9674. Fixes #11703
git-svn-id: http://svn.automattic.com/wordpress/trunk@12751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 11:44:51 +00:00
dd32
32ac56eaa8 Always set a goback link on upgrade page. Props filosofo. Fixes #10986
git-svn-id: http://svn.automattic.com/wordpress/trunk@12744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-17 07:38:27 +00:00
dd32
97c8150bbd Correct the Theme update package check. Props Denis-de-Bernardy. Fixes #11908 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@12743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-17 07:04:31 +00:00
dd32
72ffe9d28b Add extra error checking to the Plugin Browser and Plugin API function. Fixes #11640
git-svn-id: http://svn.automattic.com/wordpress/trunk@12742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-17 03:26:50 +00:00
dd32
fc2c5fd21b Fix WP_Filesystem_Direct::mkdir() when running under safe_mode on certain versions of PHP. Props remi. Fixes #10497
git-svn-id: http://svn.automattic.com/wordpress/trunk@12741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-17 02:57:59 +00:00
westi
795ce48b83 Ensure that inaccessible parent menus are marked as such even if they have accessible children. See #11922.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-16 22:59:27 +00:00
ryan
c2873bbab3 Coding style
git-svn-id: http://svn.automattic.com/wordpress/trunk@12736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 23:49:09 +00:00
ryan
6da55f7792 Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@12733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 22:11:12 +00:00
ryan
439d50d655 Cleanup wp-settings. Move functions needed at startup into load.php. Props nacin. see #11881
git-svn-id: http://svn.automattic.com/wordpress/trunk@12732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 22:03:41 +00:00
ryan
e7bfd5f2dd Move current_screen setup before plugin page handling so it is defined for all cases. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 20:21:18 +00:00
ryan
05bf7382ff Merge edit-pages.php into edit.php. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 16:58:36 +00:00
wpmuguru
2653342f43 merge multisite wp-admin/includes except schema, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 00:21:13 +00:00
wpmuguru
04803e826d change ms-blogs.php refs to ms-sites.php, remove extraneous character, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-14 19:42:55 +00:00
wpmuguru
e5b11f300a revert permission check in [12722], props ddebernardy, See #11894
git-svn-id: http://svn.automattic.com/wordpress/trunk@12724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-14 19:15:00 +00:00
dd32
41e561b941 Standardise WP_Filesystem_*::put_contents() arguments to support chmod reliably across all transports. Fixes #10889
git-svn-id: http://svn.automattic.com/wordpress/trunk@12723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-14 09:23:53 +00:00
wpmuguru
9d2762f279 merge wp-admin user, plugins, themes, upgrade , See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-14 02:02:19 +00:00
ryan
ee1488ea60 RTL fix. Props yoavf. fixes #11886
git-svn-id: http://svn.automattic.com/wordpress/trunk@12721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-13 19:06:47 +00:00
ryan
0fbb0fd093 Revert line accidentally added during merge. Props nacin. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-13 19:04:30 +00:00
ryan
c6737c2f02 register_post_type(). see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-13 18:49:56 +00:00
ryan
b323e4b9e6 Typo fix. Props nacin. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-13 17:03:14 +00:00
wpmuguru
68eb3f5632 fix multisite logic in changeset 12712, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 22:51:41 +00:00
westi
2fabcf53fe Improve get_pending_comments_num() to be a little more predictable and revert the erroneous change in [12596]. See #11882.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 22:38:26 +00:00
wpmuguru
346f859e12 merge multisite admin - edit links,tags,cats,options, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 21:11:52 +00:00
ryan
6ce726545b Always use post.php for form action. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 19:03:03 +00:00
ryan
c616e65733 Merge page.php into post.php. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 16:50:37 +00:00
ryan
8e9f48b472 Allow per_page settings for custom post type edit screens. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 15:41:10 +00:00
ryan
252e24395f Make wp_edit_posts_query() more post_type aware. Use array calling style. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 15:23:10 +00:00
ryan
a9ff034bf4 Remove file
git-svn-id: http://svn.automattic.com/wordpress/trunk@12704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 00:18:31 +00:00
ryan
66fce24ad1 Remove file
git-svn-id: http://svn.automattic.com/wordpress/trunk@12703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 00:17:55 +00:00
ryan
5316b4fc2d Merge page-new.php into post-new.php. Start abstracting column headers and prefs. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 00:14:27 +00:00
ryan
ad30e86462 Merge edit-page-form.php into edit-form-advanced.php. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-11 21:42:45 +00:00
ryan
58d3776667 Show custom hierarchical taxonomies in the menus. Props dd32. see #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@12694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-11 19:27:44 +00:00
markjaquith
9ad08bb69f Enable custom taxonomy UI for pages as well as for posts. fixes #11290
git-svn-id: http://svn.automattic.com/wordpress/trunk@12690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-10 18:29:37 +00:00
ryan
2ff7f83b99 Add post_type inputs. Fix submenu highlighting. Props dd32. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-10 01:24:56 +00:00
ryan
25e152a58b Post type caps. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-10 01:23:14 +00:00
wpmuguru
0ec6df5f61 remove hardcoded wp_ prefix, props ddebernardy, Fixes #11785
git-svn-id: http://svn.automattic.com/wordpress/trunk@12681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-09 19:19:55 +00:00
westi
bf4a5241e1 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: http://svn.automattic.com/wordpress/trunk@12680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-09 10:03:55 +00:00
azaozz
9a58ea0649 Fix height of input and link buttons for all latest browsers.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-09 08:51:24 +00:00
azaozz
70c195833c Fix invalid HTML in edit-category-form.php, props nacin, fixes #11736 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@12675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-09 00:19:09 +00:00
wpmuguru
4b8c87da92 Add is_subdomain_install() to ms code - Fixes #11796
git-svn-id: http://svn.automattic.com/wordpress/trunk@12674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 21:25:01 +00:00
ryan
166435891c Convert update_themes, update_plugins, update_core, and dismissed_update_core into site transients/plugins. Remove no longer need compat code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 20:49:55 +00:00
ryan
dea7019303 Use is_super_admin() instead of is_site_admin(). Props GIGALinux see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 20:29:56 +00:00
ryan
0c95b3b457 Disable sitewide plugin actions that use unfiltered GET and generate warnings pending further scrutiny. see #11767
git-svn-id: http://svn.automattic.com/wordpress/trunk@12670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 20:15:22 +00:00
ryan
28677c6b00 Don't break UTF-8 strings in setup-config.php. Props SergeyBiryukov fixes #11821
git-svn-id: http://svn.automattic.com/wordpress/trunk@12663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 18:40:00 +00:00
ryan
26ade42134 Pass parent to category_exists(). Props thetoine. fixes #11825
git-svn-id: http://svn.automattic.com/wordpress/trunk@12662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 17:58:13 +00:00
westi
cc30f8ad98 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: http://svn.automattic.com/wordpress/trunk@12659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 08:51:12 +00:00
westi
f05ee1844f Switch to passing arrays instead of query strings to functions. Fixes #6647 props filosofo and hakre.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 08:34:39 +00:00
azaozz
eb130cc23e Optimize scan for lost attachments, props johnjosephbachir, fixes #10911
git-svn-id: http://svn.automattic.com/wordpress/trunk@12655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 05:23:22 +00:00
azaozz
9532a2a4bb Don't let "Crunching" overlap image name while uploading, props hakre, fixes #11447
git-svn-id: http://svn.automattic.com/wordpress/trunk@12654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 01:01:52 +00:00
ryan
0d31c12db6 Use update and insert. Props DD32. fixes #6836
git-svn-id: http://svn.automattic.com/wordpress/trunk@12652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 20:13:54 +00:00
ryan
083064e628 Revert extra bits that snuck in with [12650]
git-svn-id: http://svn.automattic.com/wordpress/trunk@12651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 19:55:48 +00:00
ryan
8c875db5b4 Assume current user of user ID is not passed. Props filosofo. fixes #11808
git-svn-id: http://svn.automattic.com/wordpress/trunk@12650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 19:45:57 +00:00
ryan
4c92a634a3 User is_super_admin(). Props GIGALinux. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 15:52:22 +00:00
westi
a3e49fff6e Use like_escape to make safe search string for like queries.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 08:02:52 +00:00
westi
f1e8a2107a Search using blog_id = blog_id not blog_id = search string . Fixes #11787 props Denis-de-Bernardy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 07:58:04 +00:00
azaozz
d4a604aaad Bring over the site admin menu icon
git-svn-id: http://svn.automattic.com/wordpress/trunk@12638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 07:55:09 +00:00
westi
d759368680 Ensure that apage and num cannot have negative values. Fixes #11786 props Denis-de-Bernardy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 07:54:15 +00:00
westi
197cdd2bbb Switch from create_function to a fixed function for the plugin page activation admin notice. Fixes #11763 props dd32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 07:41:13 +00:00
ryan
04c6f96f3f Include ms.php if multisite
git-svn-id: http://svn.automattic.com/wordpress/trunk@12633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 04:33:41 +00:00
ryan
adf017f6b9 Strip trailing whites from ms files. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 04:27:46 +00:00
ryan
7725ad61f6 Minifiy ms.css. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 04:23:23 +00:00
ryan
61d66570c8 Fix blogs menu item. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 03:43:54 +00:00
ryan
49cda5fdb6 Remove raquo. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 03:40:03 +00:00
ryan
92257b49ec Cleanup titles. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 03:24:24 +00:00
ryan
2e2c820d20 Queue ms.css if multisite. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 02:33:53 +00:00
ryan
9b721a32c6 Queue ms.css if multisite. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 02:33:23 +00:00
ryan
ce33a91f95 Deprecate generate_random_password(). fixes #11746
git-svn-id: http://svn.automattic.com/wordpress/trunk@12624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 02:22:51 +00:00
ryan
fd475d2b38 s/wpmu/ms/ in file refs. Props Denis-de-Bernardy. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 00:30:53 +00:00
ryan
b13380665b Add esc_attr to ms-users.php. see #11792
git-svn-id: http://svn.automattic.com/wordpress/trunk@12621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 00:25:02 +00:00
wpmuguru
8ab77e04e7 Change references to wpmu-edit.php - See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 00:24:03 +00:00
ryan
eb8636f479 Add esc_attr to ms-options.php. see #11782
git-svn-id: http://svn.automattic.com/wordpress/trunk@12619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 00:21:19 +00:00
ryan
dbe9b17271 Move wpmu_menu() logic into menu.php. Props Denis-de-Bernardy. fixes #11763
git-svn-id: http://svn.automattic.com/wordpress/trunk@12618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 00:17:13 +00:00
ryan
e0de5aa0a0 Add esc_attr to ms-sites.php. see #11782
git-svn-id: http://svn.automattic.com/wordpress/trunk@12617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 00:13:35 +00:00
ryan
45ec04e3e9 Deprecate argument. Never fallback to options table for user option requests. Props nacin. fixes #11615
git-svn-id: http://svn.automattic.com/wordpress/trunk@12616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 00:01:52 +00:00
ryan
dafffcae58 Show theme installer only to super admins. Props Denis-de-Bernardy. see #11763
git-svn-id: http://svn.automattic.com/wordpress/trunk@12614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-06 23:48:46 +00:00
ryan
fc23a88df8 Move some multisite menu checks directly into menu.php. see #11763
git-svn-id: http://svn.automattic.com/wordpress/trunk@12613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-06 23:41:03 +00:00
westi
53d810f260 Remove svn:executable property on new files. Fixes #11743 props Denis-de-Bernardy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-06 22:22:45 +00:00
ryan
f5e12260d4 Introduce is_multisite(). see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-06 20:19:35 +00:00
ryan
5fb2415de1 Remove link-import.php. fixes #11755
git-svn-id: http://svn.automattic.com/wordpress/trunk@12608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-06 20:10:37 +00:00
ryan
58148f6718 Remove edit-form.php again. fixes #11756
git-svn-id: http://svn.automattic.com/wordpress/trunk@12607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-06 20:09:39 +00:00
wpmuguru
d07d6c5717 Add mu only (inactive) files
git-svn-id: http://svn.automattic.com/wordpress/trunk@12603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-06 04:02:57 +00:00
ryan
da89de4958 More custom post type support. Props scribu. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-04 16:58:43 +00:00
westi
e51341dc1d Fix a notice when replying to comments in the admin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-02 17:16:26 +00:00
westi
99709adb4e phpDoc for get_pending_comments_num().
git-svn-id: http://svn.automattic.com/wordpress/trunk@12595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-02 17:15:11 +00:00
azaozz
84f90c704a Fix Press This entity encoding, props noel, fixes #11390
git-svn-id: http://svn.automattic.com/wordpress/trunk@12592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-31 04:57:54 +00:00
azaozz
8368df8c17 Add AYS popup when deleting media, fixes #11673
git-svn-id: http://svn.automattic.com/wordpress/trunk@12591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-31 02:37:56 +00:00
ryan
d375ef7d54 Use current_time() to calculate current time. Props filosofo. fixes #10915
git-svn-id: http://svn.automattic.com/wordpress/trunk@12590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-30 17:56:09 +00:00
westi
ff7831207c Updates and improvements to _depreceated_argument. See #11386 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-30 16:23:39 +00:00
westi
7d2e5130f6 Use a more reliable method of locating wp-load.php in the admin bootstrap. Fixes #11120.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-30 10:15:10 +00:00
azaozz
3f3846e2fc Remove unneeded empty span and add form closing tag in media.php, props Simek and hakre, fixes #11569
git-svn-id: http://svn.automattic.com/wordpress/trunk@12582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-30 08:19:34 +00:00
ryan
459326c932 Check PHP and MySQL versions in install.php. see #11666
git-svn-id: http://svn.automattic.com/wordpress/trunk@12577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-29 22:07:35 +00:00
ryan
713940a056 Check PHP and MySQL versions in upgrade.php. see #11666
git-svn-id: http://svn.automattic.com/wordpress/trunk@12575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-29 21:56:48 +00:00
ryan
880ce66f34 Remove extraneous br. Props nacin. fixes #11582 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@12569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-29 15:36:16 +00:00
azaozz
c34d5345a1 Fix alignment of checkbox in table.widefat, fixes #11610
git-svn-id: http://svn.automattic.com/wordpress/trunk@12567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-29 13:16:16 +00:00
ryan
19168c8238 Cleanup after bailing when php or mysql versions are not compat. Props nacin. fixes #11638 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@12564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-28 17:19:04 +00:00
ryan
2819ce72d4 Better duplicate option delete query. Props miqrogroove. fixes #11649 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@12560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-28 16:25:56 +00:00
azaozz
a6c8080b61 Show disabled image rotation buttons when imagerotate() is missing, props husky and hakre, fixes #11536
git-svn-id: http://svn.automattic.com/wordpress/trunk@12555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-27 21:24:39 +00:00
azaozz
1ddbdf2a2e Move wp-admin.css and rtl.css to the wp-admin/css directory, rename rtl.css to wp-admin-rtl.css to follow naming standard, fixes #10985
git-svn-id: http://svn.automattic.com/wordpress/trunk@12553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-27 20:06:57 +00:00
azaozz
e88cf62434 CSS whitespace and color definitions cleanup, props Simek, fixes #11561
git-svn-id: http://svn.automattic.com/wordpress/trunk@12552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-27 18:17:06 +00:00
westi
5dca5f2d31 Remove unused global posts_per_page. Fixes #11458 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-27 09:01:53 +00:00
westi
95b7f66b45 Swap out ;; for ; in js too. See #11618.
No need for a new non .dev. version as YUI stripped them anyway.

git-svn-id: http://svn.automattic.com/wordpress/trunk@12549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-26 17:10:37 +00:00
westi
17c7533b72 Swap out ;; for ;. Fixes #11618 props demetris and nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-26 16:53:17 +00:00
westi
f419654041 phpDoc for wp_reset_vars().
git-svn-id: http://svn.automattic.com/wordpress/trunk@12547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-26 16:48:24 +00:00
azaozz
4134133d53 Remove unused .fade CSS class, props nacin, fixes #11628
git-svn-id: http://svn.automattic.com/wordpress/trunk@12546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-26 09:00:58 +00:00
azaozz
b3871f9247 Replace ctype_digit() with is_numeric() for better compatibility, props markup, fixes #11620 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@12544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-26 08:47:47 +00:00
matt
1e15d7c64a More cleanup of the edit media screen:
* Simplified table to not need rowspan, and other markup where possible.
* Put more elements in a paragraph tag for better spacing.
* Brought edit image buton under the image.
* Everything is now in line with WordPress Coding Standards, particularly with regards to spacing and attribute quotes.
* Minor styling for better alignment.

TODO: We show the file URL here, but for images we should show the URL to each size, with its dimensions.



git-svn-id: http://svn.automattic.com/wordpress/trunk@12543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-25 23:04:48 +00:00
matt
6f824a6b3e Media editing: When you have many custom taxonomies this page can get rather long, or just normally, so adding a "save" button to the top as well, for easy access.
There was no place on this page that actually linked to the item being edited, so I hyperinked the thumbnail.


git-svn-id: http://svn.automattic.com/wordpress/trunk@12542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-25 22:22:21 +00:00
matt
4a91f16421 Some style tweaks to theme editor, fixes #11563. Hat tip: Simek.
I adjusted the padding to be a little heavier and then have a negative margin, so the text stays aligned and the highlight floats around it. As an added tweak I removed the extraneous "Theme Files" heading which didn't really convey any useful information.

"Perfection is achieved perfection not when there is nothing left to add, but when there is nothing left to take away" -- Antoine de Saint-Exupery (and Merry Christmas everybody. :))

git-svn-id: http://svn.automattic.com/wordpress/trunk@12541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-25 03:16:25 +00:00
matt
5fb288d031 Change to comments UI to show when a comment is replying to another, and link to the parent comment, so you can understand the context of a given comment when moderating from the dashboard.
Long term, I feel like front-end moderation could be really handy if we can make it as AJAXy.

git-svn-id: http://svn.automattic.com/wordpress/trunk@12540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-25 02:46:40 +00:00
westi
9ca731eee2 Consitent use of … Fixes #10374 props demetris.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-24 09:46:57 +00:00
westi
9ffd65beb7 Round the corners of the Update nag message. Fixes #10431 props Simek.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-24 08:08:13 +00:00
ryan
9b6bd6bf87 Retunr WP_Error from wp_crop_image() and image_resize(). Props mdwaffe. fixes #9922
git-svn-id: http://svn.automattic.com/wordpress/trunk@12524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 18:39:31 +00:00
ryan
810bf31f83 Check required php and mysql versions in the update response and notify if the server environment does not meet those requirements. fixes #11562
git-svn-id: http://svn.automattic.com/wordpress/trunk@12523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 18:35:12 +00:00
ryan
b9dfd1fb4a Check upload_tmp_dir ini settings for a usable temporary path. Props Denis-de-Bernardy. fixes #6699
git-svn-id: http://svn.automattic.com/wordpress/trunk@12519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 16:22:26 +00:00
ryan
cedfa0181b Use array calling style. Props Denis-de-Bernardy. see #6647
git-svn-id: http://svn.automattic.com/wordpress/trunk@12515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 15:31:02 +00:00