Commit Graph

7801 Commits

Author SHA1 Message Date
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
scribu
f58b21e69d Optimize get_tax_sql(). See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@16413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 01:56:01 +00:00
scribu
d2a5add61a Deprecate update_category_cache(). Fixes #15446
git-svn-id: http://svn.automattic.com/wordpress/trunk@16412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 00:56:00 +00:00
nacin
de65e1f2f3 Fix arin whois link. props ozh. @todo consider its removal. see #15281.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 00:54:22 +00:00
scribu
8cf88a2e84 Minor get_meta_sql() cleanup. See #9124
git-svn-id: http://svn.automattic.com/wordpress/trunk@16410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 00:27:34 +00:00
nacin
3f5b442306 Revert changes to wptexturize() until test cases pass. Reverts [16280], [16378]. see #4539 and #15241.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 22:18:48 +00:00
nacin
200f550862 More updates to post.js. see [16248].
git-svn-id: http://svn.automattic.com/wordpress/trunk@16408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 22:13:17 +00:00
nacin
c09b2e5b22 Improve internal linking river feedback. props koopersmith, see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 18:30:34 +00:00
azaozz
4002b79b7a Revert the TinyMCE spellchecker to its old behaviour, update to tinymce_spellchecker_php_2_0_3, fixes #15268
git-svn-id: http://svn.automattic.com/wordpress/trunk@16405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 17:30:18 +00:00
scribu
8b107e23f4 Revert [16402] outright. Causes issues with themes. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@16404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 16:36:20 +00:00
scribu
af6dbfde54 Revert taxonomy.php part of [16402]. Not fully backed yet. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@16403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 16:24:14 +00:00
scribu
690cd434d1 Don't pollute the 'tax_query' query var. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@16402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 16:22:09 +00:00
nacin
99f3141859 Use user_trailingslashit in get_author_posts_url(). fixes #15441.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 16:09:46 +00:00
scribu
aa0e750a9f Update some @since tags. Props demetris. Fixes #15438
git-svn-id: http://svn.automattic.com/wordpress/trunk@16400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 13:16:13 +00:00
nacin
2f107efd02 Internal linking functionality updates. Scrap pagination for a river of results. props koopersmith, see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 05:11:41 +00:00
nacin
16327a7dbb Internal linking UI updates. see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 04:25:14 +00:00
ryan
bbd70cabe7 Minify wplink js. see #11420
git-svn-id: http://svn.automattic.com/wordpress/trunk@16397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 01:21:18 +00:00
nacin
50ca771db7 Bump wplink version. see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 00:47:22 +00:00
nacin
d042642802 Properly force variable to an array. props Viper007Bond, fixes #15407.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-16 00:19:51 +00:00
azaozz
c121aa0ae3 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: http://svn.automattic.com/wordpress/trunk@16394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 23:57:27 +00:00
nacin
afcbc49e62 Next pass on internal linking. Functional, but needs styling. props koopersmith, see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 23:48:24 +00:00
nbachiyski
27200382fa 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: http://svn.automattic.com/wordpress/trunk@16392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 20:13:05 +00:00
ryan
4b8b1bbbba Minify wplink js. see #11420
git-svn-id: http://svn.automattic.com/wordpress/trunk@16391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 18:42:49 +00:00
ryan
ee8966d821 Auto focus URL field. see #11420
git-svn-id: http://svn.automattic.com/wordpress/trunk@16390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 18:40:34 +00:00
nacin
29203134cb Sanity cast. see #15192.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 18:06:57 +00:00
nacin
bd638424fc set_post_thumbnail(). fixes #15192.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 17:59:25 +00:00
nacin
c5aa88412a capability_type = page and no custom caps should also kick on map_meta_cap. see #14122.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 17:11:34 +00:00
scribu
e55bee786e Revert [16384]. See #15433
git-svn-id: http://svn.automattic.com/wordpress/trunk@16385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 15:23:04 +00:00
scribu
b20d93c69c Ignore 'name' qv if 'p' qv is set. Fixes #15433
git-svn-id: http://svn.automattic.com/wordpress/trunk@16384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 13:33:16 +00:00
scribu
9e939da4f3 Fix get_tax_sql() docs. Props Viper007Bond. Fixes #15431
git-svn-id: http://svn.automattic.com/wordpress/trunk@16382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 11:24:55 +00:00
scribu
cc72395bbb Set 'taxonomy' and 'term' query vars for back-compat. Fixes #12659
git-svn-id: http://svn.automattic.com/wordpress/trunk@16381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 10:51:39 +00:00
scribu
7cb5240bd6 Re-parse tax query just before calling get_tax_sql(). Fixes #15161
git-svn-id: http://svn.automattic.com/wordpress/trunk@16380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 10:11:25 +00:00
scribu
2b58e241d0 Better error handling in get_meta_sql(). Props Viper007Bond. See #12891
git-svn-id: http://svn.automattic.com/wordpress/trunk@16379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 10:02:39 +00:00
westi
17d25e2cdc Fix regression in wptexturize with single quotes when used for contraction. See #15241 props norbertm.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 08:52:36 +00:00
nacin
478186859b Properly check, initialize, or cast a number of variables. props ChenHui. see #14642.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 06:38:10 +00:00
scribu
14fa85ba94 Make submitted-on a class instead of an id. Fixes #15426
git-svn-id: http://svn.automattic.com/wordpress/trunk@16375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 20:28:55 +00:00
scribu
a41a7b5b5b Introduce WP_List_Table::get_column_count() and take care of update notice <tr>. Props ocean90 for initial patch. Fixes #15318
git-svn-id: http://svn.automattic.com/wordpress/trunk@16368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 18:00:09 +00:00
scribu
03dd41a0d2 Improve hook readability via curly brackets. Props jjj for initial patch. Fixes #15422
git-svn-id: http://svn.automattic.com/wordpress/trunk@16365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 15:50:02 +00:00
scribu
5ed4e6d260 Fix empty query vars being passed as 'true' instead of ''. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 00:48:30 +00:00
scribu
6b2aa2177f Update doc for WP_Query::post. Fixes #15105
git-svn-id: http://svn.automattic.com/wordpress/trunk@16360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 23:32:18 +00:00
scribu
5f0adf4d70 Use wp_start_object_cache() in switch_to_blog(). Props prettyboymp. Fixes #15361
git-svn-id: http://svn.automattic.com/wordpress/trunk@16359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 23:11:50 +00:00
scribu
7640c5748b Add colon after Upload/Insert. Fixes #14810
git-svn-id: http://svn.automattic.com/wordpress/trunk@16358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 22:52:51 +00:00
scribu
9c4ab78301 Always apply comment_text filter in check_comment(). Props hakre. Fixes #14680
git-svn-id: http://svn.automattic.com/wordpress/trunk@16357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 22:30:36 +00:00
scribu
40b2c5b6c5 Kill WP_Object_Query. See #15032
git-svn-id: http://svn.automattic.com/wordpress/trunk@16353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 18:32:43 +00:00
scribu
cd60463f36 Revert most of [16018]. See #15032
git-svn-id: http://svn.automattic.com/wordpress/trunk@16352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 18:26:15 +00:00
scribu
6267650ddd Split get_search_sql(). See #15170. See #15032
git-svn-id: http://svn.automattic.com/wordpress/trunk@16351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 18:18:45 +00:00
scribu
4b927768fd Prevent horizontal scrollbar. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 15:33:12 +00:00
nacin
134adb6ec1 Move cast to within array_keys to prevent warning when get_the_terms returns false. see #15407.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 15:32:20 +00:00
scribu
e56413ae33 Add 'get_the_terms' filter. Props filosofo. Fixes #15410
git-svn-id: http://svn.automattic.com/wordpress/trunk@16342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 14:08:27 +00:00
nacin
7b010efc77 Escape the class arg in wp_list_categories. props hakre, fixes #11514.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 11:06:26 +00:00
nacin
81a8f2d3ce Use square brackets instead of braces for string access. props hakre, fixes #13900.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 09:53:55 +00:00
nacin
f6d1e9c634 Only a static class method or function can be used in an uninstall hook. props scribu, fixes #13786.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 09:45:57 +00:00
nacin
3ccfb56e3c Set map_meta_cap to true when capability_type = post and no custom caps are specified. see #14122.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 08:40:38 +00:00
westi
00b232ea51 Revert [16320] and [16321] for now. Breaks things
git-svn-id: http://svn.automattic.com/wordpress/trunk@16336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 22:44:16 +00:00
westi
435c4c2dbf Revert most of [16332] - renaming and deprecating a commonly used function is silly. Improving it is good. Fixes #15407.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 21:53:15 +00:00
scribu
98cda5bd65 Replace get_the_category() with get_the_categories(). Props filosofo. Fixes #15407
git-svn-id: http://svn.automattic.com/wordpress/trunk@16332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 20:05:37 +00:00
scribu
18116f12c6 Don't use deprecated category properties. Props filosofo. Fixes #15408
git-svn-id: http://svn.automattic.com/wordpress/trunk@16331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 18:40:51 +00:00
nacin
3f7374b8e6 Self-close embed tag for googlevideo embed handler. props pross, fixes #14230.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 11:17:35 +00:00
nacin
fd4b0965f8 Only register post_format taxonomy to posts. see #15396, #14746.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 10:58:58 +00:00
nacin
2ad9865886 Only mysql_free_result if we have a valid resource, and remove error suppression there. see #15402.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 10:40:43 +00:00
nacin
83fbd4e36b Memory usage and execution improvements in wpdb. Store and work with resources directly, rather than full copies of results. Plugins which incorrectly used wpdb->last_result (a private property) will need to shift to wpdb->get_results() with no \$query. Magic getter is introduced for back compat when using PHP5. props joelhardi, fixes #12257.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 10:15:18 +00:00
nacin
96835b99d0 Use term cache in get_post_format() to save a boatload of queries. see #15396.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 09:49:34 +00:00
nacin
b80fc23177 jQuery 1.4.4. props demetris, fixes #15201, #15227.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 07:13:11 +00:00
nacin
1478fb89f1 Typo fix. see #14424.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 07:04:34 +00:00
markjaquith
75d045de8e Add checks for WP_Error. props ptahdunbar. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 04:10:56 +00:00
markjaquith
6d78cf73f9 Switch to radio boxes for Post Format picking. Saves a click. Maybe we should do this with Post Status as well. see #14746
git-svn-id: http://svn.automattic.com/wordpress/trunk@16314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 04:05:33 +00:00