Commit Graph

7766 Commits

Author SHA1 Message Date
westi fe92a01932 Correct the logic as there is no publish_post cap.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 17:07:55 +00:00
westi b3bc43ab49 Check for extra caps here too.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 16:52:08 +00:00
westi 38d526d196 Correct some more cap checks to use the correct caps.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 16:18:42 +00:00
westi d9b7e7cf81 Condense the logic. Props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 15:59:56 +00:00
westi 183e561585 Ensure that we always check the right cap when posts are added or edited.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 15:31:17 +00:00
dd32 5cce49e2b7 Enable canonical redirections for Permalink suporting IIS. Props peaceablewhale See #10187
git-svn-id: http://svn.automattic.com/wordpress/trunk@16797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 11:04:40 +00:00
nacin 13a9058319 Close a quote. see #15308.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 09:49:56 +00:00
scribu b624542cc5 Revert logic change made in [16789]. See #13818
git-svn-id: http://svn.automattic.com/wordpress/trunk@16793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 09:15:09 +00:00
scribu 39d0718bff Set queried object on CPT archives. Fixes #15730
git-svn-id: http://svn.automattic.com/wordpress/trunk@16792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 08:57:38 +00:00
nacin 2be192c80e 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: http://svn.automattic.com/wordpress/trunk@16791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 08:50:24 +00:00
nacin 611f511e0f Don't show blurry text shadow in the admin bar count. props demetris, fixes #15308.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 08:28:15 +00:00
scribu 2fd70020ea Use has_archive in get_post_type_archive_link(). See #13818
git-svn-id: http://svn.automattic.com/wordpress/trunk@16789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 07:51:40 +00:00
nacin 35b4860563 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: http://svn.automattic.com/wordpress/trunk@16788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 07:12:44 +00:00
nacin 0a61447061 Use pagination base for CPT archives. props scribu, fixes #15728.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 07:02:52 +00:00
nacin 440671b932 Initialize this variable.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 01:03:12 +00:00
nacin 69ca141a66 Handle posts without titles better in internal linking. see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 00:22:43 +00:00
ryan 693f828149 Don't show Suspend/Unsuspend links for the main site on the admin bar. Props ocean90. fixes #15669
git-svn-id: http://svn.automattic.com/wordpress/trunk@16781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 23:11:19 +00:00
nacin c697ff4926 Initialize a variable. props kapeels for initial patch. fixes #15703.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 18:55:13 +00:00
ryan 4cfb079fc5 Pass NULL as second arg to wp_upload_bits() to avoid deprecated warning. Props koke. fixes #15698
git-svn-id: http://svn.automattic.com/wordpress/trunk@16769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 18:32:07 +00:00
ryan 5ce0d9cb7a Apply wp_get_attachment_url to empty urls. Props filosofo. fixes #15494
git-svn-id: http://svn.automattic.com/wordpress/trunk@16768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 18:16:21 +00:00
nacin 26d7de2d93 We only need strpos here. Ensures PHP4 compat. props mailnew2ster, fixes #14187.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 07:17:06 +00:00
nacin 09e076b152 Remove unnecessary space. props demetris, JohnPBloch. fixes #12797.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 22:56:47 +00:00
ryan daaed10ca0 Add jquery-ui-sortable dependency to nav-menu. fixes #15622
git-svn-id: http://svn.automattic.com/wordpress/trunk@16752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 16:57:09 +00:00
nacin a64b107868 This should be a string. fixes #15704.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 16:32:25 +00:00
nacin e03399c715 Fix handling of no titles and long titles in internal linking. see #11240.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 16:28:06 +00:00
scribu f4c63d53aa Pass $args to login_form_* filters. Props aaroncampbell. Fixes #15702
git-svn-id: http://svn.automattic.com/wordpress/trunk@16749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 16:24:05 +00:00
nacin 4dd3b77b48 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: http://svn.automattic.com/wordpress/trunk@16747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 15:41:19 +00:00
nacin fde64e232f Restore bottom padding in plugin rows. fixes #15547.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 15:15:09 +00:00
nacin 140c4c5606 Flush these left.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 04:51:52 +00:00
markjaquith 0c10eec60c 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: http://svn.automattic.com/wordpress/trunk@16742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 03:54:57 +00:00
markjaquith 5cfe6c81cc Fix up the PHPdoc for get_file_data(). props hakre. fixes #14071
git-svn-id: http://svn.automattic.com/wordpress/trunk@16741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 03:44:36 +00:00
markjaquith 7290e527e7 Pass post ID to embed_oembed_html filter to avoid global variable incantations. props filosofo. fixes #15491
git-svn-id: http://svn.automattic.com/wordpress/trunk@16740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 03:38:27 +00:00
markjaquith 7b83e5082e Remove some unused CSS. props ocean90. fixes #15696
git-svn-id: http://svn.automattic.com/wordpress/trunk@16739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 03:37:03 +00:00
markjaquith 4fbc3224d5 Get rid of niggling hardcoded blogs.dir path. props scribu. fixes #15383
git-svn-id: http://svn.automattic.com/wordpress/trunk@16738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 03:35:33 +00:00
nacin a8962d02f8 Please test beta one / More fixes are on the way / Beta two next up
git-svn-id: http://svn.automattic.com/wordpress/trunk@16732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-05 05:06:14 +00:00
nacin 42394406c1 Check that ancestors are not the currently queried objects in nav menu classes. props filosofo, fixes #14518.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-05 04:29:56 +00:00
nacin d0098e51bb Unescape ampersands before making an oEmbed request. props Viper007Bond, fixes #14514, see #11311.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-05 02:23:17 +00:00
markjaquith 9cb7a9b837 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: http://svn.automattic.com/wordpress/trunk@16725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-04 23:31:01 +00:00
nacin 2d90cdddfe Things that go bump in the night
git-svn-id: http://svn.automattic.com/wordpress/trunk@16723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-04 11:13:47 +00:00
westi cd767d889e Revert [16719] until it has has UI review. See #15580
git-svn-id: http://svn.automattic.com/wordpress/trunk@16722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-04 11:01:23 +00:00
nacin 4e2fb85913 Introduce remove_editor_styles(). fixes #14903.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-04 10:09:00 +00:00
nacin 373a66db0f Introduce remove_custom_background(). see #14903.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-04 09:59:35 +00:00
scribu 2e2ac55ced Use large spinner instead of 'Loading...' text. Props batmoo. See #15580
git-svn-id: http://svn.automattic.com/wordpress/trunk@16719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-04 09:01:23 +00:00
nacin f3c57e9940 Don't use orange as an on state. Also, restore zero margin on the filename header. fixes #15672.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-04 04:18:27 +00:00
nacin c7fe205805 Don't even show parent theme files when viewing the child theme. see #15672.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-04 03:52:59 +00:00
nacin 72958d1c53 Make sure get_themes() returns the proper template and stylesheet directory paths. Use the correct variables. fixes #15671.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-03 22:53:01 +00:00
nacin 47cfe8dd05 Post format indexes. First pass. see #15378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-03 10:13:17 +00:00
westi e69d948ca4 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: http://svn.automattic.com/wordpress/trunk@16704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-03 09:44:17 +00:00
nacin 8d9cf65725 s/occured/occurred/. props aldenta, fixes #15653.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 23:30:21 +00:00
nacin 562c038e71 Remove sticky arg from post support. props michaelh, see #12702.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 23:16:04 +00:00
markjaquith 74f17e9850 Fix typo in PHPdoc. props PeteMall.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 22:56:55 +00:00
markjaquith df1887a81a Standardize around "Update" instead of "Upgrade." props RanYanivHartstein. props latz. fixes #14107
git-svn-id: http://svn.automattic.com/wordpress/trunk@16696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 21:45:47 +00:00
markjaquith f2d1e78ec6 Add class to Tag Cloud widget div. props djzone. fixes #12602
git-svn-id: http://svn.automattic.com/wordpress/trunk@16694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 21:28:17 +00:00
markjaquith 9edf7af6b4 Another s/default/standard/. see #15582
git-svn-id: http://svn.automattic.com/wordpress/trunk@16693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 21:24:41 +00:00
westi 1df7f1be64 Revert [16279] - the recursive nature of this regex doesn't play well with stack space. See #14993
git-svn-id: http://svn.automattic.com/wordpress/trunk@16692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 17:26:06 +00:00
westi 57fca2acf3 Clean the cache when deleting a term. Fixes #15651
git-svn-id: http://svn.automattic.com/wordpress/trunk@16691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 17:10:02 +00:00
scribu 3b5707c4be Add note about wp_next_scheduled() in wp_schedule_event(). See #14668
git-svn-id: http://svn.automattic.com/wordpress/trunk@16690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 16:27:16 +00:00
westi 3640dfb0db Restore the fix with to the Create New User form fields. Fixes #15642.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 09:55:13 +00:00
markjaquith b608e8ca3e Argh. Missed another s/default/standard/ in [16679]. Any others? see #15582.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 04:38:42 +00:00
markjaquith e98e5b094b Missed a s/default/standard/ in [16679]. props PeteMall. see #15582.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 04:36:00 +00:00
markjaquith a1b12eb6e5 Make sure media upload thickbox takes admin bar height into account. props ocean90. fixes #15635
git-svn-id: http://svn.automattic.com/wordpress/trunk@16681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 04:20:48 +00:00
markjaquith e7140d23cb The name of the standard post format is now Standard (might offer ability to change Default). fixes #15582
git-svn-id: http://svn.automattic.com/wordpress/trunk@16679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 03:19:14 +00:00
markjaquith ff7ac5a045 Move Post Format UI out of Publish meta box and into its own box. see #15638
git-svn-id: http://svn.automattic.com/wordpress/trunk@16678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 02:42:38 +00:00
nacin 831ffc5483 Return true if not is_admin. Tidy. see #14903.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 00:50:23 +00:00
nacin efe850aa42 Introduce remove_custom_image_header(). see #14903.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 00:16:35 +00:00
ryan 0eeb985ef2 Deprecate and ignore the refresh arg. fixes #15605
git-svn-id: http://svn.automattic.com/wordpress/trunk@16673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 22:12:09 +00:00
markjaquith 3a7b4b71d4 Prevent double Thickbox caption line for Dashboard QuickPress uploads. props ocean90. fixes #15169
git-svn-id: http://svn.automattic.com/wordpress/trunk@16671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 20:48:52 +00:00
markjaquith 5b37b224f8 Throw WP_Error if post_type passed to register_post_type() is longer than schema allows. props phrostypoison. fixes #13709
git-svn-id: http://svn.automattic.com/wordpress/trunk@16670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 20:43:39 +00:00
scribu 57d6d72d2f Remove archaic reference return in get_children(). Props filosofo. Fixes #12372
git-svn-id: http://svn.automattic.com/wordpress/trunk@16667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 20:23:57 +00:00
scribu 0c8a8c3655 Get rid of misplaced 'taxonomy_template' filter. Fixes #14740
git-svn-id: http://svn.automattic.com/wordpress/trunk@16665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 20:16:24 +00:00
ryan a9e5cc0817 Hide Extra-Long admin bar text. Props filosofo. fixes #15412
git-svn-id: http://svn.automattic.com/wordpress/trunk@16664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 20:14:52 +00:00
ryan 1b72cb22a4 Prevent default post formats from entering the DB. see #15629 #15582
git-svn-id: http://svn.automattic.com/wordpress/trunk@16662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 20:03:39 +00:00
ryan 3f72e340d6 Update since phpdoc. Props demetris. fixes #15445
git-svn-id: http://svn.automattic.com/wordpress/trunk@16660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 19:24:38 +00:00
scribu 5e43a0760b Make image edit labels more concise. Props lloydbudd. Fixes #13613
git-svn-id: http://svn.automattic.com/wordpress/trunk@16656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 18:40:15 +00:00
ryan ce490df051 Export filtering. Props duck_. fixes #15197
git-svn-id: http://svn.automattic.com/wordpress/trunk@16652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 17:21:58 +00:00
ryan a031db170f Fix comment_notes_before. Props mrmist. fixes #14510
git-svn-id: http://svn.automattic.com/wordpress/trunk@16649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 16:52:32 +00:00
ryan b7d3ba8db8 Fix bulk comment keyboard shortcuts. Props duck_. fixes #15571
git-svn-id: http://svn.automattic.com/wordpress/trunk@16648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 16:51:31 +00:00
scribu 2d2dea8fa2 Validate pagination input. Props batmoo. See #15580
git-svn-id: http://svn.automattic.com/wordpress/trunk@16644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 06:02:19 +00:00
markjaquith a0bc51f8d8 Use prepare() instead of addslashes(). props wpmuguru.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 01:51:32 +00:00
nacin bd0a73d083 Bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 23:38:22 +00:00
markjaquith b246fdf17f Drop pingback/trackback blogroll whitelisting feature. Too many ways to abuse it. props avereha. props vladimir_kolesnikov. fixes #13887 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@16637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 22:46:35 +00:00
ryan 2911ff8ec3 Add bump down for menu bar. Allow themes to add a custom bump callback. Props ocean90. fixes #15592
git-svn-id: http://svn.automattic.com/wordpress/trunk@16636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 21:50:57 +00:00
PeteMall f4e8cf9bb6 Address redirection loop with multiple networks and network admin. Props mwidmann, fixes #15591
git-svn-id: http://svn.automattic.com/wordpress/trunk@16633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 20:45:40 +00:00
ryan e1bb824b25 Prepare properly. Props Vladimir Kolesnikov.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-30 20:04:11 +00:00
scribu 6eff593e14 Get rid of in favor of . Fixes #15607. See #15580
git-svn-id: http://svn.automattic.com/wordpress/trunk@16617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 20:15:04 +00:00
scribu d171e12580 Update URL when performing ajaxified action. See #15580
git-svn-id: http://svn.automattic.com/wordpress/trunk@16615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 18:57:33 +00:00
nbachiyski 368eefd69c comments_number() doesn't need to call get_the_ID(), because get_comments_number() does it if post ID is missing
git-svn-id: http://svn.automattic.com/wordpress/trunk@16613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 17:34:43 +00:00
nbachiyski 442de36663 Add New string fixes. Fixes #15577
git-svn-id: http://svn.automattic.com/wordpress/trunk@16612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 16:54:06 +00:00
ryan 9d8b8ace88 Default Add New menu link to first post type in list. Avoids empty href issues. see #15308
git-svn-id: http://svn.automattic.com/wordpress/trunk@16610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 16:16:29 +00:00
ryan 3342a5b4c0 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: http://svn.automattic.com/wordpress/trunk@16609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 16:07:32 +00:00
westi d2bce97ced 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: http://svn.automattic.com/wordpress/trunk@16607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 13:31:42 +00:00
nacin e466bb9d65 Use get_user_count() if multisite in wp_version_check. props PeteMall, fixes #15599.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 05:27:01 +00:00
nacin d0b26b2d43 Kill check_server_timer(). fixes #15602.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 05:16:24 +00:00
scribu cbca4fd42a Make bottom admin pagination scroll to the top after rows are updated. See #15580
git-svn-id: http://svn.automattic.com/wordpress/trunk@16602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-28 19:05:12 +00:00
ryan b1e7c513b7 Remove wp_admin_body_style(). Props ocean90. fixes #15507
git-svn-id: http://svn.automattic.com/wordpress/trunk@16600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-26 22:05:54 +00:00
ryan 50cb4c26c6 Admin bar phpdoc update. Props filosofo. fixes #15418
git-svn-id: http://svn.automattic.com/wordpress/trunk@16599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-26 21:51:12 +00:00
ryan d4a7589502 Super admin menu hover fix. Props filosofo. fixes #15524
git-svn-id: http://svn.automattic.com/wordpress/trunk@16598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-26 21:47:28 +00:00
ryan 6dc6d9892f Revert [16359]. Deal with it in 3.2. see #15361
git-svn-id: http://svn.automattic.com/wordpress/trunk@16597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-26 21:38:38 +00:00
ryan 21650c59bc Meta data caching improvements. Props mdawaffe. see #15545
git-svn-id: http://svn.automattic.com/wordpress/trunk@16596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-26 21:35:26 +00:00
nbachiyski 9c6ba6387e Add context to Add New admin bar menu label -- we have many other Add New
git-svn-id: http://svn.automattic.com/wordpress/trunk@16595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-26 11:16:23 +00:00
scribu 3014920524 Make date columns first sort in descending order. See #15580
git-svn-id: http://svn.automattic.com/wordpress/trunk@16593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-26 02:03:02 +00:00
nacin 37ce5d0c63 Post beta bump for tonight's build.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-25 19:02:06 +00:00
westi fe18b7024f Things go bump in the night.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-25 16:16:12 +00:00
scribu 6e2eae9736 Minor code beautification. Props hakre. Fixes #15569
git-svn-id: http://svn.automattic.com/wordpress/trunk@16581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-25 02:14:33 +00:00
markjaquith f23d5de358 Cast to array, to avoid notices. props hakre. fixes #14997
git-svn-id: http://svn.automattic.com/wordpress/trunk@16576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 20:34:22 +00:00
markjaquith 14be097d5e Revert [15829] for now, consider better solution for 3.2. see #13550
git-svn-id: http://svn.automattic.com/wordpress/trunk@16575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 20:25:26 +00:00
westi b0d6453462 Cast to string so we return the correct datatype. See #15517 props barry.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 17:51:39 +00:00
ryan 43448dc471 Bump tinymce gz. see #15544
git-svn-id: http://svn.automattic.com/wordpress/trunk@16567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 15:34:19 +00:00
westi 59c95ba48e Let SimplePie do more of the date handling for us. Props rmccue.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 11:53:12 +00:00
scribu 42361800ad Correct cache invalidation in update_usermeta() and delete_usermeta(). Props mdawaffe. Fixes #15559
git-svn-id: http://svn.automattic.com/wordpress/trunk@16562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 06:47:52 +00:00
markjaquith dc77ee14f8 Make Linking and Internal Linking keyboard-friendly and URL-paste-friendly. props koopersmith. fixes #15544
git-svn-id: http://svn.automattic.com/wordpress/trunk@16561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 06:44:46 +00:00
ryan 86c173262f Load network plugins for wp-activate.php. Restore MU load order. Props blamenacin. fixes #14718
git-svn-id: http://svn.automattic.com/wordpress/trunk@16558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 00:19:38 +00:00
scribu 719b8d8f4a Introduce 'relation' operator between tax queries. Props Otto42 for initial patch. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@16555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 20:22:27 +00:00
scribu c891b0ebc7 Ajaxify theme feature filter. Props ocean90 for initial patch. See #14936
git-svn-id: http://svn.automattic.com/wordpress/trunk@16553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 20:17:22 +00:00
scribu 3230b44f63 Make get_file_data() regex even more precise. Props hakre. See #15193
git-svn-id: http://svn.automattic.com/wordpress/trunk@16552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 19:37:31 +00:00
ryan 104c9ed3d8 Make sure create_users is strippped from blog admins for multisite setups where add_new_users is not enabled. see #15357
git-svn-id: http://svn.automattic.com/wordpress/trunk@16551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 16:29:21 +00:00
scribu d941809a3c Remove debug cruft from [16543]. See #14590
git-svn-id: http://svn.automattic.com/wordpress/trunk@16544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 00:49:23 +00:00
scribu 696bfb5fc6 Minor cleanup in queried object setting logic. See #14590
git-svn-id: http://svn.automattic.com/wordpress/trunk@16543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 00:47:45 +00:00
nacin 53a2e0667e Cast term_id to int for queried_object_id. props wojtek.szkutnik, fixes #14590.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 00:32:19 +00:00
scribu 5fa3c84fdb Remove vestige code from theme.js. See #14936
git-svn-id: http://svn.automattic.com/wordpress/trunk@16540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 00:06:15 +00:00
nacin 9134684d84 escape URL in wp_link_pages. fixes #14271.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-22 23:54:30 +00:00
scribu f93ca9618a Prevent notice when checking for hierarchical tax rewrite. Props demetris. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@16538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-22 21:56:20 +00:00
scribu 2ec0d0509e Fix 'timeinfo' cache invalidation. Fixes #14922
git-svn-id: http://svn.automattic.com/wordpress/trunk@16537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-22 21:45:45 +00:00
nacin 69b3167678 Revert [15688], [15689], [15691]. Try again in 3.2. see #14966.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-22 17:17:26 +00:00
nacin 0d56b69953 Add the audio post format, the final format we plan to support. see #14746.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-22 17:05:14 +00:00
nacin 60685a399d Yeah, about that comma... Fix internal linking for both IE6 and IE7. props koopersmith, fixes #15485.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-22 06:32:18 +00:00
scribu 06c1418787 Consider only IN tax queries when returning the queried object. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@16531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-22 05:14:47 +00:00
ryan 9f9c57934f Bump tinymce version. see #15532
git-svn-id: http://svn.automattic.com/wordpress/trunk@16529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-22 03:03:28 +00:00
ryan 42bb6c326a Bring link dialog to front when TinyMCE is fullscreen. Props koopersmith. see #15532
git-svn-id: http://svn.automattic.com/wordpress/trunk@16528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-22 02:48:58 +00:00
scribu 0a1d745a54 Move s/ /+ out of WP_Query, so that 'category_name=Some Category' works again. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@16526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-21 16:33:05 +00:00
scribu e3126350ce Don't display search subtitle on themes page. Props ocean90. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-21 16:20:08 +00:00
nacin c50bb5c082 Use correct name in script loader. see #14936.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-21 14:10:33 +00:00
scribu 24f00c889f Update get_tax_sql() docblock. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-21 14:09:01 +00:00
nacin 72a354331b Add a simple filter to allow removing the recent comments default widget styles. fixes #15493, see #14876.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-21 13:55:11 +00:00
nacin d30ef21e80 Revert [15994] for now, as the default widgets then go through an identity crisis. see #14876, #15493.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-21 13:48:35 +00:00
nacin 4d6e524d90 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: http://svn.automattic.com/wordpress/trunk@16520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-21 13:37:09 +00:00
nacin 17a87ff30f Introduce items_wrap arg to wp_nav_menu(). props filosofo, fixes #14235.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-21 13:32:02 +00:00
scribu 1f4da8bfc6 re-minify edit-comments.js. See #15504
git-svn-id: http://svn.automattic.com/wordpress/trunk@16517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 22:03:54 +00:00
scribu cbd4ea48ca Don't do any taxonomy stuff if is_singular. See #15487
git-svn-id: http://svn.automattic.com/wordpress/trunk@16515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 21:51:21 +00:00
ryan 66d34fa710 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: http://svn.automattic.com/wordpress/trunk@16513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 21:43:19 +00:00
scribu 36658f37ca Fix logic for when excluding a non-existant term. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@16512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 21:28:50 +00:00
ryan 44733f9635 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: http://svn.automattic.com/wordpress/trunk@16511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 21:10:20 +00:00
nacin d29759048d Use 'Update' and 'Save Link' for internal linking submit button. props koopersmith, see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 19:27:12 +00:00
westi 1a0818d477 Ensure that we return post IDs as strings to honour API defintions. See #15517
git-svn-id: http://svn.automattic.com/wordpress/trunk@16508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 15:50:56 +00:00
scribu b21ec2cbd5 Remove debug cruft from [16505]. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@16506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 13:48:24 +00:00
scribu 7f59d20fb5 Don't set post_type to 'any' for category and tag queries. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@16505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 13:39:07 +00:00
westi 91a375041d Use do_items rather than do_item so the output of the l10n script is recorded. Fixes #15124.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 12:01:15 +00:00
westi 0441736806 Add missing calls to convertEntities for js l10n
git-svn-id: http://svn.automattic.com/wordpress/trunk@16503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 11:56:59 +00:00
nacin 384b75278c IE8 fixes for internal linking. props koopersmith, see #15485, see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 02:02:37 +00:00
ryan 1310eaa966 should not be an array of arrays. Props nickmomrik
git-svn-id: http://svn.automattic.com/wordpress/trunk@16497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 23:58:29 +00:00
markjaquith d1d83710e7 Do not set is_category/is_tax/is_tax for is_singular requests. props mtekk. fixes #15487
git-svn-id: http://svn.automattic.com/wordpress/trunk@16495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 19:25:53 +00:00
nacin f1b54c5029 Bump wplink.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 19:02:57 +00:00
ryan 39f72f982f Fill http by default. Props koopersmith. see #11420
git-svn-id: http://svn.automattic.com/wordpress/trunk@16492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 18:59:43 +00:00
ryan 203079e963 Clear fields on refresh. Props koopersmith. see #11420
git-svn-id: http://svn.automattic.com/wordpress/trunk@16491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 18:54:03 +00:00
ryan ad499c6131 wplink IE fixes. Props koopersmith. see #15485
git-svn-id: http://svn.automattic.com/wordpress/trunk@16490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 18:49:12 +00:00
ryan 42ce1825ac Remove debug cruft.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 17:10:35 +00:00
ryan 0b37bd0b6d 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: http://svn.automattic.com/wordpress/trunk@16487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 17:09:21 +00:00
scribu 8ab7aafec4 Use event delegation in wp-lists.js. Fixes #15488
git-svn-id: http://svn.automattic.com/wordpress/trunk@16486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 16:11:56 +00:00
josephscott 43ff5a69a8 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: http://svn.automattic.com/wordpress/trunk@16484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 13:57:05 +00:00
scribu 7879bcaee5 Force GROUP BY when there's a tax query. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@16482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 09:17:59 +00:00
nacin 8233e4f6b5 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: http://svn.automattic.com/wordpress/trunk@16479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 05:31:07 +00:00
ryan 7cb2ad6d3a Return false if empty cat passed. Restores old behavior.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 05:06:48 +00:00
markjaquith 8cd425bf92 Use "default" as the key (not "0") for the default post format string in the translation array. props josephscott
git-svn-id: http://svn.automattic.com/wordpress/trunk@16477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 04:32:33 +00:00
ryan 374cfa11b4 Link to edit profile screen within same admin if in network or user admin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 23:07:59 +00:00
scribu 762eca08ca Fix user pagination. Props duck_. Fixes #15479
git-svn-id: http://svn.automattic.com/wordpress/trunk@16473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 22:51:36 +00:00
scribu d5b3719be8 Make entire sortable header clickable. Props batmoo. Fixes #15352
git-svn-id: http://svn.automattic.com/wordpress/trunk@16472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 21:39:22 +00:00
nacin 0d7979ea9a s/flush/flush_rules/ in a comment. fixes #15474, props hakre.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 19:21:54 +00:00
nacin b8ce0261df More param fixes, props duck_. see #14783.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 19:12:48 +00:00
nacin a40a66dfe1 s/ui-dialog/wp-dialog/ in our dialog styles. props koopersmith, see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 19:07:59 +00:00
markjaquith e2879c73fa Exclude term exclusions even if they are also inclusions. props foofy, scribu. see #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@16467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 19:04:47 +00:00
scribu d23ca4da48 Clarify doc-block for wp_delete_object_term_relationships(). Props simonwheatley. Fixes #15472
git-svn-id: http://svn.automattic.com/wordpress/trunk@16466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 18:46:41 +00:00
ryan 9829892631 Script bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@16464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 14:23:05 +00:00
nacin 7a2af1c100 Second half of [16462]. props duck_. see #15308.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 09:51:50 +00:00
nacin d32722275e Clean up logic when selecting post types for the admin bar content drop-down. see #15308.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 09:01:07 +00:00
nacin f9434dc3f6 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: http://svn.automattic.com/wordpress/trunk@16461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 08:50:20 +00:00
nacin d9b2230489 More svn add. see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 08:20:19 +00:00
nacin 485daddde1 Third pass on internal linking preloading. Or, what I left out of the second pass commit. see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 07:59:05 +00:00
nacin 9820a48b54 Second pass on internal linking preloading. Adjust styles, svn add the wpdialogs plugin, adjust files and docs. see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 07:56:47 +00:00
nacin 3bb8ace4e2 Ludicrous speed for internal linking. First pass. props koopersmith, see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 06:22:13 +00:00
nacin 31f08706f7 Style the on-hover state for collapsed admin menus in the blue theme. props PeteMall, fixes #15462.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 04:29:27 +00:00
nacin d37c4b0ebc WP_Http_ExtHTTP variable fix. Don't pass an empty array to http_request, props mdawaffe, fixes #13730.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 03:34:28 +00:00
nacin 695644cc72 Allow is_feed() to drill down the feed being checked. props johnbillion for initial patch, fixes #15460.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 03:19:08 +00:00
nacin 8ff32f52df Add list_pages filter. props johnjamesjacoby, fixes #13668.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 02:23:05 +00:00
nacin d397326116 When inserting an image via oEmbed, wrap it in a link. props MarkJaquith, fixes #14945.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 02:17:13 +00:00
ryan c50cc5c57a Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@16439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 18:48:27 +00:00
ryan 847499e531 Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@16438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 18:47:34 +00:00
ryan 01a32c0af0 Use wp_cache_add() instead of wp_cache_set() in update_meta_cache(). fixes #15452
git-svn-id: http://svn.automattic.com/wordpress/trunk@16437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 18:25:42 +00:00
markjaquith c8b4e1cf5d admin-bar.js is stale. Bumping the version number.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 17:55:09 +00:00
markjaquith 3e53432b7b Make admin bar update bubbles DARK text on LIGHT background, per janeforshort. see #15308
git-svn-id: http://svn.automattic.com/wordpress/trunk@16435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 17:35:24 +00:00
markjaquith 78e63786d0 Add admin-bar class to body_class() if the admin bar is showing. fixes #15455
git-svn-id: http://svn.automattic.com/wordpress/trunk@16432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 17:21:45 +00:00
markjaquith 6482610f9a esc_textarea() and application for obvious textarea escaping. props alexkingorg. fixes #15454
git-svn-id: http://svn.automattic.com/wordpress/trunk@16431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 17:12:01 +00:00
nacin 4beb3ab36e get_tag_link and get_category_link can also return WP_Error. fixes #15449.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 17:10:50 +00:00
scribu 0921736b76 Differentiate between localized and raw total pages. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 17:03:27 +00:00
markjaquith bbaa4eb8a1 The path goes INSIDE home_url(). fixes #15413
git-svn-id: http://svn.automattic.com/wordpress/trunk@16425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 16:38:28 +00:00
ryan a6cdc2dea4 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: http://svn.automattic.com/wordpress/trunk@16424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 16:11:44 +00:00
scribu a0e5b38765 Fix ambiguous column error. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@16423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 12:33:32 +00:00
nacin e5f944a913 Don't check post_type_supports in map_meta_cap. see #14122.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 06:21:34 +00:00
nacin 4fda3f791f Fix the screen options sprite in RTL. Also compress and bump for previous commits. see #15207.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 04:52:01 +00:00
nacin 7b078d3b9b Finalize conflicts from [16136]. Final pass on wp-admin css cleanup. props JohnONolan, fixes #14770.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 03:30:27 +00:00
scribu 275888f2e6 Re-introduce ->tax_query as a read-only var. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@16414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 02:04:08 +00:00