Commit Graph

2399 Commits

Author SHA1 Message Date
scribu
6509fa203a Fix MS User search. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-09 10:20:07 +00:00
scribu
00a9e39bcf Fix delete plugin links. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-08 12:15:50 +00:00
scribu
449d62100e Introduce 'edit_comment' meta cap. Fixes #14520
git-svn-id: http://svn.automattic.com/wordpress/trunk@15596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-07 23:35:28 +00:00
nacin
1dee100f3a Fix typo. props mrmist, fixes #14571.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-07 15:11:43 +00:00
nacin
5a20c05d27 Phpdoc argument/@param cleanups. props duck_, see #14783.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-07 11:21:11 +00:00
scribu
9a9e872597 introduce WP_List_Table::views(). See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 21:26:27 +00:00
scribu
614929f25b Fix theme pagination. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 19:26:01 +00:00
scribu
c60d3205e6 remove useless __() call with variable. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 18:19:38 +00:00
scribu
ce38630ab0 Use get_users() in WP_MS_User_Table. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 17:07:36 +00:00
scribu
f24da67b4b Introduce WP_List_Table::row_actions(). See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 16:53:59 +00:00
scribu
c02669236e Introduce WP_List_Table::get_items_per_page(). See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 15:15:46 +00:00
scribu
1652fe96c1 fix wp_getAuthors in xmlrpc.php. See #14572 and [15566]
git-svn-id: http://svn.automattic.com/wordpress/trunk@15567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 14:49:52 +00:00
scribu
11ff3a7ce9 call get_users() from get_users_of_blog()
git-svn-id: http://svn.automattic.com/wordpress/trunk@15566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 14:35:55 +00:00
nacin
15bc341696 phpdoc, @since, whitespace. Also require an argument in wp_insert_post(). props duck_, see #14783.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-05 02:45:39 +00:00
ryan
ca7bec26be Hide more meta boxes by default. fixes #14212
git-svn-id: http://svn.automattic.com/wordpress/trunk@15555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-31 18:27:59 +00:00
nacin
34e00ea35a Use return_empty_array instead of create_function. see #14579.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-28 04:54:27 +00:00
scribu
253faa4bbe Deprecated get_editable_user_ids() altogether, along with similar, unused functions. See #14572
git-svn-id: http://svn.automattic.com/wordpress/trunk@15542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-27 01:07:21 +00:00
scribu
7a62e9057d Fix post_author_meta_box(). See #14572
git-svn-id: http://svn.automattic.com/wordpress/trunk@15541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-27 00:24:41 +00:00
scribu
18469c28ff Deprecate unused get_author_user_ids()and get_editable_authors(). See #14572
git-svn-id: http://svn.automattic.com/wordpress/trunk@15540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-27 00:22:29 +00:00
scribu
e7a6f6f967 use get_users() in get_editable_user_ids() and cache result. See #14572
git-svn-id: http://svn.automattic.com/wordpress/trunk@15539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-27 00:18:57 +00:00
scribu
b9955d5a66 use unaltered in the get_list_table_* filter
git-svn-id: http://svn.automattic.com/wordpress/trunk@15535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-26 11:02:51 +00:00
scribu
ab4fc9bba9 Rename admin-table.js to list-table.js
git-svn-id: http://svn.automattic.com/wordpress/trunk@15530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-25 01:59:13 +00:00
scribu
75219a5110 Introduce get_list_table(). See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-25 00:51:44 +00:00
scribu
385dbb646d On the plugins page, set and at the right time. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-24 19:50:55 +00:00
scribu
db4e0ce056 Fix Recently Active plugins screen. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-23 21:31:42 +00:00
scribu
f9b862ed5e Use global_terms_enabled() instead of is_multisite() for term quick-editing
git-svn-id: http://svn.automattic.com/wordpress/trunk@15524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-23 18:56:39 +00:00
scribu
cae0e969ce replace $table with $wp_list_table. See #14651
git-svn-id: http://svn.automattic.com/wordpress/trunk@15519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-22 11:22:46 +00:00
scribu
33ccdcdeab use is_a() instead of is_object() in screen_meta(). See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-22 01:50:34 +00:00
scribu
65206ec0d7 Make deprecated functions work. See #14651
git-svn-id: http://svn.automattic.com/wordpress/trunk@15517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-21 18:08:42 +00:00
scribu
1ea0bc3486 Remove dead code from WP_List_Table::print_column_headers()
git-svn-id: http://svn.automattic.com/wordpress/trunk@15516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-21 16:56:24 +00:00
scribu
3a1d872cfd Move list table deprecated functions to wp-admin/includes/deprecated.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@15515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-21 16:33:56 +00:00
scribu
fce15d1f2c Fix the comment type dropdown. Fixes #14637
git-svn-id: http://svn.automattic.com/wordpress/trunk@15513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-20 11:43:32 +00:00
scribu
1b2fa98e2a Add the floated_admin_avatar filter from WP_Comments_Table. See #14637
git-svn-id: http://svn.automattic.com/wordpress/trunk@15512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-20 11:18:41 +00:00
scribu
d61363d755 Show dropdowns filter even when JS is disabled. Props blepoxp. Fixes #14150
git-svn-id: http://svn.automattic.com/wordpress/trunk@15511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-19 20:10:28 +00:00
scribu
196de8fce6 Use adminTable to refill #the-extra-comment-list. See #14637
git-svn-id: http://svn.automattic.com/wordpress/trunk@15509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-19 00:06:51 +00:00
scribu
071746cc11 Fix the Trash quickling in edit-comments.php. See #14637
git-svn-id: http://svn.automattic.com/wordpress/trunk@15508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-18 22:26:22 +00:00
scribu
27b022bd38 correct post id in comments_bubble()
git-svn-id: http://svn.automattic.com/wordpress/trunk@15505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-18 16:41:58 +00:00
scribu
eec59d35bb introduce WP_List_Table::comments_bubble(); revert to edit-comments.php?p=123. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-18 16:30:27 +00:00
scribu
d67b806cf4 WP_Comments_Table::extra_tablenav() - move the closing div back to it's original position. Fixes #14612. Props josephscott
git-svn-id: http://svn.automattic.com/wordpress/trunk@15502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-17 21:55:42 +00:00
scribu
f2614ac277 Safer hierarchical display check. Fixes #14600; See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-16 01:36:21 +00:00
scribu
31b188da6e In WP_Posts_Table, merge _single_row_hierarchical() and _single_row(). Fixes #14089; see #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-15 22:36:17 +00:00
scribu
9f030b5345 Fix remaining links to ms-* files. Includes patch by markmcwilliams. See 14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-15 19:12:06 +00:00
scribu
b921471dea Fix Comments meta box in post editing screen. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-12 23:58:49 +00:00
scribu
c6056827ed Introduce WP_List_Table::check_permissions() and WP_List_Table::prepare_items(). Fixes #14596; See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-12 23:21:05 +00:00
scribu
11ffaae225 Small, subtle fixes. See #14596
git-svn-id: http://svn.automattic.com/wordpress/trunk@15493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-12 00:15:31 +00:00
scribu
020ce73746 Ajaxify list-type screens in the admin. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-11 21:54:51 +00:00
westi
113a5038ce Allow plugins to add more options to the comment status meta box easily. Fixes #14544 props ryan.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-07 21:06:06 +00:00
ryan
10deff9e1d Favorite action for network admin. see #14435
git-svn-id: http://svn.automattic.com/wordpress/trunk@15489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-02 19:07:03 +00:00
ryan
11dc4a27bc Move confirm_delete_users() to edit.php. Update links in edit.php. see #14435
git-svn-id: http://svn.automattic.com/wordpress/trunk@15488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-02 18:10:43 +00:00
ryan
84ce78ab1f Move dashboard_quota in dashboard.php. Don't perform current_user_can check before init.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-02 17:56:05 +00:00
ryan
0490be0ae7 Remove show_post_thumbnail_warning
git-svn-id: http://svn.automattic.com/wordpress/trunk@15486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-02 17:29:34 +00:00
ryan
56b53ff30f Remove 'plugins page is not visible to normal users' notice. We're just not that into you.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-02 17:25:54 +00:00
ryan
44799523bc Update network upgrade links. see #14435
git-svn-id: http://svn.automattic.com/wordpress/trunk@15484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-02 15:36:57 +00:00
ryan
21e3f0f7fa Network Admin, first pass. see #14435
git-svn-id: http://svn.automattic.com/wordpress/trunk@15481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-30 20:34:54 +00:00
markjaquith
7944bd5d82 These are not verbs. http://notaverb.com/badbad_verbs
git-svn-id: http://svn.automattic.com/wordpress/trunk@15473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-27 18:02:45 +00:00
nacin
65c1243ce3 More curses on PHP 5.0.5. see #13757, fixes #14160. for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-25 07:35:59 +00:00
dd32
7ffe984f8e Only use maintenance_mode() for ( is_multisite() || (plugin|theme) being updated is in use ) with Plugin|Theme Bulk Upgrades. See #14393
git-svn-id: http://svn.automattic.com/wordpress/trunk@15469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-24 03:59:53 +00:00
ryan
a67155f514 Update wordpress.org blog url
git-svn-id: http://svn.automattic.com/wordpress/trunk@15457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-22 13:45:43 +00:00
ryan
fd6cc7c779 Make posts per page filters consistent and back compat. Props wpmuguru. fixes #14135 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/trunk@15450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-21 17:27:04 +00:00
ryan
2160674a67 Default posts per page to 20. Props wpmuguru. fixes #14342 for 3.1
git-svn-id: http://svn.automattic.com/wordpress/trunk@15445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-19 16:28:26 +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
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
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
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
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
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
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
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
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
nacin
27e720b359 s/goto/go to/g. props demetris, fixes #13863.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-21 20:52:48 +00:00
nacin
f1a95d0b80 Capitalization and grammar changes in upgrade strings. fixes #13628.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-21 19:38:19 +00:00
nacin
e2e2320f9e Use correct function name. props briancolinger, fixes #14021 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-21 18:18:39 +00:00
nacin
a596163f6a Translate, don't echo. props SergeyBiryukov, fixes #14008 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-21 05:36:18 +00:00
dd32
fe89d62154 Fix typo in type_url_form_video() help text. Props mako09. Fixes #14003 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@15292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-20 04:13:57 +00:00
dd32
a7cabc4a3e Move plugin installer install_popular_tags() to use a site transient rather than its own caching logic. Fixes #13108
git-svn-id: http://svn.automattic.com/wordpress/trunk@15287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-19 07:28:27 +00:00
dd32
47f0da9c17 Close <img> spinner XHTML style. Props zeo. Fixes #13970
git-svn-id: http://svn.automattic.com/wordpress/trunk@15286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-19 07:05:23 +00:00
dd32
b01a02e06e Fix typos in r15278. Caused by fat fingers.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-19 05:48:30 +00:00
dd32
fc03d8c030 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: http://svn.automattic.com/wordpress/trunk@15278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-19 05:32:01 +00:00
nacin
eb4c72e7d9 Use add_query_arg() in menu_page_url(). fixes #13923.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-16 20:08:58 +00:00
markjaquith
e3d5fb602b Make the number of taxonomies to display per page setting actually stick. props nacin. fixes #13899
git-svn-id: http://svn.automattic.com/wordpress/trunk@15263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-15 20:07:02 +00:00
nacin
48bc4e220c Revert [15219], [15250], some of [15249] for 3.0, revisit in 3.0.1. see #13822.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-14 19:52:30 +00:00
ryan
c735965594 Differentiate between edit and new via an action field for the screen. Fix favorite_actions(). fixes #13876
git-svn-id: http://svn.automattic.com/wordpress/trunk@15253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-14 19:33:04 +00:00
nacin
cc00a60ce0 Add admin UI labels for menu items of unpublished posts. props koopersmith, fixes #13822. #stringchange
git-svn-id: http://svn.automattic.com/wordpress/trunk@15250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-14 08:40:52 +00:00
nacin
45ec93ad29 Don't use deprecated functions. props koopersmith, fixes #13854.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-13 06:20:51 +00:00
nacin
9986917471 Use correct variable in populate_network(). props wpmuguru, fixes #13859.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-12 05:16:21 +00:00
ryan
5ecd1f31f2 Trim trailing whitespace.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 20:19:35 +00:00
wpmuguru
faf9bd8483 add create site link to My Sites page, original patch props filosofo, fixes #13852
git-svn-id: http://svn.automattic.com/wordpress/trunk@15228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 17:18:17 +00:00
nacin
2eadcb9aef Fix warnings related to static pages. props zeo for initial patch. fixes #13830.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 17:04:06 +00:00
ryan
c614b6d0a2 Deprecate is_term, is_taxonomy, is_post_type for *_exists(). Props nacin. fixes #13747
git-svn-id: http://svn.automattic.com/wordpress/trunk@15220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 15:53:41 +00:00
wpmuguru
9eaf91db65 hide unpublished items on frontend nav menus, props filosofo, fixes #13822
git-svn-id: http://svn.automattic.com/wordpress/trunk@15219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 15:34:32 +00:00
nacin
975b2cdb6d Horizontal scrolling/resizing fixes for nav menu UI. Also some RTL fixes. props koopersmith, see #13525
git-svn-id: http://svn.automattic.com/wordpress/trunk@15214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 05:19:36 +00:00
nacin
8fcdf9a979 dbDelta needs all the comments it can get. Restore the one removed in [15210].
git-svn-id: http://svn.automattic.com/wordpress/trunk@15211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 03:03:17 +00:00
nacin
3c79510246 Reset variables back to empty arrays instead of unsetting them in dbDelta. prevents a warning. props mitchoyoshitaka, fixes #13715.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 03:01:51 +00:00
westi
3061e08ec6 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: http://svn.automattic.com/wordpress/trunk@15203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 21:38:41 +00:00
wpmuguru
54521415c2 alway update fileupload_url during initial network install, see #13828
git-svn-id: http://svn.automattic.com/wordpress/trunk@15202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 21:31:46 +00:00
nacin
528951c7ef Provide context for screen options plural labels. fixes #13369.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 20:56:14 +00:00
nacin
7420b784d5 Revert accidental commit. see [15199], see #13369
git-svn-id: http://svn.automattic.com/wordpress/trunk@15200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 20:48:04 +00:00
nacin
c7600ab27b Valid HTML for wp-signup. fixes #13369, props ocean90, snumb130.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 20:44:54 +00:00
nacin
e13e6254dc 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: http://svn.automattic.com/wordpress/trunk@15193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 17:57:30 +00:00
nacin
2010aac02c Don't show an error when the theme supports widgets but not menus. see #13825.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 17:37:15 +00:00
nacin
af612805e8 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: http://svn.automattic.com/wordpress/trunk@15190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 16:07:33 +00:00
ryan
02be42f58d Remove old hidden columns usermeta keys. fixes #13783
git-svn-id: http://svn.automattic.com/wordpress/trunk@15187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-10 14:41:51 +00:00
ryan
15e9538874 Pass taxonomy to post_tags_meta_box. Use add_new_item label. see #13805
git-svn-id: http://svn.automattic.com/wordpress/trunk@15183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-09 21:59:13 +00:00
westi
64f3e40880 Improve phpDoc for add_settings_section. Fixes #13801 props frankieroberto.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-09 20:21:43 +00:00
ryan
2439833a7e Set the screen for add-tag ajax requests. see #13783
git-svn-id: http://svn.automattic.com/wordpress/trunk@15178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-09 16:52:25 +00:00
ryan
1849b362b0 Make set_current_screen() taxonomy aware. Use current_screen when setting up table headers for edit-tags.php. see #13783
git-svn-id: http://svn.automattic.com/wordpress/trunk@15175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-08 15:34:42 +00:00
dd32
fe5e3d0fb6 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: http://svn.automattic.com/wordpress/trunk@15156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-07 11:19:51 +00:00
nacin
f60838c8f9 s/echos/echoes/ in phpdoc. props demetris, fixes #13742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-06 05:16:32 +00:00
nacin
3ba9fc235c More request_filesystem_credentials() string improvements.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-03 18:58:41 +00:00
ryan
17129fb62e Cut 'em out, move 'em on, trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@15116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-02 20:04:07 +00:00
nacin
c23dadb3a2 Clear nav menu from menu locations on delete. Additional sanity checks. fixes #13690.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-02 05:10:31 +00:00
nacin
80437ca9e1 Add missing spaces.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-01 21:57:26 +00:00
nacin
09c448f63e 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: http://svn.automattic.com/wordpress/trunk@15098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-01 20:35:59 +00:00
ryan
1f60247343 Add export capability. fixes #13681
git-svn-id: http://svn.automattic.com/wordpress/trunk@15096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-01 18:02:05 +00:00
dd32
b9eff36d8d Reinstate the custom chmod value in FtpExt. Accidentally removed in r12998. Props reaperhulk. Fixes #13667
git-svn-id: http://svn.automattic.com/wordpress/trunk@15086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-01 04:11:29 +00:00
markjaquith
18094087e1 Fix the Author links from Edit Pages screen. props duck_. fixes #13665
git-svn-id: http://svn.automattic.com/wordpress/trunk@15085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-01 00:26:49 +00:00
nacin
a57f8861e6 Move the Walker_Nav_Menu_Checklist class to admin/includes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-31 15:47:53 +00:00
markjaquith
100e81c448 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: http://svn.automattic.com/wordpress/trunk@15072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-31 06:33:46 +00:00
markjaquith
945b9b66be Default Google Gears ignoreQuery to true in manifest. see #13562
git-svn-id: http://svn.automattic.com/wordpress/trunk@15068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-30 08:45:50 +00:00
nacin
239e7bf50f Consistent font size for menu instructions.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-29 21:58:14 +00:00
nacin
37604414c4 Full no-JS and IE support for [15062]. fixes #13615.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-29 20:33:48 +00:00
wpmuguru
d69536a671 remove naughty not, see #13625
git-svn-id: http://svn.automattic.com/wordpress/trunk@15061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-29 19:10:49 +00:00
wpmuguru
e1a7369889 check both wordpress & wordpress-mu roots in update core, see #13625
git-svn-id: http://svn.automattic.com/wordpress/trunk@15059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-29 18:21:30 +00:00
ryan
ef70402de0 Bump WP version in update_core()
git-svn-id: http://svn.automattic.com/wordpress/trunk@15057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-29 17:28:09 +00:00
nacin
332c2773e0 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: http://svn.automattic.com/wordpress/trunk@15056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-29 16:46:46 +00:00
dd32
92eeafce24 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: http://svn.automattic.com/wordpress/trunk@15052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-29 13:16:35 +00:00
nacin
35d800986f Sanity check menu item parents and fix HTML issues. props filosofo, fixes #13600.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 23:04:00 +00:00
nacin
99a0a98061 Don't show (pending) in JS mode for nav menus UI. props filosofo, fixes #13604.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 20:41:39 +00:00
nacin
1a43aa80b8 Make nav menu meta box tab ordering consistent across post types and taxonomies. see #13525.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 20:36:57 +00:00
wpmuguru
e9a102d83a shake away out of date support files
git-svn-id: http://svn.automattic.com/wordpress/trunk@15041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 18:34:03 +00:00
ryan
2d10d9377a Do not show 'Network Activate' link if update fails. Props ocean90. fixes #13596
git-svn-id: http://svn.automattic.com/wordpress/trunk@15038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 16:42:09 +00:00
markjaquith
8cf0dd0eaa 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: http://svn.automattic.com/wordpress/trunk@15032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 15:49:13 +00:00
nacin
16f1b1c89a Shake away second copy of prototype.js during an upgrade. see [12557].
git-svn-id: http://svn.automattic.com/wordpress/trunk@15030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 05:54:57 +00:00
nacin
e332bd3b0d Shake away MU files which are no longer in core on an upgrade.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 05:48:53 +00:00
nacin
2e1dc4195c Fix nonce check for updating custom fields. fixes #13586.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 04:09:08 +00:00
nacin
43a718145f Use 'WordPress Blog' in the initial blogroll. see [14324].
git-svn-id: http://svn.automattic.com/wordpress/trunk@15027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 03:18:55 +00:00
ryan
5d5cb6e483 Allow plugin activation even if plugin generates extra output. Make warning more informative. fixes #13585
git-svn-id: http://svn.automattic.com/wordpress/trunk@15017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 00:18:00 +00:00
nacin
4b9021ce98 Menu touchups. see #13525.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 22:45:52 +00:00
nacin
15a1a43cd1 New pending menu item behavior. props filosofo, see #13579.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 22:22:09 +00:00
nacin
da16117198 Remove some dead code. props ocean90, see #13525.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 22:17:58 +00:00
wpmuguru
a6e1307576 add fileupload_url option to main site on network install, see #13483
git-svn-id: http://svn.automattic.com/wordpress/trunk@14998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 18:06:48 +00:00
nacin
5613e5fe93 RTL string fix. see #13525.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 14:14:58 +00:00
nbachiyski
8545387795 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: http://svn.automattic.com/wordpress/trunk@14987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 11:42:46 +00:00
dd32
de6abc0ee1 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: http://svn.automattic.com/wordpress/trunk@14985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 11:04:08 +00:00
dd32
f0c63decb0 Fully implement the 'delete_themes' capability. See also r13547
git-svn-id: http://svn.automattic.com/wordpress/trunk@14984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 09:49:38 +00:00
nacin
fee56ae40f gettext. see #13525.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 02:51:09 +00:00
nacin
7eedc2359d Implement the Cancel menu item link for no JS. props ocean90, see #13525.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 02:49:11 +00:00
nacin
da7b990fb5 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: http://svn.automattic.com/wordpress/trunk@14971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 02:24:33 +00:00
nacin
bdb28315de Call the 'Attributes' meta box 'Page Attributes' for pages. Add some help text. fixes #13539.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 00:16:34 +00:00