Commit Graph

14766 Commits

Author SHA1 Message Date
Ryan Boren 9b99bf5f5f Fix typo in [15544]
git-svn-id: https://develop.svn.wordpress.org/trunk@15545 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-27 16:53:26 +00:00
Nikolay Bachiyski 33cd9f11dd Make menus manipulation easier for plugin developers
* Add a wp_nav_menu_objects filter, which gets a sorted list of all menu node objects in the currently rendered menu
 * Add current, current_item_ancestor and current_item_parent boolean member variables to each menu node object, which are true when the item has the current-menu-item, current-menu-ancestor or current-menu-parent CSS class respectively


git-svn-id: https://develop.svn.wordpress.org/trunk@15544 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-27 16:13:39 +00:00
scribu 22640aa231 WP_User_Query constructor improvements. Props filosofo. Fixes #14709
git-svn-id: https://develop.svn.wordpress.org/trunk@15543 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-27 15:41:32 +00:00
scribu 33f73ce32f Deprecated get_editable_user_ids() altogether, along with similar, unused functions. See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@15542 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-27 01:07:21 +00:00
scribu a90bc8e1d4 Fix post_author_meta_box(). See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@15541 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-27 00:24:41 +00:00
scribu 0b1b005b66 Deprecate unused get_author_user_ids()and get_editable_authors(). See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@15540 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-27 00:22:29 +00:00
scribu 8993abd1be use get_users() in get_editable_user_ids() and cache result. See #14572
git-svn-id: https://develop.svn.wordpress.org/trunk@15539 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-27 00:18:57 +00:00
scribu 072ea8728b Fix weird wrapping of sorting arrow in Chrome. Fixes #14706
git-svn-id: https://develop.svn.wordpress.org/trunk@15538 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-26 22:11:04 +00:00
Ryan Boren b03d626909 Remove WP_USE_MULTIPLE_DB. Introduce init_charset() and set_charset(). fixes #14672
git-svn-id: https://develop.svn.wordpress.org/trunk@15537 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-26 18:34:18 +00:00
Mark Jaquith ae2f607f53 Leonard Lin was kind enough to relicense his balanceTags() function as "GPL (any version)" instead of "GPL v2.0." http://github.com/lhl/balanceTags/blob/master/README
git-svn-id: https://develop.svn.wordpress.org/trunk@15536 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-26 15:43:32 +00:00
scribu f4f1ee91ac use unaltered in the get_list_table_* filter
git-svn-id: https://develop.svn.wordpress.org/trunk@15535 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-26 11:02:51 +00:00
Mark Jaquith c7e189fd06 We cannot say that WordPress as a whole is GPLv2 (i.e. "GPLv2 only"). Go back to saying just "GPL." Reverts [13516] for trunk. props hakre.
git-svn-id: https://develop.svn.wordpress.org/trunk@15533 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-26 00:48:10 +00:00
Nikolay Bachiyski 4f540111ff Set IE6 incompatible CSS rule in a different selector, because it causes all headings to be set in Georgia instead of Helvetica & co. Fixes #14688. Props iammattthomas
git-svn-id: https://develop.svn.wordpress.org/trunk@15532 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-25 19:12:01 +00:00
Ryan Boren a4ce5b114b is_* WP_Query methods. Props mdawaffe. fixes #14494
git-svn-id: https://develop.svn.wordpress.org/trunk@15531 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-25 18:05:33 +00:00
scribu 4b4c95799a Rename admin-table.js to list-table.js
git-svn-id: https://develop.svn.wordpress.org/trunk@15530 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-25 01:59:13 +00:00
Mark Jaquith 7ca45897b9 This readme sentence is talking about the license, not the copyright.
git-svn-id: https://develop.svn.wordpress.org/trunk@15529 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-25 01:58:55 +00:00
scribu 76ac1c93a8 Introduce get_list_table(). See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15528 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-25 00:51:44 +00:00
scribu c521615314 On the plugins page, set and at the right time. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15527 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-24 19:50:55 +00:00
scribu b14febd290 munge admin-table.js & minify jquery.query
git-svn-id: https://develop.svn.wordpress.org/trunk@15526 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-23 21:44:25 +00:00
scribu 13122b9048 Fix Recently Active plugins screen. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15525 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-23 21:31:42 +00:00
scribu 13cf1eda37 Use global_terms_enabled() instead of is_multisite() for term quick-editing
git-svn-id: https://develop.svn.wordpress.org/trunk@15524 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-23 18:56:39 +00:00
Nikolay Bachiyski 942196b9c0 Fix typo
There were multiple to-s


git-svn-id: https://develop.svn.wordpress.org/trunk@15523 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-23 18:55:26 +00:00
Nikolay Bachiyski f80fb8883a I18n fixes
Do not leave more than %s in a translatable string and add a comment for translators what each placeholder means


git-svn-id: https://develop.svn.wordpress.org/trunk@15522 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-23 18:53:38 +00:00
Ryan Boren 2ad9bf2abe Some escaping
git-svn-id: https://develop.svn.wordpress.org/trunk@15521 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-23 13:25:51 +00:00
Andrew Nacin 11c84be979 Check for header image before showing it, in Twenty Ten. props koopersmith, see #14486 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15520 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-23 05:58:55 +00:00
scribu 1c4aeef40e replace $table with $wp_list_table. See #14651
git-svn-id: https://develop.svn.wordpress.org/trunk@15519 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-22 11:22:46 +00:00
scribu b96c92620d use is_a() instead of is_object() in screen_meta(). See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15518 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-22 01:50:34 +00:00
scribu e848b8b815 Make deprecated functions work. See #14651
git-svn-id: https://develop.svn.wordpress.org/trunk@15517 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-21 18:08:42 +00:00
scribu a2a3bd31cb Remove dead code from WP_List_Table::print_column_headers()
git-svn-id: https://develop.svn.wordpress.org/trunk@15516 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-21 16:56:24 +00:00
scribu 83d019c1d9 Move list table deprecated functions to wp-admin/includes/deprecated.php
git-svn-id: https://develop.svn.wordpress.org/trunk@15515 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-21 16:33:56 +00:00
scribu 7bbfb4b5f1 Deprecate get_hidden_columns(). Fixes #14651
git-svn-id: https://develop.svn.wordpress.org/trunk@15514 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-21 16:30:18 +00:00
scribu 36d2fff18d Fix the comment type dropdown. Fixes #14637
git-svn-id: https://develop.svn.wordpress.org/trunk@15513 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-20 11:43:32 +00:00
scribu 316ce57342 Add the floated_admin_avatar filter from WP_Comments_Table. See #14637
git-svn-id: https://develop.svn.wordpress.org/trunk@15512 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-20 11:18:41 +00:00
scribu c016d150ef Show dropdowns filter even when JS is disabled. Props blepoxp. Fixes #14150
git-svn-id: https://develop.svn.wordpress.org/trunk@15511 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-19 20:10:28 +00:00
scribu b8eb1b6863 Add register_column_headers() and print_column_headers() to deprecated.php to prevent fatal errors in plugins. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15510 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-19 00:26:48 +00:00
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 9685e25bad refactor admin-table.js code
git-svn-id: https://develop.svn.wordpress.org/trunk@15507 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-18 21:02:24 +00:00
scribu dff48c8597 Temporary fix for #14637
git-svn-id: https://develop.svn.wordpress.org/trunk@15506 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-18 16:58:55 +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
Mark Jaquith ad944bb822 Do not attempt to clear post cache for post ID 0... that will recursively destroy your server
git-svn-id: https://develop.svn.wordpress.org/trunk@15503 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-18 06:50:53 +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 aa7117dfe5 Round th corners. Based on patch by wedsxcrfv. Fixes #14613
git-svn-id: https://develop.svn.wordpress.org/trunk@15498 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-15 11:02:31 +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 d570886128 Fix ajaxification in network area by using ajaxurl. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15495 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-12 00:45:40 +00:00