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