Commit Graph

7838 Commits

Author SHA1 Message Date
scribu a2387d8907 Proper check for tax query, which will never be empty, due to 'relation'. See #15752
git-svn-id: https://develop.svn.wordpress.org/trunk@16844 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 17:09:42 +00:00
scribu a5cb537970 Set tax query defaults earlier, for notice prevention and convenience. See #15752
git-svn-id: https://develop.svn.wordpress.org/trunk@16843 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 17:05:40 +00:00
Pete Mall df562b62f4 Kill blog specific menus from admin-bar in net admin. Fixes #15754
git-svn-id: https://develop.svn.wordpress.org/trunk@16842 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 16:55:09 +00:00
Andrew Nacin 8aa42566e8 Remove the snack bar from core. Will become a plugin. Lay down the red.
git-svn-id: https://develop.svn.wordpress.org/trunk@16840 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 16:29:08 +00:00
Andrew Nacin b4d1885aee Remove the snack bar from core. Will become a plugin. Lay down the red.
git-svn-id: https://develop.svn.wordpress.org/trunk@16839 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 16:27:53 +00:00
Andrew Nacin abd3871510 Use correct query var. see #15378.
git-svn-id: https://develop.svn.wordpress.org/trunk@16837 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 14:23:54 +00:00
Andrew Nacin f384fe3e81 _get_post_ancestors() in Walker_Page. props layotte, fixes #14329.
git-svn-id: https://develop.svn.wordpress.org/trunk@16834 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 12:38:23 +00:00
scribu 005b2e5be1 Make get_term_by() use sanitize_title_for_query() too. See #9591
git-svn-id: https://develop.svn.wordpress.org/trunk@16832 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 10:05:19 +00:00
scribu d56cc33340 Clarify is_single() inline doc. Fixes #14034
git-svn-id: https://develop.svn.wordpress.org/trunk@16830 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 05:27:37 +00:00
scribu b8fdaa2dff Correct get_file_data() inline doc. Fixes #14071
git-svn-id: https://develop.svn.wordpress.org/trunk@16828 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-09 03:30:23 +00:00
Andrew Nacin 6fcde6c9fe Remove post_type_supports check from register_post_type caps all together. fixes #14122.
git-svn-id: https://develop.svn.wordpress.org/trunk@16825 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 22:07:29 +00:00
Mark Jaquith daadad84a6 Work around some unset variable notices in xmlrpc.php. props redsweater. props sorich87. fixes #10665
git-svn-id: https://develop.svn.wordpress.org/trunk@16824 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 22:00:40 +00:00
Ryan Boren 00356f8e4a Use santize_key() in more places. Props WraithKenny. fixes #14910
git-svn-id: https://develop.svn.wordpress.org/trunk@16822 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 21:32:19 +00:00
Andrew Nacin 396b57920f Include the username in the incorrect password message, for clarity. fixes #14575.
git-svn-id: https://develop.svn.wordpress.org/trunk@16821 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 21:25:52 +00:00
Mark Jaquith b105838594 Do not store empty _wp_old_slug values. fixes #15736
git-svn-id: https://develop.svn.wordpress.org/trunk@16820 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 21:22:16 +00:00
Mark Jaquith 956b191c60 Use is_page_type_hierarchical(). props nacin. see #15140
git-svn-id: https://develop.svn.wordpress.org/trunk@16819 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 21:17:01 +00:00
Mark Jaquith 08671532d3 Do not do slug logging/redirects for hierarchical post types. see #15140
git-svn-id: https://develop.svn.wordpress.org/trunk@16818 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 21:10:38 +00:00
Andrew Nacin 8338c78133 Fix closing admin menu animation. props filosofo, fixes #15615.
git-svn-id: https://develop.svn.wordpress.org/trunk@16813 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 19:51:22 +00:00
Andrew Nacin 15186d7ef1 Better reset for ul and li in the admin bar. props duck_, fixes #15727.
git-svn-id: https://develop.svn.wordpress.org/trunk@16811 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 19:39:49 +00:00
Andrew Nacin ad590a37d3 Define all margins for the admin bar input. props chrisbliss18, fixes #15216.
git-svn-id: https://develop.svn.wordpress.org/trunk@16810 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 19:38:27 +00:00
Andrew Nacin 86df54f82a s/method_exists/is_callable/. props hakre, fixes #14933.
git-svn-id: https://develop.svn.wordpress.org/trunk@16809 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 19:27:49 +00:00
Ryan Boren 7cefd23188 Remove stripslashes(). No longer needed. Props RogerTheriault. fixes #12560
git-svn-id: https://develop.svn.wordpress.org/trunk@16808 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 19:25:18 +00:00
Peter Westwood dd8cff8381 Correct the logic as there is no publish_post cap.
git-svn-id: https://develop.svn.wordpress.org/trunk@16802 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 17:07:55 +00:00
Peter Westwood 10244cc066 Check for extra caps here too.
git-svn-id: https://develop.svn.wordpress.org/trunk@16801 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 16:52:08 +00:00
Peter Westwood b616351b4a Correct some more cap checks to use the correct caps.
git-svn-id: https://develop.svn.wordpress.org/trunk@16800 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 16:18:42 +00:00
Peter Westwood 5e198c07bf Condense the logic. Props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@16799 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 15:59:56 +00:00
Peter Westwood 4ba3238bb5 Ensure that we always check the right cap when posts are added or edited.
git-svn-id: https://develop.svn.wordpress.org/trunk@16798 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 15:31:17 +00:00
Dion Hulse 5c50656b6a Enable canonical redirections for Permalink suporting IIS. Props peaceablewhale See #10187
git-svn-id: https://develop.svn.wordpress.org/trunk@16797 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 11:04:40 +00:00
Andrew Nacin de04f2de14 Close a quote. see #15308.
git-svn-id: https://develop.svn.wordpress.org/trunk@16795 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 09:49:56 +00:00
scribu 8c86414798 Revert logic change made in [16789]. See #13818
git-svn-id: https://develop.svn.wordpress.org/trunk@16793 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 09:15:09 +00:00
scribu cae6e8d4ef Set queried object on CPT archives. Fixes #15730
git-svn-id: https://develop.svn.wordpress.org/trunk@16792 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 08:57:38 +00:00
Andrew Nacin d5717c050c Admin bar styling improvements.
* Ensure there isn't a text shadow for update and comment counts.
 * Hide zero count of pending comments via PHP, not CSS.
 * Show the update title attribute across the entire menu item, props demetris.
 * Let the CSS breathe a little.


git-svn-id: https://develop.svn.wordpress.org/trunk@16791 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 08:50:24 +00:00
Andrew Nacin 45cb3321c0 Don't show blurry text shadow in the admin bar count. props demetris, fixes #15308.
git-svn-id: https://develop.svn.wordpress.org/trunk@16790 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 08:28:15 +00:00
scribu 8f4416b53b Use has_archive in get_post_type_archive_link(). See #13818
git-svn-id: https://develop.svn.wordpress.org/trunk@16789 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 07:51:40 +00:00
Andrew Nacin 24b60aee0d Don't improperly whitescreen on incorrect DB credentials during setup-config. Show error message with an opportunity to try again. fixes #15682.
git-svn-id: https://develop.svn.wordpress.org/trunk@16788 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 07:12:44 +00:00
Andrew Nacin b613ab037c Use pagination base for CPT archives. props scribu, fixes #15728.
git-svn-id: https://develop.svn.wordpress.org/trunk@16787 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 07:02:52 +00:00
Andrew Nacin e6dbc84741 Initialize this variable.
git-svn-id: https://develop.svn.wordpress.org/trunk@16785 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 01:03:12 +00:00
Andrew Nacin 668956d2ff Handle posts without titles better in internal linking. see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16784 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 00:22:43 +00:00
Ryan Boren 3bfa8b9e10 Don't show Suspend/Unsuspend links for the main site on the admin bar. Props ocean90. fixes #15669
git-svn-id: https://develop.svn.wordpress.org/trunk@16781 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 23:11:19 +00:00
Andrew Nacin 708aa37730 Initialize a variable. props kapeels for initial patch. fixes #15703.
git-svn-id: https://develop.svn.wordpress.org/trunk@16770 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 18:55:13 +00:00
Ryan Boren d150dcd964 Pass NULL as second arg to wp_upload_bits() to avoid deprecated warning. Props koke. fixes #15698
git-svn-id: https://develop.svn.wordpress.org/trunk@16769 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 18:32:07 +00:00
Ryan Boren fcfb406c7c Apply wp_get_attachment_url to empty urls. Props filosofo. fixes #15494
git-svn-id: https://develop.svn.wordpress.org/trunk@16768 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 18:16:21 +00:00
Andrew Nacin af3222dc7e We only need strpos here. Ensures PHP4 compat. props mailnew2ster, fixes #14187.
git-svn-id: https://develop.svn.wordpress.org/trunk@16762 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-07 07:17:06 +00:00
Andrew Nacin 108e48f206 Remove unnecessary space. props demetris, JohnPBloch. fixes #12797.
git-svn-id: https://develop.svn.wordpress.org/trunk@16760 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 22:56:47 +00:00
Ryan Boren ac42794bb0 Add jquery-ui-sortable dependency to nav-menu. fixes #15622
git-svn-id: https://develop.svn.wordpress.org/trunk@16752 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 16:57:09 +00:00
Andrew Nacin fb0fc6c1f6 This should be a string. fixes #15704.
git-svn-id: https://develop.svn.wordpress.org/trunk@16751 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 16:32:25 +00:00
Andrew Nacin e6dbe89d7d Fix handling of no titles and long titles in internal linking. see #11240.
git-svn-id: https://develop.svn.wordpress.org/trunk@16750 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 16:28:06 +00:00
scribu 6d54bcfe06 Pass $args to login_form_* filters. Props aaroncampbell. Fixes #15702
git-svn-id: https://develop.svn.wordpress.org/trunk@16749 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 16:24:05 +00:00
Andrew Nacin 8abcb8e5ce Link to network/update-core when running multisite. Remove theme/plugin editors from blog menu when running multisite. Redirect to network/* when accessing theme/plugin-install/editor. props ocean90, see #15525.
git-svn-id: https://develop.svn.wordpress.org/trunk@16747 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 15:41:19 +00:00
Andrew Nacin 2c44ffcc57 Restore bottom padding in plugin rows. fixes #15547.
git-svn-id: https://develop.svn.wordpress.org/trunk@16745 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 15:15:09 +00:00
Andrew Nacin 0d3c811371 Flush these left.
git-svn-id: https://develop.svn.wordpress.org/trunk@16743 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 04:51:52 +00:00
Mark Jaquith f2702dd794 Highlight home page Custom Nav Menu item even when extra query args are present in the URL (only if all other highlights fail). props filosofo. fixes #13994
git-svn-id: https://develop.svn.wordpress.org/trunk@16742 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 03:54:57 +00:00
Mark Jaquith 67ca818f87 Fix up the PHPdoc for get_file_data(). props hakre. fixes #14071
git-svn-id: https://develop.svn.wordpress.org/trunk@16741 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 03:44:36 +00:00
Mark Jaquith 4ff9b0520b Pass post ID to embed_oembed_html filter to avoid global variable incantations. props filosofo. fixes #15491
git-svn-id: https://develop.svn.wordpress.org/trunk@16740 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 03:38:27 +00:00
Mark Jaquith 7d9fa8c5f7 Remove some unused CSS. props ocean90. fixes #15696
git-svn-id: https://develop.svn.wordpress.org/trunk@16739 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 03:37:03 +00:00
Mark Jaquith 846861441b Get rid of niggling hardcoded blogs.dir path. props scribu. fixes #15383
git-svn-id: https://develop.svn.wordpress.org/trunk@16738 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 03:35:33 +00:00
Andrew Nacin 3378402497 Please test beta one / More fixes are on the way / Beta two next up
git-svn-id: https://develop.svn.wordpress.org/trunk@16732 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-05 05:06:14 +00:00
Andrew Nacin 63b4617b98 Check that ancestors are not the currently queried objects in nav menu classes. props filosofo, fixes #14518.
git-svn-id: https://develop.svn.wordpress.org/trunk@16731 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-05 04:29:56 +00:00
Andrew Nacin 250e2876de Unescape ampersands before making an oEmbed request. props Viper007Bond, fixes #14514, see #11311.
git-svn-id: https://develop.svn.wordpress.org/trunk@16728 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-05 02:23:17 +00:00
Mark Jaquith 1baaa6ea75 We know approximately how tall the QuickPress box will be. Let's reduce the amount of UI twitchiness as it async loads!
git-svn-id: https://develop.svn.wordpress.org/trunk@16725 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-04 23:31:01 +00:00
Andrew Nacin 37f5e2a8ed Things that go bump in the night
git-svn-id: https://develop.svn.wordpress.org/trunk@16723 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-04 11:13:47 +00:00
Peter Westwood 4703432f8b Revert [16719] until it has has UI review. See #15580
git-svn-id: https://develop.svn.wordpress.org/trunk@16722 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-04 11:01:23 +00:00
Andrew Nacin 3a9829f9f1 Introduce remove_editor_styles(). fixes #14903.
git-svn-id: https://develop.svn.wordpress.org/trunk@16721 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-04 10:09:00 +00:00
Andrew Nacin 136f212baa Introduce remove_custom_background(). see #14903.
git-svn-id: https://develop.svn.wordpress.org/trunk@16720 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-04 09:59:35 +00:00
scribu c0750fba7f Use large spinner instead of 'Loading...' text. Props batmoo. See #15580
git-svn-id: https://develop.svn.wordpress.org/trunk@16719 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-04 09:01:23 +00:00
Andrew Nacin 7315e464cd Don't use orange as an on state. Also, restore zero margin on the filename header. fixes #15672.
git-svn-id: https://develop.svn.wordpress.org/trunk@16716 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-04 04:18:27 +00:00
Andrew Nacin c8fc17767f Don't even show parent theme files when viewing the child theme. see #15672.
git-svn-id: https://develop.svn.wordpress.org/trunk@16714 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-04 03:52:59 +00:00
Andrew Nacin 368926d657 Make sure get_themes() returns the proper template and stylesheet directory paths. Use the correct variables. fixes #15671.
git-svn-id: https://develop.svn.wordpress.org/trunk@16711 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-03 22:53:01 +00:00
Andrew Nacin 96e0e3b82f Post format indexes. First pass. see #15378.
git-svn-id: https://develop.svn.wordpress.org/trunk@16705 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-03 10:13:17 +00:00
Peter Westwood 143c92e3ad Revert [16649] - The core output on this is for logged out users only - need to rework this if we want to move the output. See #14510
git-svn-id: https://develop.svn.wordpress.org/trunk@16704 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-03 09:44:17 +00:00
Andrew Nacin 872372d68c s/occured/occurred/. props aldenta, fixes #15653.
git-svn-id: https://develop.svn.wordpress.org/trunk@16699 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 23:30:21 +00:00
Andrew Nacin 6352189dd5 Remove sticky arg from post support. props michaelh, see #12702.
git-svn-id: https://develop.svn.wordpress.org/trunk@16698 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 23:16:04 +00:00
Mark Jaquith 74a8e25463 Fix typo in PHPdoc. props PeteMall.
git-svn-id: https://develop.svn.wordpress.org/trunk@16697 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 22:56:55 +00:00
Mark Jaquith 13ed00f2d4 Standardize around "Update" instead of "Upgrade." props RanYanivHartstein. props latz. fixes #14107
git-svn-id: https://develop.svn.wordpress.org/trunk@16696 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 21:45:47 +00:00
Mark Jaquith 3da39609e4 Add class to Tag Cloud widget div. props djzone. fixes #12602
git-svn-id: https://develop.svn.wordpress.org/trunk@16694 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 21:28:17 +00:00
Mark Jaquith f842407e05 Another s/default/standard/. see #15582
git-svn-id: https://develop.svn.wordpress.org/trunk@16693 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 21:24:41 +00:00
Peter Westwood a7dbb545d9 Revert [16279] - the recursive nature of this regex doesn't play well with stack space. See #14993
git-svn-id: https://develop.svn.wordpress.org/trunk@16692 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 17:26:06 +00:00
Peter Westwood b0b22ceb97 Clean the cache when deleting a term. Fixes #15651
git-svn-id: https://develop.svn.wordpress.org/trunk@16691 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 17:10:02 +00:00
scribu 063f1b5680 Add note about wp_next_scheduled() in wp_schedule_event(). See #14668
git-svn-id: https://develop.svn.wordpress.org/trunk@16690 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 16:27:16 +00:00
Peter Westwood b97545150c Restore the fix with to the Create New User form fields. Fixes #15642.
git-svn-id: https://develop.svn.wordpress.org/trunk@16686 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 09:55:13 +00:00
Mark Jaquith 2c2a407227 Argh. Missed another s/default/standard/ in [16679]. Any others? see #15582.
git-svn-id: https://develop.svn.wordpress.org/trunk@16683 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 04:38:42 +00:00
Mark Jaquith 4b8e7b1c5b Missed a s/default/standard/ in [16679]. props PeteMall. see #15582.
git-svn-id: https://develop.svn.wordpress.org/trunk@16682 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 04:36:00 +00:00
Mark Jaquith d9ae425dc2 Make sure media upload thickbox takes admin bar height into account. props ocean90. fixes #15635
git-svn-id: https://develop.svn.wordpress.org/trunk@16681 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 04:20:48 +00:00
Mark Jaquith c821bc7ca2 The name of the standard post format is now Standard (might offer ability to change Default). fixes #15582
git-svn-id: https://develop.svn.wordpress.org/trunk@16679 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 03:19:14 +00:00
Mark Jaquith 86ab422fcc Move Post Format UI out of Publish meta box and into its own box. see #15638
git-svn-id: https://develop.svn.wordpress.org/trunk@16678 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 02:42:38 +00:00
Andrew Nacin 6297b3184b Return true if not is_admin. Tidy. see #14903.
git-svn-id: https://develop.svn.wordpress.org/trunk@16677 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 00:50:23 +00:00
Andrew Nacin 8ca2300955 Introduce remove_custom_image_header(). see #14903.
git-svn-id: https://develop.svn.wordpress.org/trunk@16674 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 00:16:35 +00:00
Ryan Boren 14a1be89f6 Deprecate and ignore the refresh arg. fixes #15605
git-svn-id: https://develop.svn.wordpress.org/trunk@16673 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 22:12:09 +00:00
Mark Jaquith e2c06eeea4 Prevent double Thickbox caption line for Dashboard QuickPress uploads. props ocean90. fixes #15169
git-svn-id: https://develop.svn.wordpress.org/trunk@16671 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 20:48:52 +00:00
Mark Jaquith c9690cf60b Throw WP_Error if post_type passed to register_post_type() is longer than schema allows. props phrostypoison. fixes #13709
git-svn-id: https://develop.svn.wordpress.org/trunk@16670 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 20:43:39 +00:00
scribu c6d9ed1f35 Remove archaic reference return in get_children(). Props filosofo. Fixes #12372
git-svn-id: https://develop.svn.wordpress.org/trunk@16667 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 20:23:57 +00:00
scribu e41d9bc392 Get rid of misplaced 'taxonomy_template' filter. Fixes #14740
git-svn-id: https://develop.svn.wordpress.org/trunk@16665 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 20:16:24 +00:00
Ryan Boren eca1669428 Hide Extra-Long admin bar text. Props filosofo. fixes #15412
git-svn-id: https://develop.svn.wordpress.org/trunk@16664 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 20:14:52 +00:00
Ryan Boren a7d80782f2 Prevent default post formats from entering the DB. see #15629 #15582
git-svn-id: https://develop.svn.wordpress.org/trunk@16662 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 20:03:39 +00:00
Ryan Boren 36a4508140 Update since phpdoc. Props demetris. fixes #15445
git-svn-id: https://develop.svn.wordpress.org/trunk@16660 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 19:24:38 +00:00
scribu b500152585 Make image edit labels more concise. Props lloydbudd. Fixes #13613
git-svn-id: https://develop.svn.wordpress.org/trunk@16656 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 18:40:15 +00:00
Ryan Boren 51879abf56 Export filtering. Props duck_. fixes #15197
git-svn-id: https://develop.svn.wordpress.org/trunk@16652 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 17:21:58 +00:00
Ryan Boren c8c8bf146d Fix comment_notes_before. Props mrmist. fixes #14510
git-svn-id: https://develop.svn.wordpress.org/trunk@16649 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 16:52:32 +00:00
Ryan Boren 6467859a01 Fix bulk comment keyboard shortcuts. Props duck_. fixes #15571
git-svn-id: https://develop.svn.wordpress.org/trunk@16648 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 16:51:31 +00:00
scribu d04665df0e Validate pagination input. Props batmoo. See #15580
git-svn-id: https://develop.svn.wordpress.org/trunk@16644 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 06:02:19 +00:00
Mark Jaquith 4ba9c5d14a Use prepare() instead of addslashes(). props wpmuguru.
git-svn-id: https://develop.svn.wordpress.org/trunk@16643 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 01:51:32 +00:00
Andrew Nacin b811b5ba7c Bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@16642 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-30 23:38:22 +00:00
Mark Jaquith 0488b9cbf4 Drop pingback/trackback blogroll whitelisting feature. Too many ways to abuse it. props avereha. props vladimir_kolesnikov. fixes #13887 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@16637 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-30 22:46:35 +00:00
Ryan Boren f03bfe223f Add bump down for menu bar. Allow themes to add a custom bump callback. Props ocean90. fixes #15592
git-svn-id: https://develop.svn.wordpress.org/trunk@16636 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-30 21:50:57 +00:00
Pete Mall 86bc8c04a2 Address redirection loop with multiple networks and network admin. Props mwidmann, fixes #15591
git-svn-id: https://develop.svn.wordpress.org/trunk@16633 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-30 20:45:40 +00:00
Ryan Boren af32327ae0 Prepare properly. Props Vladimir Kolesnikov.
git-svn-id: https://develop.svn.wordpress.org/trunk@16624 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-30 20:04:11 +00:00
scribu 907353550e Get rid of in favor of . Fixes #15607. See #15580
git-svn-id: https://develop.svn.wordpress.org/trunk@16617 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 20:15:04 +00:00
scribu d04ab8e50b Update URL when performing ajaxified action. See #15580
git-svn-id: https://develop.svn.wordpress.org/trunk@16615 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 18:57:33 +00:00
Nikolay Bachiyski 3a01f911cd comments_number() doesn't need to call get_the_ID(), because get_comments_number() does it if post ID is missing
git-svn-id: https://develop.svn.wordpress.org/trunk@16613 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 17:34:43 +00:00
Nikolay Bachiyski a643a8f79d Add New string fixes. Fixes #15577
git-svn-id: https://develop.svn.wordpress.org/trunk@16612 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 16:54:06 +00:00
Ryan Boren a2cb5307c8 Default Add New menu link to first post type in list. Avoids empty href issues. see #15308
git-svn-id: https://develop.svn.wordpress.org/trunk@16610 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 16:16:29 +00:00
Ryan Boren a9042cad2d Admin Bar: Don't show Manage Comments and Add Post link if the user doesn't has the cap for it. Props ocean90. fixes #15597
git-svn-id: https://develop.svn.wordpress.org/trunk@16609 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 16:07:32 +00:00
Peter Westwood d36b682a59 Make the list of actions that can be performed on a site in the User List in Network admin filterable.
Add classes for all core site status types to the view url.
Move the CSS to a css file rather than including it inline.
See #15558

git-svn-id: https://develop.svn.wordpress.org/trunk@16607 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 13:31:42 +00:00
Andrew Nacin 2dacdd481d Use get_user_count() if multisite in wp_version_check. props PeteMall, fixes #15599.
git-svn-id: https://develop.svn.wordpress.org/trunk@16604 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 05:27:01 +00:00
Andrew Nacin 9e9f0bf3d6 Kill check_server_timer(). fixes #15602.
git-svn-id: https://develop.svn.wordpress.org/trunk@16603 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 05:16:24 +00:00
scribu 5c78a0ff01 Make bottom admin pagination scroll to the top after rows are updated. See #15580
git-svn-id: https://develop.svn.wordpress.org/trunk@16602 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-28 19:05:12 +00:00
Ryan Boren 82d6b81907 Remove wp_admin_body_style(). Props ocean90. fixes #15507
git-svn-id: https://develop.svn.wordpress.org/trunk@16600 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-26 22:05:54 +00:00
Ryan Boren fcb29ae39f Admin bar phpdoc update. Props filosofo. fixes #15418
git-svn-id: https://develop.svn.wordpress.org/trunk@16599 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-26 21:51:12 +00:00
Ryan Boren 563b9e04cc Super admin menu hover fix. Props filosofo. fixes #15524
git-svn-id: https://develop.svn.wordpress.org/trunk@16598 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-26 21:47:28 +00:00
Ryan Boren 44cb0591a1 Revert [16359]. Deal with it in 3.2. see #15361
git-svn-id: https://develop.svn.wordpress.org/trunk@16597 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-26 21:38:38 +00:00
Ryan Boren 8bf835d944 Meta data caching improvements. Props mdawaffe. see #15545
git-svn-id: https://develop.svn.wordpress.org/trunk@16596 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-26 21:35:26 +00:00
Nikolay Bachiyski 672c3a90f9 Add context to Add New admin bar menu label -- we have many other Add New
git-svn-id: https://develop.svn.wordpress.org/trunk@16595 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-26 11:16:23 +00:00
scribu 507547af83 Make date columns first sort in descending order. See #15580
git-svn-id: https://develop.svn.wordpress.org/trunk@16593 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-26 02:03:02 +00:00
Andrew Nacin 5f7806cef1 Post beta bump for tonight's build.
git-svn-id: https://develop.svn.wordpress.org/trunk@16590 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-25 19:02:06 +00:00
Peter Westwood be2d32818b Things go bump in the night.
git-svn-id: https://develop.svn.wordpress.org/trunk@16587 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-25 16:16:12 +00:00
scribu 756645d701 Minor code beautification. Props hakre. Fixes #15569
git-svn-id: https://develop.svn.wordpress.org/trunk@16581 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-25 02:14:33 +00:00
Mark Jaquith 0c15540407 Cast to array, to avoid notices. props hakre. fixes #14997
git-svn-id: https://develop.svn.wordpress.org/trunk@16576 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 20:34:22 +00:00
Mark Jaquith 7647480a17 Revert [15829] for now, consider better solution for 3.2. see #13550
git-svn-id: https://develop.svn.wordpress.org/trunk@16575 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 20:25:26 +00:00
Peter Westwood ba24fb82b1 Cast to string so we return the correct datatype. See #15517 props barry.
git-svn-id: https://develop.svn.wordpress.org/trunk@16572 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 17:51:39 +00:00
Ryan Boren 6d0c4e56b1 Bump tinymce gz. see #15544
git-svn-id: https://develop.svn.wordpress.org/trunk@16567 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 15:34:19 +00:00
Peter Westwood 0da69e3b32 Let SimplePie do more of the date handling for us. Props rmccue.
git-svn-id: https://develop.svn.wordpress.org/trunk@16566 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 11:53:12 +00:00
scribu a221abd2ac Correct cache invalidation in update_usermeta() and delete_usermeta(). Props mdawaffe. Fixes #15559
git-svn-id: https://develop.svn.wordpress.org/trunk@16562 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 06:47:52 +00:00
Mark Jaquith 2cc12c224e Make Linking and Internal Linking keyboard-friendly and URL-paste-friendly. props koopersmith. fixes #15544
git-svn-id: https://develop.svn.wordpress.org/trunk@16561 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 06:44:46 +00:00
Ryan Boren af8f9bf98d Load network plugins for wp-activate.php. Restore MU load order. Props blamenacin. fixes #14718
git-svn-id: https://develop.svn.wordpress.org/trunk@16558 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 00:19:38 +00:00
scribu 4fd10f33f0 Introduce 'relation' operator between tax queries. Props Otto42 for initial patch. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16555 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 20:22:27 +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
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
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
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
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
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
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
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 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 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
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 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
Peter Westwood bff457cfaf Use do_items rather than do_item so the output of the l10n script is recorded. Fixes #15124.
git-svn-id: https://develop.svn.wordpress.org/trunk@16504 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 12:01:15 +00:00
Peter Westwood 6e131a9694 Add missing calls to convertEntities for js l10n
git-svn-id: https://develop.svn.wordpress.org/trunk@16503 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 11:56:59 +00:00
Andrew Nacin ce4b9ff07a IE8 fixes for internal linking. props koopersmith, see #15485, see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16500 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 02:02:37 +00:00
Ryan Boren 069c259dcf should not be an array of arrays. Props nickmomrik
git-svn-id: https://develop.svn.wordpress.org/trunk@16497 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 23:58:29 +00:00
Mark Jaquith 103bde3e19 Do not set is_category/is_tax/is_tax for is_singular requests. props mtekk. fixes #15487
git-svn-id: https://develop.svn.wordpress.org/trunk@16495 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 19:25:53 +00:00
Andrew Nacin fcf95a9788 Bump wplink.
git-svn-id: https://develop.svn.wordpress.org/trunk@16493 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 19:02:57 +00:00
Ryan Boren 7c8157ed36 Fill http by default. Props koopersmith. see #11420
git-svn-id: https://develop.svn.wordpress.org/trunk@16492 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 18:59:43 +00:00
Ryan Boren 04b9ae5ae7 Clear fields on refresh. Props koopersmith. see #11420
git-svn-id: https://develop.svn.wordpress.org/trunk@16491 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 18:54:03 +00:00
Ryan Boren b9113234eb wplink IE fixes. Props koopersmith. see #15485
git-svn-id: https://develop.svn.wordpress.org/trunk@16490 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 18:49:12 +00:00
Ryan Boren c7fd7b68d3 Remove debug cruft.
git-svn-id: https://develop.svn.wordpress.org/trunk@16488 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 17:10:35 +00:00
Ryan Boren 8ff8013fe7 Populate post term relationship cache in get_the_terms(). Restores caching lost when we moved away from get_the_category(). see #15407
git-svn-id: https://develop.svn.wordpress.org/trunk@16487 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 17:09:21 +00:00
scribu 90e783e1fe Use event delegation in wp-lists.js. Fixes #15488
git-svn-id: https://develop.svn.wordpress.org/trunk@16486 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 16:11:56 +00:00
Joseph Scott a0c3d2ef0e Expose post format details in XML-RPC:
- New method: wp.getPostFormats
- New field in methods dealing with posts: wp_post_format

props ericmann, fixes #15405



git-svn-id: https://develop.svn.wordpress.org/trunk@16484 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 13:57:05 +00:00
scribu 90de63b3ad Force GROUP BY when there's a tax query. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16482 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 09:17:59 +00:00
Andrew Nacin f86af64e5f Internal linking cleanups. Fix combination of pagination and searching. Add a margin of error (ha, get it?) to triggering the river. props koopersmith, see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16479 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 05:31:07 +00:00
Ryan Boren 0d0edecd79 Return false if empty cat passed. Restores old behavior.
git-svn-id: https://develop.svn.wordpress.org/trunk@16478 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 05:06:48 +00:00
Mark Jaquith 94737b9d3b Use "default" as the key (not "0") for the default post format string in the translation array. props josephscott
git-svn-id: https://develop.svn.wordpress.org/trunk@16477 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 04:32:33 +00:00
Ryan Boren 18da5392f9 Link to edit profile screen within same admin if in network or user admin.
git-svn-id: https://develop.svn.wordpress.org/trunk@16475 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 23:07:59 +00:00
scribu 9782ea0c5c Fix user pagination. Props duck_. Fixes #15479
git-svn-id: https://develop.svn.wordpress.org/trunk@16473 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 22:51:36 +00:00
scribu 62b4cd2ec7 Make entire sortable header clickable. Props batmoo. Fixes #15352
git-svn-id: https://develop.svn.wordpress.org/trunk@16472 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 21:39:22 +00:00
Andrew Nacin 98362127ad s/flush/flush_rules/ in a comment. fixes #15474, props hakre.
git-svn-id: https://develop.svn.wordpress.org/trunk@16470 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 19:21:54 +00:00
Andrew Nacin ccea27cbe7 More param fixes, props duck_. see #14783.
git-svn-id: https://develop.svn.wordpress.org/trunk@16469 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 19:12:48 +00:00
Andrew Nacin b9ca2cd037 s/ui-dialog/wp-dialog/ in our dialog styles. props koopersmith, see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16468 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 19:07:59 +00:00
Mark Jaquith 29b90f079d Exclude term exclusions even if they are also inclusions. props foofy, scribu. see #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16467 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 19:04:47 +00:00
scribu 0e87356092 Clarify doc-block for wp_delete_object_term_relationships(). Props simonwheatley. Fixes #15472
git-svn-id: https://develop.svn.wordpress.org/trunk@16466 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 18:46:41 +00:00
Ryan Boren bc279e502e Script bump
git-svn-id: https://develop.svn.wordpress.org/trunk@16464 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 14:23:05 +00:00
Andrew Nacin 845832a767 Second half of [16462]. props duck_. see #15308.
git-svn-id: https://develop.svn.wordpress.org/trunk@16463 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 09:51:50 +00:00
Andrew Nacin 3161d152bf Clean up logic when selecting post types for the admin bar content drop-down. see #15308.
git-svn-id: https://develop.svn.wordpress.org/trunk@16462 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 09:01:07 +00:00
Andrew Nacin 1c4c2a2ad9 Kill the background from the default jQuery UI dialog theme. We'll get this from .wp-dialog in the colors stylesheets. props koopersmith, see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16461 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 08:50:20 +00:00
Andrew Nacin c7e2a27492 More svn add. see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16460 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 08:20:19 +00:00
Andrew Nacin 7cccd5715f Third pass on internal linking preloading. Or, what I left out of the second pass commit. see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16459 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 07:59:05 +00:00
Andrew Nacin 7554d8610b Second pass on internal linking preloading. Adjust styles, svn add the wpdialogs plugin, adjust files and docs. see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16458 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 07:56:47 +00:00
Andrew Nacin 655df3af90 Ludicrous speed for internal linking. First pass. props koopersmith, see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16457 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 06:22:13 +00:00
Andrew Nacin 1a3a72a224 Style the on-hover state for collapsed admin menus in the blue theme. props PeteMall, fixes #15462.
git-svn-id: https://develop.svn.wordpress.org/trunk@16451 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 04:29:27 +00:00
Andrew Nacin 5183bee738 WP_Http_ExtHTTP variable fix. Don't pass an empty array to http_request, props mdawaffe, fixes #13730.
git-svn-id: https://develop.svn.wordpress.org/trunk@16450 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 03:34:28 +00:00
Andrew Nacin ba37b82b10 Allow is_feed() to drill down the feed being checked. props johnbillion for initial patch, fixes #15460.
git-svn-id: https://develop.svn.wordpress.org/trunk@16447 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 03:19:08 +00:00
Andrew Nacin 9437b31707 Add list_pages filter. props johnjamesjacoby, fixes #13668.
git-svn-id: https://develop.svn.wordpress.org/trunk@16446 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 02:23:05 +00:00
Andrew Nacin 892760ad7a When inserting an image via oEmbed, wrap it in a link. props MarkJaquith, fixes #14945.
git-svn-id: https://develop.svn.wordpress.org/trunk@16444 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-18 02:17:13 +00:00
Ryan Boren fa33255b56 Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@16439 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 18:48:27 +00:00
Ryan Boren 4b33a0e9c4 Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@16438 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 18:47:34 +00:00
Ryan Boren f721e075e6 Use wp_cache_add() instead of wp_cache_set() in update_meta_cache(). fixes #15452
git-svn-id: https://develop.svn.wordpress.org/trunk@16437 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 18:25:42 +00:00
Mark Jaquith eb981f0b6c admin-bar.js is stale. Bumping the version number.
git-svn-id: https://develop.svn.wordpress.org/trunk@16436 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 17:55:09 +00:00
Mark Jaquith 064b0f732b Make admin bar update bubbles DARK text on LIGHT background, per janeforshort. see #15308
git-svn-id: https://develop.svn.wordpress.org/trunk@16435 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 17:35:24 +00:00
Mark Jaquith ae422f43ab Add admin-bar class to body_class() if the admin bar is showing. fixes #15455
git-svn-id: https://develop.svn.wordpress.org/trunk@16432 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 17:21:45 +00:00
Mark Jaquith 55e0256967 esc_textarea() and application for obvious textarea escaping. props alexkingorg. fixes #15454
git-svn-id: https://develop.svn.wordpress.org/trunk@16431 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 17:12:01 +00:00
Andrew Nacin b9b0431d29 get_tag_link and get_category_link can also return WP_Error. fixes #15449.
git-svn-id: https://develop.svn.wordpress.org/trunk@16430 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 17:10:50 +00:00
scribu 5705b3ca9c Differentiate between localized and raw total pages. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@16429 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 17:03:27 +00:00
Mark Jaquith 49b8323bad The path goes INSIDE home_url(). fixes #15413
git-svn-id: https://develop.svn.wordpress.org/trunk@16425 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 16:38:28 +00:00
Ryan Boren 81ae3cb21e Register the default theme dir in wp-settings.php so that it is registered even when get_themes() doesn't run. Fix counting of theme dirs. Add option to get_raw_theme_root() to disregard the current theme root cache. see #14911
git-svn-id: https://develop.svn.wordpress.org/trunk@16424 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 16:11:44 +00:00
scribu 3e01f9a81d Fix ambiguous column error. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16423 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 12:33:32 +00:00
Andrew Nacin b0abda23b6 Don't check post_type_supports in map_meta_cap. see #14122.
git-svn-id: https://develop.svn.wordpress.org/trunk@16422 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 06:21:34 +00:00
Andrew Nacin 8fe83c252a Fix the screen options sprite in RTL. Also compress and bump for previous commits. see #15207.
git-svn-id: https://develop.svn.wordpress.org/trunk@16419 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 04:52:01 +00:00
Andrew Nacin 5c5d36c422 Finalize conflicts from [16136]. Final pass on wp-admin css cleanup. props JohnONolan, fixes #14770.
git-svn-id: https://develop.svn.wordpress.org/trunk@16415 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 03:30:27 +00:00
scribu 1298668d9a Re-introduce ->tax_query as a read-only var. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16414 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 02:04:08 +00:00
scribu 92fae02550 Optimize get_tax_sql(). See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16413 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 01:56:01 +00:00
scribu 26f88f4b0f Deprecate update_category_cache(). Fixes #15446
git-svn-id: https://develop.svn.wordpress.org/trunk@16412 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 00:56:00 +00:00
Andrew Nacin 3b115a7ec5 Fix arin whois link. props ozh. @todo consider its removal. see #15281.
git-svn-id: https://develop.svn.wordpress.org/trunk@16411 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 00:54:22 +00:00
scribu a4cd0df78c Minor get_meta_sql() cleanup. See #9124
git-svn-id: https://develop.svn.wordpress.org/trunk@16410 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 00:27:34 +00:00
Andrew Nacin 32069ead9d Revert changes to wptexturize() until test cases pass. Reverts [16280], [16378]. see #4539 and #15241.
git-svn-id: https://develop.svn.wordpress.org/trunk@16409 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 22:18:48 +00:00
Andrew Nacin e8ea01b4dc More updates to post.js. see [16248].
git-svn-id: https://develop.svn.wordpress.org/trunk@16408 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 22:13:17 +00:00
Andrew Nacin fde451647a Improve internal linking river feedback. props koopersmith, see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16407 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 18:30:34 +00:00
Andrew Ozz 9691518b51 Revert the TinyMCE spellchecker to its old behaviour, update to tinymce_spellchecker_php_2_0_3, fixes #15268
git-svn-id: https://develop.svn.wordpress.org/trunk@16405 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 17:30:18 +00:00
scribu 9242c290b3 Revert [16402] outright. Causes issues with themes. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16404 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 16:36:20 +00:00
scribu 373717aeba Revert taxonomy.php part of [16402]. Not fully backed yet. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16403 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 16:24:14 +00:00
scribu 93b63b771c Don't pollute the 'tax_query' query var. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16402 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 16:22:09 +00:00
Andrew Nacin 6dacb11d46 Use user_trailingslashit in get_author_posts_url(). fixes #15441.
git-svn-id: https://develop.svn.wordpress.org/trunk@16401 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 16:09:46 +00:00
scribu 43a3b3b65d Update some @since tags. Props demetris. Fixes #15438
git-svn-id: https://develop.svn.wordpress.org/trunk@16400 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 13:16:13 +00:00
Andrew Nacin 6183d245f9 Internal linking functionality updates. Scrap pagination for a river of results. props koopersmith, see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16399 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 05:11:41 +00:00
Andrew Nacin 7851debeae Internal linking UI updates. see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16398 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 04:25:14 +00:00
Ryan Boren 4a3b49bb5d Minify wplink js. see #11420
git-svn-id: https://develop.svn.wordpress.org/trunk@16397 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 01:21:18 +00:00
Andrew Nacin 8de3626c6e Bump wplink version. see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16396 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 00:47:22 +00:00
Andrew Nacin 55f599d330 Properly force variable to an array. props Viper007Bond, fixes #15407.
git-svn-id: https://develop.svn.wordpress.org/trunk@16395 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 00:19:51 +00:00
Andrew Ozz 348236aeb7 Remove invalid parent paragraph when pasting in the visual editor or switching visual to HTML and back, keep multiple empty lines in a <pre> tag, fixes #15095 fixes #15367
git-svn-id: https://develop.svn.wordpress.org/trunk@16394 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 23:57:27 +00:00
Andrew Nacin f5dea49c4a Next pass on internal linking. Functional, but needs styling. props koopersmith, see #11420.
git-svn-id: https://develop.svn.wordpress.org/trunk@16393 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 23:48:24 +00:00
Nikolay Bachiyski 77254fc657 Fallback to only RTL attributes in wp_die()'s HTML tag if it's very early in the execution. Fixes #6132. Props RanYanivHartstein and nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@16392 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 20:13:05 +00:00
Ryan Boren 72faeb1d34 Minify wplink js. see #11420
git-svn-id: https://develop.svn.wordpress.org/trunk@16391 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 18:42:49 +00:00
Ryan Boren 48e057af81 Auto focus URL field. see #11420
git-svn-id: https://develop.svn.wordpress.org/trunk@16390 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 18:40:34 +00:00
Andrew Nacin 76a7d50069 Sanity cast. see #15192.
git-svn-id: https://develop.svn.wordpress.org/trunk@16389 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 18:06:57 +00:00
Andrew Nacin 0b7f397e9b set_post_thumbnail(). fixes #15192.
git-svn-id: https://develop.svn.wordpress.org/trunk@16388 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 17:59:25 +00:00
Andrew Nacin 682b6a20b2 capability_type = page and no custom caps should also kick on map_meta_cap. see #14122.
git-svn-id: https://develop.svn.wordpress.org/trunk@16387 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 17:11:34 +00:00
scribu ecad0a9016 Revert [16384]. See #15433
git-svn-id: https://develop.svn.wordpress.org/trunk@16385 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 15:23:04 +00:00
scribu 4c4e5ed0df Ignore 'name' qv if 'p' qv is set. Fixes #15433
git-svn-id: https://develop.svn.wordpress.org/trunk@16384 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 13:33:16 +00:00