Commit Graph

2415 Commits

Author SHA1 Message Date
scribu 2c7897bd78 Use adminTable to refill #the-extra-comment-list. See #14637
git-svn-id: https://develop.svn.wordpress.org/trunk@15509 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-19 00:06:51 +00:00
scribu 1b4603a611 Fix the Trash quickling in edit-comments.php. See #14637
git-svn-id: https://develop.svn.wordpress.org/trunk@15508 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-18 22:26:22 +00:00
scribu 1a078f252a correct post id in comments_bubble()
git-svn-id: https://develop.svn.wordpress.org/trunk@15505 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-18 16:41:58 +00:00
scribu 0a6cb83e18 introduce WP_List_Table::comments_bubble(); revert to edit-comments.php?p=123. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15504 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-18 16:30:27 +00:00
scribu 5b221368ad WP_Comments_Table::extra_tablenav() - move the closing div back to it's original position. Fixes #14612. Props josephscott
git-svn-id: https://develop.svn.wordpress.org/trunk@15502 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-17 21:55:42 +00:00
scribu 6d510588aa Safer hierarchical display check. Fixes #14600; See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15501 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-16 01:36:21 +00:00
scribu 52737f7b3e In WP_Posts_Table, merge _single_row_hierarchical() and _single_row(). Fixes #14089; see #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15500 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-15 22:36:17 +00:00
scribu 9b75ec1e92 Fix remaining links to ms-* files. Includes patch by markmcwilliams. See 14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15499 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-15 19:12:06 +00:00
scribu 9805f3a4b0 Fix Comments meta box in post editing screen. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15497 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-12 23:58:49 +00:00
scribu 37401689c5 Introduce WP_List_Table::check_permissions() and WP_List_Table::prepare_items(). Fixes #14596; See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15496 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-12 23:21:05 +00:00
scribu c5c084c42f Small, subtle fixes. See #14596
git-svn-id: https://develop.svn.wordpress.org/trunk@15493 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-12 00:15:31 +00:00
scribu fb9394167f Ajaxify list-type screens in the admin. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15491 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-11 21:54:51 +00:00
Peter Westwood 18a112a466 Allow plugins to add more options to the comment status meta box easily. Fixes #14544 props ryan.
git-svn-id: https://develop.svn.wordpress.org/trunk@15490 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-07 21:06:06 +00:00
Ryan Boren 01508edfac Favorite action for network admin. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@15489 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-02 19:07:03 +00:00
Ryan Boren 126dc0a006 Move confirm_delete_users() to edit.php. Update links in edit.php. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@15488 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-02 18:10:43 +00:00
Ryan Boren 20ef146992 Move dashboard_quota in dashboard.php. Don't perform current_user_can check before init.
git-svn-id: https://develop.svn.wordpress.org/trunk@15487 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-02 17:56:05 +00:00
Ryan Boren 7d0a19de0f Remove show_post_thumbnail_warning
git-svn-id: https://develop.svn.wordpress.org/trunk@15486 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-02 17:29:34 +00:00
Ryan Boren 383b705801 Remove 'plugins page is not visible to normal users' notice. We're just not that into you.
git-svn-id: https://develop.svn.wordpress.org/trunk@15485 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-02 17:25:54 +00:00
Ryan Boren 9d87a4c9a9 Update network upgrade links. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@15484 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-02 15:36:57 +00:00
Ryan Boren edd48280e3 Network Admin, first pass. see #14435
git-svn-id: https://develop.svn.wordpress.org/trunk@15481 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-30 20:34:54 +00:00
Mark Jaquith 59f6264c64 These are not verbs. http://notaverb.com/badbad_verbs
git-svn-id: https://develop.svn.wordpress.org/trunk@15473 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-27 18:02:45 +00:00
Andrew Nacin 85394e795e More curses on PHP 5.0.5. see #13757, fixes #14160. for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15471 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-25 07:35:59 +00:00
Dion Hulse 2ea4fcd6d9 Only use maintenance_mode() for ( is_multisite() || (plugin|theme) being updated is in use ) with Plugin|Theme Bulk Upgrades. See #14393
git-svn-id: https://develop.svn.wordpress.org/trunk@15469 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-24 03:59:53 +00:00
Ryan Boren 0734c33eb0 Update wordpress.org blog url
git-svn-id: https://develop.svn.wordpress.org/trunk@15457 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-22 13:45:43 +00:00
Ryan Boren 432adc1c33 Make posts per page filters consistent and back compat. Props wpmuguru. fixes #14135 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15450 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-21 17:27:04 +00:00
Ryan Boren 0e8e96649b Default posts per page to 20. Props wpmuguru. fixes #14342 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15445 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-19 16:28:26 +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 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 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
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
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 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 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
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
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 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 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 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 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
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
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 09f7a954bf Revert [15219], [15250], some of [15249] for 3.0, revisit in 3.0.1. see #13822.
git-svn-id: https://develop.svn.wordpress.org/trunk@15254 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-14 19:52:30 +00:00
Ryan Boren 9968a51d0d Differentiate between edit and new via an action field for the screen. Fix favorite_actions(). fixes #13876
git-svn-id: https://develop.svn.wordpress.org/trunk@15253 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-14 19:33:04 +00:00
Andrew Nacin b354c95af3 Add admin UI labels for menu items of unpublished posts. props koopersmith, fixes #13822. #stringchange
git-svn-id: https://develop.svn.wordpress.org/trunk@15250 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-14 08:40:52 +00:00
Andrew Nacin 95256b14b9 Don't use deprecated functions. props koopersmith, fixes #13854.
git-svn-id: https://develop.svn.wordpress.org/trunk@15242 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-13 06:20:51 +00:00
Andrew Nacin b7fe818d58 Use correct variable in populate_network(). props wpmuguru, fixes #13859.
git-svn-id: https://develop.svn.wordpress.org/trunk@15238 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-12 05:16:21 +00:00
Ryan Boren 82be9621ec Trim trailing whitespace.
git-svn-id: https://develop.svn.wordpress.org/trunk@15235 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 20:19:35 +00:00
Ron Rennick 3e360da417 add create site link to My Sites page, original patch props filosofo, fixes #13852
git-svn-id: https://develop.svn.wordpress.org/trunk@15228 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 17:18:17 +00:00
Andrew Nacin e45ec0a52c Fix warnings related to static pages. props zeo for initial patch. fixes #13830.
git-svn-id: https://develop.svn.wordpress.org/trunk@15227 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 17:04:06 +00:00
Ryan Boren fc2793bd46 Deprecate is_term, is_taxonomy, is_post_type for *_exists(). Props nacin. fixes #13747
git-svn-id: https://develop.svn.wordpress.org/trunk@15220 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 15:53:41 +00:00
Ron Rennick 9c74b84590 hide unpublished items on frontend nav menus, props filosofo, fixes #13822
git-svn-id: https://develop.svn.wordpress.org/trunk@15219 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 15:34:32 +00:00
Andrew Nacin e8f7f12adf Horizontal scrolling/resizing fixes for nav menu UI. Also some RTL fixes. props koopersmith, see #13525
git-svn-id: https://develop.svn.wordpress.org/trunk@15214 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 05:19:36 +00:00
Andrew Nacin 7a7a294de0 dbDelta needs all the comments it can get. Restore the one removed in [15210].
git-svn-id: https://develop.svn.wordpress.org/trunk@15211 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 03:03:17 +00:00
Andrew Nacin 58951fbf39 Reset variables back to empty arrays instead of unsetting them in dbDelta. prevents a warning. props mitchoyoshitaka, fixes #13715.
git-svn-id: https://develop.svn.wordpress.org/trunk@15210 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 03:01:51 +00:00
Peter Westwood 063ca11e7a Introduce menu_page_url() for plugins to use to get the url for the pages they have added. Fixes #13829 props o'malley for all the cuteness.
git-svn-id: https://develop.svn.wordpress.org/trunk@15203 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 21:38:41 +00:00
Ron Rennick 06dadab38b alway update fileupload_url during initial network install, see #13828
git-svn-id: https://develop.svn.wordpress.org/trunk@15202 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 21:31:46 +00:00
Andrew Nacin 825032bbf6 Provide context for screen options plural labels. fixes #13369.
git-svn-id: https://develop.svn.wordpress.org/trunk@15201 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 20:56:14 +00:00
Andrew Nacin a052939dfc Revert accidental commit. see [15199], see #13369
git-svn-id: https://develop.svn.wordpress.org/trunk@15200 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 20:48:04 +00:00
Andrew Nacin 0ed6a9bbb2 Valid HTML for wp-signup. fixes #13369, props ocean90, snumb130.
git-svn-id: https://develop.svn.wordpress.org/trunk@15199 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 20:44:54 +00:00
Andrew Nacin a53e7e3018 Switch to current_theme_supports(menus) internally. Adding theme support for 'nav-menus' is deprecated in favor of register_nav_menu(s). fixes #13825.
git-svn-id: https://develop.svn.wordpress.org/trunk@15193 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 17:57:30 +00:00
Andrew Nacin 5dcf82f22f Don't show an error when the theme supports widgets but not menus. see #13825.
git-svn-id: https://develop.svn.wordpress.org/trunk@15191 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 17:37:15 +00:00
Andrew Nacin 9d38c0af9e Move 'helps' argument to the taxonomy labels object. Also move over help_nojs and help_cloud, both introduced in 3.0. This adds three new core labels for non-hierarchical taxonomies, for tweaking the meta box strings. fixes #13805.
git-svn-id: https://develop.svn.wordpress.org/trunk@15190 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 16:07:33 +00:00
Ryan Boren d61154542c Remove old hidden columns usermeta keys. fixes #13783
git-svn-id: https://develop.svn.wordpress.org/trunk@15187 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 14:41:51 +00:00
Ryan Boren 5dc92cb07f Pass taxonomy to post_tags_meta_box. Use add_new_item label. see #13805
git-svn-id: https://develop.svn.wordpress.org/trunk@15183 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-09 21:59:13 +00:00
Peter Westwood 537fcf4970 Improve phpDoc for add_settings_section. Fixes #13801 props frankieroberto.
git-svn-id: https://develop.svn.wordpress.org/trunk@15180 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-09 20:21:43 +00:00
Ryan Boren 9537ce264c Set the screen for add-tag ajax requests. see #13783
git-svn-id: https://develop.svn.wordpress.org/trunk@15178 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-09 16:52:25 +00:00
Ryan Boren d599a6ca65 Make set_current_screen() taxonomy aware. Use current_screen when setting up table headers for edit-tags.php. see #13783
git-svn-id: https://develop.svn.wordpress.org/trunk@15175 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-08 15:34:42 +00:00
Dion Hulse ccbfa3b52b Do not check to see if parents of folders outside of the Destination folder exist within the Archive extractors, unzip_file() will take care of that area. Fixes #13741
git-svn-id: https://develop.svn.wordpress.org/trunk@15156 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-07 11:19:51 +00:00
Andrew Nacin 6f57a1a3ec s/echos/echoes/ in phpdoc. props demetris, fixes #13742.
git-svn-id: https://develop.svn.wordpress.org/trunk@15148 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-06 05:16:32 +00:00
Andrew Nacin ae77738ff9 More request_filesystem_credentials() string improvements.
git-svn-id: https://develop.svn.wordpress.org/trunk@15130 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-03 18:58:41 +00:00
Ryan Boren 0922715668 Cut 'em out, move 'em on, trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@15116 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 20:04:07 +00:00
Andrew Nacin dd5d1692b8 Clear nav menu from menu locations on delete. Additional sanity checks. fixes #13690.
git-svn-id: https://develop.svn.wordpress.org/trunk@15100 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 05:10:31 +00:00
Andrew Nacin fb0187a5a0 Add missing spaces.
git-svn-id: https://develop.svn.wordpress.org/trunk@15099 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-01 21:57:26 +00:00
Andrew Nacin 3c50fb2f00 Clarify the connection information requested in request_filesystem_credentials() to reduce confusion surrounding FTP information versus your WordPress login. see #13467, props jane.
git-svn-id: https://develop.svn.wordpress.org/trunk@15098 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-01 20:35:59 +00:00
Ryan Boren 171d6811cc Add export capability. fixes #13681
git-svn-id: https://develop.svn.wordpress.org/trunk@15096 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-01 18:02:05 +00:00
Dion Hulse 792509c0be Reinstate the custom chmod value in FtpExt. Accidentally removed in r12998. Props reaperhulk. Fixes #13667
git-svn-id: https://develop.svn.wordpress.org/trunk@15086 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-01 04:11:29 +00:00
Mark Jaquith b8f92556c3 Fix the Author links from Edit Pages screen. props duck_. fixes #13665
git-svn-id: https://develop.svn.wordpress.org/trunk@15085 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-01 00:26:49 +00:00
Andrew Nacin d5dd6a6aec Move the Walker_Nav_Menu_Checklist class to admin/includes.
git-svn-id: https://develop.svn.wordpress.org/trunk@15077 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-31 15:47:53 +00:00
Mark Jaquith 29a6333a1f Add ?ver=DATE query strings to all images that changed since 2.9, to expire browser cache. Bump versions on all CSS/JS files modified in that process. fixes #13562.
git-svn-id: https://develop.svn.wordpress.org/trunk@15072 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-31 06:33:46 +00:00
Mark Jaquith 8484570814 Default Google Gears ignoreQuery to true in manifest. see #13562
git-svn-id: https://develop.svn.wordpress.org/trunk@15068 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-30 08:45:50 +00:00
Andrew Nacin b5f97b05ee Consistent font size for menu instructions.
git-svn-id: https://develop.svn.wordpress.org/trunk@15067 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-29 21:58:14 +00:00
Andrew Nacin 45057df1ae Full no-JS and IE support for [15062]. fixes #13615.
git-svn-id: https://develop.svn.wordpress.org/trunk@15063 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-29 20:33:48 +00:00
Ron Rennick 1485267cce remove naughty not, see #13625
git-svn-id: https://develop.svn.wordpress.org/trunk@15061 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-29 19:10:49 +00:00
Ron Rennick 4ee6b4d663 check both wordpress & wordpress-mu roots in update core, see #13625
git-svn-id: https://develop.svn.wordpress.org/trunk@15059 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-29 18:21:30 +00:00
Ryan Boren 75714534b9 Bump WP version in update_core()
git-svn-id: https://develop.svn.wordpress.org/trunk@15057 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-29 17:28:09 +00:00
Andrew Nacin 60b96042f2 Use show_in_nav_menus for attachments. Also add it to register_taxonomy for consistency and have it default to public, not show_ui, like post types. see #13621.
git-svn-id: https://develop.svn.wordpress.org/trunk@15056 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-29 16:46:46 +00:00
Dion Hulse da3b4b351e Always fallback to PclZip in the event that ZipArchive does not return true. The PHP Zip extension is hit-and-miss with OSX generated zip files, sometimes 0 will be emitted and extraction will succeed, others it will fail with. Reverts r14346, r14377, partially r14800. See #12637. See #13491
git-svn-id: https://develop.svn.wordpress.org/trunk@15052 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-29 13:16:35 +00:00
Andrew Nacin 51cc204001 Sanity check menu item parents and fix HTML issues. props filosofo, fixes #13600.
git-svn-id: https://develop.svn.wordpress.org/trunk@15049 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 23:04:00 +00:00
Andrew Nacin 52ec03b947 Don't show (pending) in JS mode for nav menus UI. props filosofo, fixes #13604.
git-svn-id: https://develop.svn.wordpress.org/trunk@15047 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 20:41:39 +00:00
Andrew Nacin 69c7b18960 Make nav menu meta box tab ordering consistent across post types and taxonomies. see #13525.
git-svn-id: https://develop.svn.wordpress.org/trunk@15045 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 20:36:57 +00:00
Ron Rennick 3fe2b52e01 shake away out of date support files
git-svn-id: https://develop.svn.wordpress.org/trunk@15041 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 18:34:03 +00:00
Ryan Boren e0e67c56ba Do not show 'Network Activate' link if update fails. Props ocean90. fixes #13596
git-svn-id: https://develop.svn.wordpress.org/trunk@15038 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 16:42:09 +00:00
Mark Jaquith cb6f66977e Do proper caps check when processing bulk edited posts, and hide the checkbox on the Page edit page for users who lack permissions. props ocean90
git-svn-id: https://develop.svn.wordpress.org/trunk@15032 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 15:49:13 +00:00
Andrew Nacin cb8002eb29 Shake away second copy of prototype.js during an upgrade. see [12557].
git-svn-id: https://develop.svn.wordpress.org/trunk@15030 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 05:54:57 +00:00
Andrew Nacin 5df7a4ffd6 Shake away MU files which are no longer in core on an upgrade.
git-svn-id: https://develop.svn.wordpress.org/trunk@15029 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 05:48:53 +00:00
Andrew Nacin d70faa9a43 Fix nonce check for updating custom fields. fixes #13586.
git-svn-id: https://develop.svn.wordpress.org/trunk@15028 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 04:09:08 +00:00
Andrew Nacin a2806d3bc0 Use 'WordPress Blog' in the initial blogroll. see [14324].
git-svn-id: https://develop.svn.wordpress.org/trunk@15027 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 03:18:55 +00:00
Ryan Boren dca1da7a1c Allow plugin activation even if plugin generates extra output. Make warning more informative. fixes #13585
git-svn-id: https://develop.svn.wordpress.org/trunk@15017 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 00:18:00 +00:00
Andrew Nacin d7607a4cdd Menu touchups. see #13525.
git-svn-id: https://develop.svn.wordpress.org/trunk@15010 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 22:45:52 +00:00
Andrew Nacin 29ccf1ec31 New pending menu item behavior. props filosofo, see #13579.
git-svn-id: https://develop.svn.wordpress.org/trunk@15008 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 22:22:09 +00:00
Andrew Nacin 7ed6bc6ccb Remove some dead code. props ocean90, see #13525.
git-svn-id: https://develop.svn.wordpress.org/trunk@15007 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 22:17:58 +00:00
Ron Rennick 9ac718a3eb add fileupload_url option to main site on network install, see #13483
git-svn-id: https://develop.svn.wordpress.org/trunk@14998 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 18:06:48 +00:00
Andrew Nacin 6a314caceb RTL string fix. see #13525.
git-svn-id: https://develop.svn.wordpress.org/trunk@14994 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 14:14:58 +00:00
Nikolay Bachiyski de9e77a9c6 Prevent a notice if $_REQUEST['post_id'] is missing. Just use 0 in this case, which will be the same as using intval on an undefined value.
git-svn-id: https://develop.svn.wordpress.org/trunk@14987 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 11:42:46 +00:00
Dion Hulse 94487bb9ea Add Importer support to Plugin Install workflow, Offers to Activate Plugin & Run installer, and returning to Imports upon successful Importer Plugin Installation. See #13566
git-svn-id: https://develop.svn.wordpress.org/trunk@14985 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 11:04:08 +00:00
Dion Hulse a6194f1e0c Fully implement the 'delete_themes' capability. See also r13547
git-svn-id: https://develop.svn.wordpress.org/trunk@14984 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 09:49:38 +00:00
Andrew Nacin 62d4016045 gettext. see #13525.
git-svn-id: https://develop.svn.wordpress.org/trunk@14975 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 02:51:09 +00:00
Andrew Nacin 32565eeeb2 Implement the Cancel menu item link for no JS. props ocean90, see #13525.
git-svn-id: https://develop.svn.wordpress.org/trunk@14974 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 02:49:11 +00:00
Andrew Nacin 9b4a85cdaf Move the "Add Home Link" functionality to a checkbox on the View All tab of the Pages metabox. Also makes it work non-JS. props filosofo, fixes #13213.
git-svn-id: https://develop.svn.wordpress.org/trunk@14971 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 02:24:33 +00:00
Andrew Nacin c510c0d0a6 Call the 'Attributes' meta box 'Page Attributes' for pages. Add some help text. fixes #13539.
git-svn-id: https://develop.svn.wordpress.org/trunk@14967 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 00:16:34 +00:00
Peter Westwood 41a560ec0b Escape the guid urls when placing them in feeds and other xml locations. See #13555.
git-svn-id: https://develop.svn.wordpress.org/trunk@14947 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 17:01:21 +00:00
Ryan Boren 6c79e1395d Make classes property for menus an array. Props filosofo. fixes #13551
git-svn-id: https://develop.svn.wordpress.org/trunk@14944 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 15:41:21 +00:00
Ryan Boren 5cceae73e3 Ajaxify pagination requests in menu boxes. Props filosofo. fixes #13204
git-svn-id: https://develop.svn.wordpress.org/trunk@14943 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 14:49:43 +00:00
Andrew Nacin cbd7f7baef In the page attributes box, generalize the screen reader text, also remove the help text which is now in the 'Help' tab. see #13539. subject to final UX review.
git-svn-id: https://develop.svn.wordpress.org/trunk@14938 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 07:14:42 +00:00
Andrew Nacin 7de9be3c08 Separate out multiple _ajax_nonce fields on post forms. Yay, validation. fixes #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14933 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 04:55:21 +00:00
Andrew Nacin b8a0634d79 Validation in wp_dropdown_users and the non-hierarchical taxonomy meta box. props ocean90, see #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14931 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 04:01:14 +00:00
Andrew Nacin 8fc8e37158 Hide Flash uploader and theme/plugin editor documentation feature, if no JS. Also some validation fixes in the theme editor. props ocean90. see #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14930 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 03:57:55 +00:00
Ryan Boren cd201ff6b2 Post and page help. see #13467
git-svn-id: https://develop.svn.wordpress.org/trunk@14929 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 03:36:04 +00:00
Ryan Boren aec821c651 Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@14924 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 02:42:15 +00:00
Dion Hulse bbc30c03e4 Tweak String language to match language used elsewhere. Props Jane. See #11232
git-svn-id: https://develop.svn.wordpress.org/trunk@14920 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 01:27:58 +00:00
Dion Hulse 3a77661bb9 Revert back to spinner on bulk upgrades. See #11232
git-svn-id: https://develop.svn.wordpress.org/trunk@14919 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 01:23:25 +00:00
Andrew Nacin 1db01f2c56 Don't hide early nav menu instructions until the menu is no longer empty. props koopersmith, see #13525
git-svn-id: https://develop.svn.wordpress.org/trunk@14917 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 00:41:18 +00:00
Andrew Nacin 1bedd5e11a Generalize some strings. Also tidy the discussions meta box, which will stay as "page" as that is referring to the HTML page, not post/page/book etc. see #13539
git-svn-id: https://develop.svn.wordpress.org/trunk@14904 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 19:47:22 +00:00
Mark Jaquith bf69494f84 Update upload quota filled message to mention the limit and not suggest file deletion. fixes #13479
git-svn-id: https://develop.svn.wordpress.org/trunk@14897 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 17:53:31 +00:00
Andrew Nacin c0bf7ada51 Stirng capitalization fix. see #12035.
git-svn-id: https://develop.svn.wordpress.org/trunk@14894 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 17:16:52 +00:00
Dion Hulse 383ab1a811 Add Actions to the end of Bulk upgrades; Remove Spinners and instead show the individual upgrade steps (Then hidden upon completion for bulk upgrades). See #11232
git-svn-id: https://develop.svn.wordpress.org/trunk@14879 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 13:57:06 +00:00
Ryan Boren 51e11b64d6 Allow searching custom post types when attaching media. Props markoheijnen. fixes #13229
git-svn-id: https://develop.svn.wordpress.org/trunk@14869 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 02:18:07 +00:00
Peter Westwood f8bb337e42 phpDoc updates.
git-svn-id: https://develop.svn.wordpress.org/trunk@14859 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 21:28:07 +00:00
Andrew Nacin d617ca0f94 First pass on better UX for menu item save. props koopersmith, see #13525.
git-svn-id: https://develop.svn.wordpress.org/trunk@14852 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 19:50:20 +00:00
Ryan Boren d681342167 Better text for locations box. Props filosofo. fixes #13520 see #13378
git-svn-id: https://develop.svn.wordpress.org/trunk@14846 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 19:27:57 +00:00
Mark Jaquith 2a90aeb2a6 stripslashes() the site name before passing to populate_network(), not in it. We should always expect unslashed data. reverts [14754]. fixes #13448
git-svn-id: https://develop.svn.wordpress.org/trunk@14845 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 19:18:30 +00:00
Ryan Boren b97b898d80 Fix update label for link categories. Props duck_. fixes #13515
git-svn-id: https://develop.svn.wordpress.org/trunk@14841 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 16:09:52 +00:00
Andrew Nacin 6f97d5ccee Styling for menu locations howto text. see #13378.
git-svn-id: https://develop.svn.wordpress.org/trunk@14834 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 11:20:58 +00:00
Andrew Nacin b30c9c252e Some menu string improvements. props JohnONolan. see #13378.
git-svn-id: https://develop.svn.wordpress.org/trunk@14832 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 09:26:41 +00:00
Andrew Nacin 0ed95acd34 s/onclick/onClick/. props Gazzer from wp-testers.
git-svn-id: https://develop.svn.wordpress.org/trunk@14827 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 05:15:55 +00:00
Dion Hulse ce9cca9dd0 Provide some Before/After strings for Bulk Upgrades, Add a spinner whilst a upgrade is in process, Remove scrollbars on update iframe. Props ocean90. See #11232
git-svn-id: https://develop.svn.wordpress.org/trunk@14819 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-23 12:29:00 +00:00
Dion Hulse 87c99854d6 Increase height of Theme install thickbox to remove useless scrollbars. Props ocean90
git-svn-id: https://develop.svn.wordpress.org/trunk@14818 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-23 12:04:24 +00:00
Peter Westwood ca3fead69d Ensure that QuickPress media uploads get attached to the auto-draft we create for new posts correctly. Fixes #10917 props ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@14815 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-23 07:58:06 +00:00
Dion Hulse b93faecc52 Introduce a 'post_updated' action, Fires when a post is updated, Post ID, Current and Previous post objects are passed. Updatewp_check_for_changed_slugs() to use new hook. See #12473
git-svn-id: https://develop.svn.wordpress.org/trunk@14814 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-23 07:49:21 +00:00
Peter Westwood 3581129c1f Don't output empty html wrappers if no page numbers. Fixes #13497 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@14813 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-23 07:43:07 +00:00
Dion Hulse 8381bd7a9b Fix potential notice in Upgrade process when failing part-way through. See #13171
git-svn-id: https://develop.svn.wordpress.org/trunk@14812 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-23 05:59:17 +00:00
Dion Hulse 11fac78a37 Ensure that the entire folder structure exists within the $needed_folders array before attempting to create folders. Fixes cases where the Zip file does not contain a node for a folder which contains subfolders without files in the same level. Fixes #13171
git-svn-id: https://develop.svn.wordpress.org/trunk@14811 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-23 05:56:31 +00:00
Dion Hulse 606e4106aa Ensure slashing of paths returned by WP_Filesystem_Base::find_folder() is consistent with the slashing of paths; Affects Windows machines using the Direct transport.
git-svn-id: https://develop.svn.wordpress.org/trunk@14810 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-23 05:54:32 +00:00
Dion Hulse d0a1400321 Correct the ZipArchive opening test logic. See #13491
git-svn-id: https://develop.svn.wordpress.org/trunk@14800 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-22 05:09:08 +00:00
Andrew Nacin 0c09db7062 Most Recent tab for nav menu meta boxes for post types. props filosofo, see #13217.
git-svn-id: https://develop.svn.wordpress.org/trunk@14797 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-21 23:32:45 +00:00
Dion Hulse 997c0f8087 We're not as bold as some people make us out to be. Move the maximum upload size from a Heading to a paragraph text. Fix screen formatting on Multisite when over quota. see #12853
git-svn-id: https://develop.svn.wordpress.org/trunk@14776 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-21 12:57:49 +00:00
Andrew Nacin fc29f5f077 New screen options tab design. props JohnONolan, fixes #13477.
git-svn-id: https://develop.svn.wordpress.org/trunk@14774 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-21 03:20:25 +00:00
Andrew Nacin 48b57724dd Shake away old files during the upgrade process. see #13307.
git-svn-id: https://develop.svn.wordpress.org/trunk@14770 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-20 21:44:33 +00:00
Peter Westwood a6e3d28d3e Restore some more "Show on screen" headers. See #13393.
git-svn-id: https://develop.svn.wordpress.org/trunk@14768 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-20 21:29:45 +00:00
Ryan Boren 3a4313186a Some explanatory text for the theme locations box. see #13378
git-svn-id: https://develop.svn.wordpress.org/trunk@14767 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-20 21:25:25 +00:00
Andrew Nacin 1356037d95 Remove non-gzipped version of tinymce. Brace for impact. props azaozz. see #13307.
git-svn-id: https://develop.svn.wordpress.org/trunk@14765 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-20 21:05:16 +00:00
Ryan Boren ac71984568 Menu styling fixes for IE. Props filosofo, ocean90. fixes #13388 #13348
git-svn-id: https://develop.svn.wordpress.org/trunk@14761 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-20 19:33:57 +00:00
Ryan Boren 280901e0e5 WP_Importer class. Props briancolinger. see #13034
git-svn-id: https://develop.svn.wordpress.org/trunk@14760 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-20 19:22:38 +00:00
Ron Rennick 705e174f02 strip slashes from site name during network install, fixes #13448
git-svn-id: https://develop.svn.wordpress.org/trunk@14754 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-19 20:43:53 +00:00
Ryan Boren 9fef68880d Meta box and screen option phpdoc and cleanup. Props hakre. fixes #13017
git-svn-id: https://develop.svn.wordpress.org/trunk@14752 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-19 19:11:33 +00:00
Ryan Boren 4528488d8e Don't subsitute a translated string into a translated string. Props dimadin. fixes #13357
git-svn-id: https://develop.svn.wordpress.org/trunk@14748 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-19 18:18:26 +00:00
Ryan Boren e25c7e1935 Order pages in menu box by menu_order, title. Props filosofo. see #13329
git-svn-id: https://develop.svn.wordpress.org/trunk@14744 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-19 14:34:29 +00:00
Andrew Nacin dcfc4351c2 Rename wp_save_nav_menu_item to wp_save_nav_menu_items. Though it could handle one item, it expects a mess of post data containing an array of menu items. see #13447.
git-svn-id: https://develop.svn.wordpress.org/trunk@14738 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-19 05:59:43 +00:00
Mark Jaquith dafdd33220 Add nonce protection for setting/removing featured post image. fixes #13438
git-svn-id: https://develop.svn.wordpress.org/trunk@14730 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-18 22:08:49 +00:00
Ryan Boren f93aebd433 Remove taxonomy children cache purge. see #11866
git-svn-id: https://develop.svn.wordpress.org/trunk@14727 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-18 15:33:32 +00:00
Ryan Boren c61dc41101 Remove old metaboxorder settings. see #13424
git-svn-id: https://develop.svn.wordpress.org/trunk@14726 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-18 15:30:05 +00:00
Ryan Boren 51518f24be Allow removing all categories via quick edit. Props duck_. fixes #13397
git-svn-id: https://develop.svn.wordpress.org/trunk@14724 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-18 15:08:05 +00:00
Ryan Boren aab2aeaa75 Fix adding categories via bulk edit. Props duck_. see #13397
git-svn-id: https://develop.svn.wordpress.org/trunk@14723 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-18 15:03:54 +00:00
Andrew Nacin cb75ebbb54 Remove autocomplete and codepress. for autocomplete, see #13283. for codepress, see #13307.
git-svn-id: https://develop.svn.wordpress.org/trunk@14718 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-18 03:48:22 +00:00
Ron Rennick 8c74a6057e die in non-async upload in [14716], see #12853
git-svn-id: https://develop.svn.wordpress.org/trunk@14717 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-18 01:34:01 +00:00
Ron Rennick 38036c72b9 only die on async upload error, see #12853
git-svn-id: https://develop.svn.wordpress.org/trunk@14716 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-18 01:25:13 +00:00
Andrew Nacin 560acd7b63 Save menu locations meta box via ajax. see #13378.
git-svn-id: https://develop.svn.wordpress.org/trunk@14715 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-17 23:58:56 +00:00
Ryan Boren e88dc2d87d Set show_ui to true for post and page. Exclude _builtin = true from areas where we need to special case builtin types. fixes #13403
git-svn-id: https://develop.svn.wordpress.org/trunk@14713 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-17 16:39:36 +00:00
Ron Rennick 54a5f090ab more use get_blogaddress_by_name, see #12735
git-svn-id: https://develop.svn.wordpress.org/trunk@14705 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 23:00:48 +00:00
Ron Rennick c77318be51 observe fileupload_maxk in media uploader, see #12853
git-svn-id: https://develop.svn.wordpress.org/trunk@14694 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 20:09:56 +00:00
Ron Rennick 07bca9ef99 boldly go where no man has gone before, see #12853
git-svn-id: https://develop.svn.wordpress.org/trunk@14693 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 18:44:51 +00:00
Andrew Nacin 2839ecfd01 First pass at fixing search for add menu item boxes. props koopersmith, see #13283.
git-svn-id: https://develop.svn.wordpress.org/trunk@14686 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 05:39:53 +00:00
Ron Rennick 95694cb813 show upload limit in media upload UI, see #12853
git-svn-id: https://develop.svn.wordpress.org/trunk@14682 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 23:57:32 +00:00
Ron Rennick 5e7eb09e19 block creation of 'files' sub site, see #13304
git-svn-id: https://develop.svn.wordpress.org/trunk@14681 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 22:18:40 +00:00
Peter Westwood a441108f91 Fix the column headers title override to use a special name rather than one we use elsewhere.
git-svn-id: https://develop.svn.wordpress.org/trunk@14675 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 20:57:17 +00:00
Andrew Nacin 23d6bf302c More validation fixes. Escape some preview=true URLs, also clean up tags in edit-attachment-rows. Slight CSS tweak to match presentation to the formerly invalid HTML. props zeo, see #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14673 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 20:36:49 +00:00
Andrew Nacin 8df4668ce6 Truncate long menu names in the menu locations box. props koopersmith, see #13378.
git-svn-id: https://develop.svn.wordpress.org/trunk@14671 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 20:00:48 +00:00
Andrew Nacin 8816885c79 Escape slash in inline JS for SWFUploader. props zeo, see #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14656 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 06:14:06 +00:00
Andrew Nacin 7d118a4628 Remove default_comment_status_pages setting from the options table. see #12991.
git-svn-id: https://develop.svn.wordpress.org/trunk@14651 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 05:01:04 +00:00
Andrew Nacin f92765c934 Remove default_comment_status_pages setting. Reverts [14451], [14448] for 3.0. see #12991.
git-svn-id: https://develop.svn.wordpress.org/trunk@14650 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 04:56:56 +00:00
Andrew Nacin 5aa7280d6a Introduce wp_check_filetype_and_ext() to handle mime/ext image comparisons and corrections for upload and sideload. props Viper007Bond, see #11946.
git-svn-id: https://develop.svn.wordpress.org/trunk@14649 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 04:47:03 +00:00
Andrew Nacin 47136b319f Introduce _ex(), a hybrid between _e() and _x() -- translate with context, then echo. props westi, see #13395.
git-svn-id: https://develop.svn.wordpress.org/trunk@14647 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 21:46:25 +00:00
Ryan Boren 3fe13109a2 Add wp_edit_nav_menu_walker filter for specifying a custom edit nav menu walker. Props filosofo. fixes #13342
git-svn-id: https://develop.svn.wordpress.org/trunk@14645 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 20:06:50 +00:00
Ryan Boren 3ed5168fbe Don't allow previewing auto-draft. Props duck_. fixes #12859
git-svn-id: https://develop.svn.wordpress.org/trunk@14643 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 18:30:43 +00:00
Ryan Boren c5ef0f8fc5 Show page template dropdown only for pages and not for other post types. Props greenshady. fixes #12759
git-svn-id: https://develop.svn.wordpress.org/trunk@14642 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 18:20:04 +00:00
Peter Westwood db0df6a9c0 Try and tidy up the show_screen logic a little.
Implement a better override of the column header.
See #13393.

git-svn-id: https://develop.svn.wordpress.org/trunk@14638 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 16:45:14 +00:00
Peter Westwood bbc1edced6 Try and tidy up the show_screen logic a little.
Implement a better override of the column header.
See #13393.

git-svn-id: https://develop.svn.wordpress.org/trunk@14637 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 16:39:56 +00:00
Peter Westwood 10abe48571 Remove unnecessary filters and provide for translation context instead. Fixes #13393.
git-svn-id: https://develop.svn.wordpress.org/trunk@14636 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 16:12:46 +00:00
Peter Westwood f73384ffe8 Only show the column preferences if we have columns. See #13393 props duck_.
git-svn-id: https://develop.svn.wordpress.org/trunk@14635 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 15:49:20 +00:00
Peter Westwood 1302562718 Add phpDoc for convert_to_screen() and get_column_headers().
git-svn-id: https://develop.svn.wordpress.org/trunk@14634 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 15:47:14 +00:00
Andrew Nacin d999daff98 esc_url the URL from get_upload_iframe_src. props jshreve, see #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14633 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 15:03:59 +00:00
Andrew Nacin 1a1ae174ba Only show published items of custom post types in nav menu meta boxes. props duck_, fixes #13390.
git-svn-id: https://develop.svn.wordpress.org/trunk@14631 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 13:12:45 +00:00
Andrew Nacin 151f5eb77d Only show Theme Locations meta box if menus exist and if the theme has registered menus. see #13378.
git-svn-id: https://develop.svn.wordpress.org/trunk@14621 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 06:35:57 +00:00
Andrew Nacin 4db10bf0d7 First pass on 'Theme Locations' for navigation menus. Themes need to specify a location when calling wp_nav_menu and register locations in functions.php. Users then map menus to locations in the nav menu admin. Subject to review. see #13378.
git-svn-id: https://develop.svn.wordpress.org/trunk@14620 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 06:20:30 +00:00