Commit Graph

13906 Commits

Author SHA1 Message Date
ryan 11e51b7e0e Block editing of sites in a network other than the current one. Props wpmuguru. see #14185 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/trunk@15385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-12 15:01:25 +00:00
ryan 44e222d5ae Add equal sign to blacklist. Props Pádraic Brady. for 3.1
git-svn-id: http://svn.automattic.com/wordpress/trunk@15383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-12 14:30:39 +00:00
westi 5fdb333ab3 Ensure the language selection dropdown is output correctly. Fixes #14255 for trunk props SergeyBiryukov.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-10 07:25:10 +00:00
nacin 279c35a58f Add missing echo. props PhillKenoyer, fixes #14242 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-08 23:37:43 +00:00
markjaquith 57deb5ec03 More judicious Wordpress-to-WordPress correction, to avoid bungling reasonable URLs. fixes #13971
git-svn-id: http://svn.automattic.com/wordpress/trunk@15377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-08 19:35:29 +00:00
nacin 77b0788dc8 Only ask for active_sitewide_plugins in deactivate_plugins() if we're running multisite.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-07 20:35:51 +00:00
ryan 9aaac543db Introduce DO_NOT_UPGRADE_GLOBAL_TABLES. fixes #14221 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/trunk@15374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-07 13:55:14 +00:00
nacin 535275b753 Use page_rows() for quick edit for all hierarchical post types. fixes #14194 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@15372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-07 07:39:14 +00:00
nacin e965180dc1 Pass feed type from the_content_feed to get_the_content_feed. props peaceablewhale, fixes #14214.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-06 20:41:07 +00:00
nacin 23c773df72 Use correct variable in export. fixes #14213 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-06 20:24:38 +00:00
ryan 23367b2009 Fix nonce for Press This category adder. fixes #14210 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/trunk@15365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-06 16:43:47 +00:00
nacin 69b10a2948 Restore trackback_rdf(). reverts [13991]. fixes #11139 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-03 05:55:04 +00:00
dd32 ea54f7f91c Remove redundant strtolower() in WP_HTTP. Props rmccue. Fixes #14168
git-svn-id: http://svn.automattic.com/wordpress/trunk@15362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-02 07:52:14 +00:00
nacin 68849c1bd5 Give nav-menus.php some better include paths.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-01 00:24:36 +00:00
nacin a87c97cfee Curses on PHP 5.0.5. see #14160 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-30 22:05:27 +00:00
ryan ffba502e8c Don't use deprecated function. Blacklist curlies.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-30 17:46:37 +00:00
dd32 a14d289755 Alot more tabs. Props jacobsantos & Viper007bond. See #14147
git-svn-id: http://svn.automattic.com/wordpress/trunk@15355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-30 00:05:18 +00:00
dd32 c22f156a8a And the rest of r15353. See #14147
git-svn-id: http://svn.automattic.com/wordpress/trunk@15354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-29 23:54:39 +00:00
dd32 1c986a3e88 Tabs are so much nicer than spaces.. Props jorbin. Fixes #14147
git-svn-id: http://svn.automattic.com/wordpress/trunk@15353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-29 23:52:33 +00:00
ryan 703fb0a73a Don't process allowedthemes option when editing a site. Props wpmuguru. fixes #14120
git-svn-id: http://svn.automattic.com/wordpress/trunk@15351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-29 14:32:49 +00:00
ryan 088aff8699 Use get_post_types() to create list of hierarchical post types. fixes #14079 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/trunk@15348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-29 14:10:54 +00:00
ryan 4c94132656 Use WP_PLUGIN_DIR. Props bigsmoke, wojtek.szkutnik. fixes #14070 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/trunk@15346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-29 13:52:56 +00:00
nacin 91ef1974d8 s/trash/Trash/
git-svn-id: http://svn.automattic.com/wordpress/trunk@15345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-29 08:47:43 +00:00
nacin 1017822b6f Deprecated doc cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-28 10:11:41 +00:00
nacin 67aafc648c Save add_new_users ms-option. props wpmuguru, fixes #14119 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-27 20:11:59 +00:00
ryan c74ec2cca3 Use prepare(). Props Ben Ward.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-27 19:55:55 +00:00
nacin 6b2be08f6b screen_options() for 'show on screen' should look for show_ui post types, not public.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-27 08:38:06 +00:00
nacin 93a08d4d6f Increment first, to avoid ++ later on when it conflicts with [25].
git-svn-id: http://svn.automattic.com/wordpress/trunk@15338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-27 04:21:33 +00:00
nacin 57bc2fd164 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: http://svn.automattic.com/wordpress/trunk@15336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-27 01:05:53 +00:00
nacin 2ff7c13096 Proper handling of menu nonsupport message. props deanjrobinson, fixes #14098 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-26 07:12:15 +00:00
nacin e91e34be6a Remove a @todo. see #14014.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-25 16:25:29 +00:00
ryan 9a032e6eef Fix inverted logic in [15331]. see #13934
git-svn-id: http://svn.automattic.com/wordpress/trunk@15332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-25 16:17:33 +00:00
ryan 6c31f32be1 Don't perform current user ops in switch_to_blog() or restore_current_blog() if init hasn't fired. Avoids wp_get_current_user() not defined error when those functions are run before init. Ops on current user prior to init are meaningless anyway. see #13934
git-svn-id: http://svn.automattic.com/wordpress/trunk@15331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-25 16:16:06 +00:00
nacin b3c30fe1ff WPMU->Network Codex link updates. props wpmuguru, see #14014 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-25 16:15:43 +00:00
ryan 24be098207 Fix is_site_admin() when passing a username. Props francescolaffi. fixes #14046
git-svn-id: http://svn.automattic.com/wordpress/trunk@15328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-25 15:11:36 +00:00
nacin 6925cea413 i18n a string in import.php. props vanillalounge, fixes #14086 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-25 15:04:54 +00:00
nacin 0a21a349fb Fix typo in php comment. props Utkarsh, fixes #14072.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-25 06:26:40 +00:00
westi ea91074608 Remove dead code. Props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-24 19:51:46 +00:00
westi 4bb09d0382 Fix notice when visiting the plugins page as a site admin with multisite enabled. Fixes #14010.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-24 19:47:44 +00:00
ryan a00f656cbc Fix current page detection for home when index.php is in the requested URL. Props filosofo. fixes #13977 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/trunk@15320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-24 17:39:29 +00:00
ryan 35afb0b032 Markup fixes for plugins screen. Props johnbillion. fixes #14007 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/trunk@15318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-24 15:10:23 +00:00
ryan cf17e68308 Filter title for Custom Menu widget. Props jorbin. fixes #14009 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/trunk@15316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-24 15:07:11 +00:00
ryan 81e213c211 Use get_current_user() and get_current_user_id() instead of global . Props filofo. see #13934 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@15315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-24 15:01:29 +00:00
ryan 2468b66784 Remove unused global. Props filosofo. fixes #13933 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/trunk@15313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-24 14:53:26 +00:00
ryan 6582f99bf2 Pass ID to is_super_admin(). Props bigdawggi. fixes #14066 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/trunk@15311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-24 14:49:23 +00:00
nacin 8e62707d40 s/site/network/ in user-new.php.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-24 05:38:58 +00:00
nacin d77e093aba Some whitespace in WP_HTTP. props hakre, see #13897.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-23 14:26:57 +00:00
nacin 6e2e5bdd73 Revert typo. Thanks autocomplete for randomly modifying my file. see #14026.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-23 07:22:43 +00:00
nacin 642e01ef4a Avoid variable clash in export.php. see #14026 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-23 07:17:49 +00:00
nacin a1ded4c270 Tiny code cleanup. intval is used earlier so it is stored properly in the db; we just need true/false.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-23 05:10:45 +00:00