Commit Graph

7210 Commits

Author SHA1 Message Date
Andrew Nacin
97366f31f0 Fix checking for whether WP_User object is actually a user. props filosofo, fixes #13903 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15404 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-13 21:27:05 +00:00
Ryan Boren
63503c5022 Back compat load actions. Props simonwheatley. fixes #14083 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15387 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-12 15:09:32 +00:00
Ryan Boren
b155b1e304 Block editing of sites in a network other than the current one. Props wpmuguru. see #14185 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15385 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-12 15:01:25 +00:00
Peter Westwood
e9aae4a53a Ensure the language selection dropdown is output correctly. Fixes #14255 for trunk props SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@15381 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-10 07:25:10 +00:00
Andrew Nacin
20c540feeb Add missing echo. props PhillKenoyer, fixes #14242 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15379 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-08 23:37:43 +00:00
Andrew Nacin
9d381db2cb Only ask for active_sitewide_plugins in deactivate_plugins() if we're running multisite.
git-svn-id: https://develop.svn.wordpress.org/trunk@15376 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-07 20:35:51 +00:00
Ryan Boren
630cc3878b Introduce DO_NOT_UPGRADE_GLOBAL_TABLES. fixes #14221 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15374 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-07 13:55:14 +00:00
Andrew Nacin
d4955c0264 Use page_rows() for quick edit for all hierarchical post types. fixes #14194 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@15372 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-07 07:39:14 +00:00
Andrew Nacin
66a16124a4 Use correct variable in export. fixes #14213 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15367 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-06 20:24:38 +00:00
Ryan Boren
6149b94c48 Fix nonce for Press This category adder. fixes #14210 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15365 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-06 16:43:47 +00:00
Andrew Nacin
bea71072af Give nav-menus.php some better include paths.
git-svn-id: https://develop.svn.wordpress.org/trunk@15361 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-01 00:24:36 +00:00
Andrew Nacin
ec40f6b186 Curses on PHP 5.0.5. see #14160 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15358 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-30 22:05:27 +00:00
Ryan Boren
9fe4a697cf Don't process allowedthemes option when editing a site. Props wpmuguru. fixes #14120
git-svn-id: https://develop.svn.wordpress.org/trunk@15351 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-29 14:32:49 +00:00
Ryan Boren
d9eb60c0a0 Use WP_PLUGIN_DIR. Props bigsmoke, wojtek.szkutnik. fixes #14070 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15346 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-29 13:52:56 +00:00
Andrew Nacin
f58a5ced8b s/trash/Trash/
git-svn-id: https://develop.svn.wordpress.org/trunk@15345 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-29 08:47:43 +00:00
Andrew Nacin
1a1a241eb3 Deprecated doc cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@15344 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-28 10:11:41 +00:00
Andrew Nacin
ed6045fbb6 Save add_new_users ms-option. props wpmuguru, fixes #14119 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15342 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-27 20:11:59 +00:00
Ryan Boren
ceab605169 Use prepare(). Props Ben Ward.
git-svn-id: https://develop.svn.wordpress.org/trunk@15340 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-27 19:55:55 +00:00
Andrew Nacin
494f898c39 screen_options() for 'show on screen' should look for show_ui post types, not public.
git-svn-id: https://develop.svn.wordpress.org/trunk@15339 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-27 08:38:06 +00:00
Andrew Nacin
462d22c3e2 Increment first, to avoid ++ later on when it conflicts with [25].
git-svn-id: https://develop.svn.wordpress.org/trunk@15338 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-27 04:21:33 +00:00
Andrew Nacin
73b2b7c164 Make Categories/Tags columns on edit.php properly aware of post types. Also ensure AJAX add-tag on edit-tags.php is given the post type. fixes #14061 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15336 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-27 01:05:53 +00:00
Andrew Nacin
36a12c4dc3 Proper handling of menu nonsupport message. props deanjrobinson, fixes #14098 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15334 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-26 07:12:15 +00:00
Andrew Nacin
8a95a0d25d i18n a string in import.php. props vanillalounge, fixes #14086 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15326 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-25 15:04:54 +00:00
Peter Westwood
71ba7b122d Remove dead code. Props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@15324 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-24 19:51:46 +00:00
Peter Westwood
9879c27093 Fix notice when visiting the plugins page as a site admin with multisite enabled. Fixes #14010.
git-svn-id: https://develop.svn.wordpress.org/trunk@15323 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-24 19:47:44 +00:00
Ryan Boren
4ed0fb72d8 Markup fixes for plugins screen. Props johnbillion. fixes #14007 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15318 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-24 15:10:23 +00:00
Ryan Boren
494ee995b5 Use get_current_user() and get_current_user_id() instead of global . Props filofo. see #13934 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@15315 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-24 15:01:29 +00:00
Ryan Boren
3cd056320a Remove unused global. Props filosofo. fixes #13933 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15313 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-24 14:53:26 +00:00
Andrew Nacin
5c9e072270 s/site/network/ in user-new.php.
git-svn-id: https://develop.svn.wordpress.org/trunk@15310 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-24 05:38:58 +00:00
Andrew Nacin
0f2f62762b Revert typo. Thanks autocomplete for randomly modifying my file. see #14026.
git-svn-id: https://develop.svn.wordpress.org/trunk@15307 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-23 07:22:43 +00:00
Andrew Nacin
f3100ef18c Avoid variable clash in export.php. see #14026 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15306 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-23 07:17:49 +00:00
Andrew Nacin
5154f54e0a Tiny code cleanup. intval is used earlier so it is stored properly in the db; we just need true/false.
git-svn-id: https://develop.svn.wordpress.org/trunk@15305 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-23 05:10:45 +00:00
Andrew Nacin
4352937ec0 Fix typo in user-new help. see #14038 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15304 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-22 23:04:49 +00:00
Andrew Nacin
dbcb4eeaa8 s/goto/go to/g. props demetris, fixes #13863.
git-svn-id: https://develop.svn.wordpress.org/trunk@15301 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-21 20:52:48 +00:00
Andrew Nacin
6121122d9a Capitalization and grammar changes in upgrade strings. fixes #13628.
git-svn-id: https://develop.svn.wordpress.org/trunk@15300 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-21 19:38:19 +00:00
Andrew Nacin
98d3d275bf Remove unused global from install-helper. props hakre, fixes #13405.
git-svn-id: https://develop.svn.wordpress.org/trunk@15299 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-21 19:31:50 +00:00
Andrew Nacin
ccabcee5d7 Use correct function name. props briancolinger, fixes #14021 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15297 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-21 18:18:39 +00:00
Andrew Nacin
15a13b431b Translate, don't echo. props SergeyBiryukov, fixes #14008 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15293 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-21 05:36:18 +00:00
Dion Hulse
9c7369cca9 Fix typo in type_url_form_video() help text. Props mako09. Fixes #14003 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@15292 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-20 04:13:57 +00:00
Dion Hulse
f13e3b1dc2 Move plugin installer install_popular_tags() to use a site transient rather than its own caching logic. Fixes #13108
git-svn-id: https://develop.svn.wordpress.org/trunk@15287 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-19 07:28:27 +00:00
Dion Hulse
8290bddd76 Close <img> spinner XHTML style. Props zeo. Fixes #13970
git-svn-id: https://develop.svn.wordpress.org/trunk@15286 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-19 07:05:23 +00:00
Dion Hulse
98b6ab2bb2 Correct the links to the codex for non-english users. Props ocean90. Fixes #13948 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@15281 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-19 06:49:38 +00:00
Dion Hulse
e263911f0e Fix typos in r15278. Caused by fat fingers.
git-svn-id: https://develop.svn.wordpress.org/trunk@15280 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-19 05:48:30 +00:00
Dion Hulse
9603705443 Replace Permalink options Javascript with easily understood jQuery version
git-svn-id: https://develop.svn.wordpress.org/trunk@15279 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-19 05:40:43 +00:00
Dion Hulse
309a88827b Coding standards clean-up of admin template.php. No logic changes. Removal of multiple spaces, addition of whitespace, addition of ;, s/"/'/g where appropriate, case changes of constants, removal of $output = '..'; echo $output.
git-svn-id: https://develop.svn.wordpress.org/trunk@15278 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-19 05:32:01 +00:00
Ryan Boren
94efed64a0 Allow only super admins to see plugins.php if the Plugins menu is not exposed. Props ocean90. fixes #13944
git-svn-id: https://develop.svn.wordpress.org/trunk@15271 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-17 15:57:02 +00:00
Andrew Nacin
44bb966035 Use add_query_arg() in menu_page_url(). fixes #13923.
git-svn-id: https://develop.svn.wordpress.org/trunk@15268 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-16 20:08:58 +00:00
Andrew Nacin
3e337cf0fb Two birds with one stone. fixes #13902, props ocean90, wahgnube. fixes #13555, props hakre.
git-svn-id: https://develop.svn.wordpress.org/trunk@15264 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-15 20:31:44 +00:00
Mark Jaquith
8abb12ffc6 Make the number of taxonomies to display per page setting actually stick. props nacin. fixes #13899
git-svn-id: https://develop.svn.wordpress.org/trunk@15263 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-15 20:07:02 +00:00
Andrew Nacin
a85abb3763 Remove errant closing label tag. props wahgnube, fixes #13901.
git-svn-id: https://develop.svn.wordpress.org/trunk@15260 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-15 11:33:52 +00:00