Commit Graph

15158 Commits

Author SHA1 Message Date
scribu fafdc943da Make filter_count() a closure. See #14936
git-svn-id: https://develop.svn.wordpress.org/trunk@16554 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 20:20:44 +00:00
scribu 9729c26b07 Ajaxify theme feature filter. Props ocean90 for initial patch. See #14936
git-svn-id: https://develop.svn.wordpress.org/trunk@16553 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 20:17:22 +00:00
scribu 81e04a887e Make get_file_data() regex even more precise. Props hakre. See #15193
git-svn-id: https://develop.svn.wordpress.org/trunk@16552 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 19:37:31 +00:00
Ryan Boren c37f65296a Make sure create_users is strippped from blog admins for multisite setups where add_new_users is not enabled. see #15357
git-svn-id: https://develop.svn.wordpress.org/trunk@16551 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 16:29:21 +00:00
Peter Westwood 33e3c14b11 And proper context too!
git-svn-id: https://develop.svn.wordpress.org/trunk@16550 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 13:50:23 +00:00
Peter Westwood 2be428108c Correct incorrect action name.
git-svn-id: https://develop.svn.wordpress.org/trunk@16549 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 13:41:57 +00:00
Peter Westwood ecdda2ce86 Require nonces for all the confirm links so we know they actually came from us.
Add a nonce check on the confirm links in the Network Admin stage two.


git-svn-id: https://develop.svn.wordpress.org/trunk@16548 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 12:14:03 +00:00
Peter Westwood ecf96562d6 Add a nonce check on the confirm links in the Network Admin stage one.
git-svn-id: https://develop.svn.wordpress.org/trunk@16547 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 12:10:01 +00:00
Peter Westwood 66a5b13074 Implement proper column show/hide behaviour based on screen options for the Network Admin Sites table column added for the wpmublogsaction hook.
git-svn-id: https://develop.svn.wordpress.org/trunk@16546 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 11:46:10 +00:00
Peter Westwood 40115d566d Implement proper column show/hide behaviour based on screen options for the Network Admin Sites table.
git-svn-id: https://develop.svn.wordpress.org/trunk@16545 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 11:39:50 +00:00
scribu 156dc90ffe Remove debug cruft from [16543]. See #14590
git-svn-id: https://develop.svn.wordpress.org/trunk@16544 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 00:49:23 +00:00
scribu 86da62e436 Minor cleanup in queried object setting logic. See #14590
git-svn-id: https://develop.svn.wordpress.org/trunk@16543 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 00:47:45 +00:00
Andrew Nacin cf21cf2a89 Cast term_id to int for queried_object_id. props wojtek.szkutnik, fixes #14590.
git-svn-id: https://develop.svn.wordpress.org/trunk@16542 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 00:32:19 +00:00
potbot c05b55b066 POT, generated from r16540
git-svn-id: https://develop.svn.wordpress.org/trunk@16541 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 00:22:47 +00:00
scribu 1d586a6a7f Remove vestige code from theme.js. See #14936
git-svn-id: https://develop.svn.wordpress.org/trunk@16540 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 00:06:15 +00:00
Andrew Nacin 612a6bda24 escape URL in wp_link_pages. fixes #14271.
git-svn-id: https://develop.svn.wordpress.org/trunk@16539 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-22 23:54:30 +00:00
scribu 0053f9b5e1 Prevent notice when checking for hierarchical tax rewrite. Props demetris. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16538 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-22 21:56:20 +00:00
scribu 40c993af3f Fix 'timeinfo' cache invalidation. Fixes #14922
git-svn-id: https://develop.svn.wordpress.org/trunk@16537 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-22 21:45:45 +00:00
scribu ef9b5fb1ec Document url_shorten() and use in more places. Props latz for initial patch. Fixes #15540
git-svn-id: https://develop.svn.wordpress.org/trunk@16536 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-22 17:17:31 +00:00
Andrew Nacin e8dd42ce2a Revert [15688], [15689], [15691]. Try again in 3.2. see #14966.
git-svn-id: https://develop.svn.wordpress.org/trunk@16535 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-22 17:17:26 +00:00
Andrew Nacin 4cfa4aaacf Add the audio post format, the final format we plan to support. see #14746.
git-svn-id: https://develop.svn.wordpress.org/trunk@16534 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-22 17:05:14 +00:00
Pete Mall 9605850c9a Use tools screen_icon for udpate-core. Props ocean90, fixes #15531.
git-svn-id: https://develop.svn.wordpress.org/trunk@16533 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-22 16:56:22 +00:00
Andrew Nacin fe3aa01f7b Yeah, about that comma... Fix internal linking for both IE6 and IE7. props koopersmith, fixes #15485.
git-svn-id: https://develop.svn.wordpress.org/trunk@16532 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-22 06:32:18 +00:00
scribu 6df13c0a90 Consider only IN tax queries when returning the queried object. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16531 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-22 05:14:47 +00:00
Pete Mall 250c2d591e Use first and last name in network admin users. Fixes #15528.
git-svn-id: https://develop.svn.wordpress.org/trunk@16530 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-22 04:31:31 +00:00
Ryan Boren 4cb1c0e3b3 Bump tinymce version. see #15532
git-svn-id: https://develop.svn.wordpress.org/trunk@16529 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-22 03:03:28 +00:00
Ryan Boren c49fb698d8 Bring link dialog to front when TinyMCE is fullscreen. Props koopersmith. see #15532
git-svn-id: https://develop.svn.wordpress.org/trunk@16528 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-22 02:48:58 +00:00
Ryan Boren d089000052 Notice fixes for user-new.php. Props wpdavis. see #15456
git-svn-id: https://develop.svn.wordpress.org/trunk@16527 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-21 16:56:08 +00:00
scribu eb6a65e501 Move s/ /+ out of WP_Query, so that 'category_name=Some Category' works again. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16526 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-21 16:33:05 +00:00
scribu 37842f40a2 Don't display search subtitle on themes page. Props ocean90. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16525 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-21 16:20:08 +00:00
Andrew Nacin dce66b369f Use correct name in script loader. see #14936.
git-svn-id: https://develop.svn.wordpress.org/trunk@16524 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-21 14:10:33 +00:00
scribu 3c7fb2fb3b Update get_tax_sql() docblock. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16523 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-21 14:09:01 +00:00
Andrew Nacin f82118f579 Add a simple filter to allow removing the recent comments default widget styles. fixes #15493, see #14876.
git-svn-id: https://develop.svn.wordpress.org/trunk@16522 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-21 13:55:11 +00:00
Andrew Nacin 9a53e46ff5 Revert [15994] for now, as the default widgets then go through an identity crisis. see #14876, #15493.
git-svn-id: https://develop.svn.wordpress.org/trunk@16521 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-21 13:48:35 +00:00
Andrew Nacin 6843c0fa3c Escape the wrap ID and class attributes going into sprintf() and s/slug/wrap_id/ to make it more obvious. see #14235.
git-svn-id: https://develop.svn.wordpress.org/trunk@16520 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-21 13:37:09 +00:00
Andrew Nacin 83e8f71361 Introduce items_wrap arg to wp_nav_menu(). props filosofo, fixes #14235.
git-svn-id: https://develop.svn.wordpress.org/trunk@16519 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-21 13:32:02 +00:00
Ryan Boren 55bd96bfeb Fixes for user-new.php. Props wpdavis. see #15456
git-svn-id: https://develop.svn.wordpress.org/trunk@16518 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 22:36:46 +00:00
scribu cb38e81d23 re-minify edit-comments.js. See #15504
git-svn-id: https://develop.svn.wordpress.org/trunk@16517 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 22:03:54 +00:00
scribu de5730ecd9 Use event delegation in edit-comments.js. Fixes #15504
git-svn-id: https://develop.svn.wordpress.org/trunk@16516 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 22:02:25 +00:00
scribu 6401205f36 Don't do any taxonomy stuff if is_singular. See #15487
git-svn-id: https://develop.svn.wordpress.org/trunk@16515 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 21:51:21 +00:00
Ryan Boren 3484e62eca Revert debug
git-svn-id: https://develop.svn.wordpress.org/trunk@16514 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 21:44:11 +00:00
Ryan Boren f3e3c03abe array_unique() category__in and category__not_in to eliminate dupes from multiple runs of parse_tax_query(). Fixes canonical redirects for cat, category__in, and category__not_in requests. see #12891 #15487
git-svn-id: https://develop.svn.wordpress.org/trunk@16513 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 21:43:19 +00:00
scribu a825250771 Fix logic for when excluding a non-existant term. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16512 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 21:28:50 +00:00
Ryan Boren 75453e5e2d If the queried term does not exist make sure no posts are returned in the query rather than falling through to querying all posts. Fixes 404s when querying cats that do not exist. see #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16511 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 21:10:20 +00:00
Andrew Nacin 3cf1723947 Use 'Update' and 'Save Link' for internal linking submit button. props koopersmith, see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16510 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 19:27:12 +00:00
Andrew Nacin bc868ac452 Indent a foreach.
git-svn-id: https://develop.svn.wordpress.org/trunk@16509 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 19:20:32 +00:00
Peter Westwood 358a4a3486 Ensure that we return post IDs as strings to honour API defintions. See #15517
git-svn-id: https://develop.svn.wordpress.org/trunk@16508 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 15:50:56 +00:00
scribu 306874cbb6 Don't need WP_MS_Users_List_Table constructor anymore. See [16501]
git-svn-id: https://develop.svn.wordpress.org/trunk@16507 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 14:03:49 +00:00
scribu 3e8a8c96cf Remove debug cruft from [16505]. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16506 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 13:48:24 +00:00
scribu 6020138317 Don't set post_type to 'any' for category and tag queries. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16505 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 13:39:07 +00:00