Commit Graph

8267 Commits

Author SHA1 Message Date
nacin
8b5122b411 Don't load the QuickPress widget via XHR. see #16927. Reverts [16725] as it's no longer needed. Reverts part of [14815], which introduced the behavior, see #10917.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 12:02:24 +00:00
nacin
24ea36e302 Use the post type object in get_posts_by_author_sql() and add a post type parameter to count_many_users_posts(). The formerly somewhat useless and now totally useless pub_priv_sql_capability filter is considered deprecated. fixes #17220.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 11:27:39 +00:00
nacin
65a9b98246 Admin Bar: Add a Themes submenu under Appearance, for consistency. fixes #15931.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 11:17:09 +00:00
ryan
dc20019a24 Add Background and Header to Admin Bar Appearance Menu. fixes #17263
git-svn-id: http://svn.automattic.com/wordpress/trunk@17731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-27 22:06:01 +00:00
ryan
c5fb371ec6 kses optimizations. Props duck_. fixes #17045
git-svn-id: http://svn.automattic.com/wordpress/trunk@17730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-27 21:50:39 +00:00
ryan
8e21f7f098 Translate default link labels for *posts_link(). Props nathanrice, CharlesClarkson. fixes #16998
git-svn-id: http://svn.automattic.com/wordpress/trunk@17728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-27 21:25:09 +00:00
azaozz
048d3a26b2 jQuery 1.5.2, props JDTrower demetris, fixes #16426
git-svn-id: http://svn.automattic.com/wordpress/trunk@17725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-27 20:11:06 +00:00
dd32
04e5dc178d Allow Taxonomies to be queried by $_GET parameters on non-taxonomy url's. See #17174
git-svn-id: http://svn.automattic.com/wordpress/trunk@17706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-26 10:49:00 +00:00
azaozz
d01d27abc4 Don't hide the top bar when the cursor is over it, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-26 07:20:56 +00:00
azaozz
a5f2b7d50c DFW: remove unneeded JS global, fix screen flash in WebKit, props koopersmith, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-26 01:19:26 +00:00
azaozz
57134c64b7 Fix image insertion in IE, fixes #17237
git-svn-id: http://svn.automattic.com/wordpress/trunk@17701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-25 22:49:22 +00:00
ryan
0667ceb3be Introduce WP_Meta_Query and relation support. Props scribu, greuben. fixes #17165 #17011
git-svn-id: http://svn.automattic.com/wordpress/trunk@17699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-25 17:27:35 +00:00
ryan
ed6d0bbd37 Typo fix. Props ocean90, guyn. fixes #17234
git-svn-id: http://svn.automattic.com/wordpress/trunk@17698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-25 14:33:27 +00:00
azaozz
c54adb08df Fix padding in DFW mode, add the new wpfullscreen plugin in wp-tinymce.js.gz, fix notices in press-this see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-25 14:27:11 +00:00
azaozz
2ec8740e9b Fix Opera event name and bump TinyMCE version string, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-25 01:28:23 +00:00
azaozz
258a8f6844 Distraction Free Writing mode, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-25 01:01:34 +00:00
azaozz
a69059331c Fix missing comma in TinyMCE advanced theme image.js, props johnjamesjacoby, fixes #17233
git-svn-id: http://svn.automattic.com/wordpress/trunk@17694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-24 23:27:48 +00:00
dd32
ad5f5db861 Allow the cURL transport to handle '0' response bodies. Fixes #17223
git-svn-id: http://svn.automattic.com/wordpress/trunk@17692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-23 13:49:52 +00:00
nacin
f1b2f79add Update wp-tinymce.js.gz and bump. see #16631.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-23 10:44:00 +00:00
dd32
1eaf6f8527 Allow WP_Query 'post_status' parameter to accept an array, as well as a singular value and comma separated list. Fixes #16824
git-svn-id: http://svn.automattic.com/wordpress/trunk@17689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-23 10:36:22 +00:00
dd32
b0fdc73dca Prevent $taxonony->object_type containing duplicate values. Initial patch props kevinB. Fixes #16951
git-svn-id: http://svn.automattic.com/wordpress/trunk@17688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-23 09:27:37 +00:00
azaozz
4f9f5f1765 Use wpLink in the HTML editor too, props koopersmith, fixes #16631
git-svn-id: http://svn.automattic.com/wordpress/trunk@17687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-23 02:12:56 +00:00
ryan
0a5a01e991 Handle term intersection requests containg inexistent terms. Props scribu. fixes #17194
git-svn-id: http://svn.automattic.com/wordpress/trunk@17686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-22 19:09:48 +00:00
nacin
8a0d83bebe Apply esc_html properly in Walker_PageDropdown. fixes #17217.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-22 18:24:57 +00:00
ryan
f9b418a2f9 Move wp_clone() back to load.php. Props technosailor. fixes #17206
git-svn-id: http://svn.automattic.com/wordpress/trunk@17681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-22 17:46:02 +00:00
azaozz
c07e04ec65 Fix dependencies for some jQuery UI components, props scribu, fixes #16511
git-svn-id: http://svn.automattic.com/wordpress/trunk@17680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-21 22:29:25 +00:00
azaozz
ca1923c510 Update json2.js, props niallkennedy, fixes #16669
git-svn-id: http://svn.automattic.com/wordpress/trunk@17679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-21 22:21:27 +00:00
ryan
1e075ab1ab Update phpass. Props duck_. fixes #16072
git-svn-id: http://svn.automattic.com/wordpress/trunk@17678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-21 20:44:39 +00:00
ryan
a619926bab Update pop3 class. Props aaroncampbell. fixes #17064
git-svn-id: http://svn.automattic.com/wordpress/trunk@17677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-21 20:40:32 +00:00
ryan
a1128831ec Update phpmailer and smtp to 5.1. Props MattyRob cnorris23. fixes #15912
git-svn-id: http://svn.automattic.com/wordpress/trunk@17676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-21 20:29:30 +00:00
azaozz
f8da5471ee Fix decoding of ' in TinyMCE
git-svn-id: http://svn.automattic.com/wordpress/trunk@17675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-21 20:20:56 +00:00
ryan
686c35340b Allow querying empty meta values. Props scribu. fixes #15292
git-svn-id: http://svn.automattic.com/wordpress/trunk@17674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-21 18:13:03 +00:00
ryan
430bb76d4b Allow retrieving comments by post type, status, author, author, name, or parent. Fetch only published posts for recent comments widget. Props filosofo. fixes #16506 #12904
git-svn-id: http://svn.automattic.com/wordpress/trunk@17667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-20 18:02:41 +00:00
josephscott
acdb6ea093 Expose the content width as a read only option via XML-RPC.
Fixes #17131 props koke, nacin


git-svn-id: http://svn.automattic.com/wordpress/trunk@17663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-20 15:26:38 +00:00
azaozz
b3bb537735 Press This bookmarklet redesign, props chexee, fixes #17184
git-svn-id: http://svn.automattic.com/wordpress/trunk@17662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-20 07:24:11 +00:00
azaozz
8a9627d150 Fix font color in admin bar site list, fixes #17178
git-svn-id: http://svn.automattic.com/wordpress/trunk@17661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-20 06:37:23 +00:00
dd32
e2b914fbad Remove support for the PHP HTTP Extension from WP_HTTP. The PHP HTTP Extension is a wrapper around libcurl and fopen() providing limited configuration and is supported on a minority of servers due to its non-default inclusion. Props sivel. Fixes @16978
git-svn-id: http://svn.automattic.com/wordpress/trunk@17659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-19 04:22:59 +00:00
ryan
2317e890c2 Used passed admin bar object instead of global. Props solarissmoke. fixes #16540
git-svn-id: http://svn.automattic.com/wordpress/trunk@17658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-18 22:03:34 +00:00
ryan
6827de6cd9 Remove PHP4 constructors. Props scribu. fixes #16768
git-svn-id: http://svn.automattic.com/wordpress/trunk@17655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-18 21:46:57 +00:00
ryan
7b645b1bfe Remove PHP4 constructor. Props ocean90. see #16768
git-svn-id: http://svn.automattic.com/wordpress/trunk@17654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-18 21:45:20 +00:00
ryan
2053dcca12 Don't pollute orderby query var. Props scribu. fixes #16844
git-svn-id: http://svn.automattic.com/wordpress/trunk@17653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-18 21:27:13 +00:00
ryan
746bb77bf3 More efficient term intersection query. Props tigertech. see #16706
git-svn-id: http://svn.automattic.com/wordpress/trunk@17652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-18 20:38:59 +00:00
josephscott
03b604d309 Allow Pages to have a status of pending.
Fixes #17000 props mrroundhill, nprasath002


git-svn-id: http://svn.automattic.com/wordpress/trunk@17651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-18 17:30:58 +00:00
josephscott
c8aeb477bc Add support to wp.getPostFormats to provide a list of the currently supported post formats in addition to the complete list.
Fixes #17094 


git-svn-id: http://svn.automattic.com/wordpress/trunk@17650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-18 17:27:29 +00:00
josephscott
ca45144dd5 Include the post status in the response for mt.getRecentPostTitles calls
Fixes #17091 props daniloercoli


git-svn-id: http://svn.automattic.com/wordpress/trunk@17649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-18 17:16:46 +00:00
josephscott
3f4f150632 Don't reset the post slug on XML-RPC calls.
Fixes #12947 props cfinke, nprasath002


git-svn-id: http://svn.automattic.com/wordpress/trunk@17648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-18 16:32:26 +00:00
westi
0f7cac9f64 More better phpdoc for XMLRPC functions. See #15238 props koke.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-18 07:26:42 +00:00
westi
50299d53c0 The beginings of better phpdoc for XMLRPC functions. See #15238 props koke.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-18 07:23:47 +00:00
westi
eed35967cc Introduce a special wp_die handler for XMLRPC requests to ensure we send an XML response.
Props koke for the original patch. See #16748.

git-svn-id: http://svn.automattic.com/wordpress/trunk@17643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-17 08:35:51 +00:00
westi
9c0a5cd498 Don't do SSL discovery for every RSD request. APP endpoint already respects the SSLness of the site. Fixes #15960.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-17 07:48:34 +00:00
westi
10084a7fb1 Allow custom author elements such as email. Fixes #17149 props niallkennedy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-17 07:39:41 +00:00
azaozz
e4bf0a4e78 Fix two rare regressions: alert when the login has expires and when post is edited by another user, fixes #16928
git-svn-id: http://svn.automattic.com/wordpress/trunk@17640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-16 02:37:44 +00:00
azaozz
03c3c94d1e Remove redundant IE restore selection calls for TinyMCE, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-15 04:20:12 +00:00
ryan
3e77cd18c9 Avoid array push/pops for empty filters and actions. fixes #17110
git-svn-id: http://svn.automattic.com/wordpress/trunk@17638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-14 18:05:30 +00:00
ryan
8f8b8d16a7 Remove PHP4 timezone support. Props hakre. fixes #16970
git-svn-id: http://svn.automattic.com/wordpress/trunk@17637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-13 17:30:02 +00:00
ryan
74354459f1 Performance improvements for wptexturize(). Props solarissmoke, hakre. fixes #16684
git-svn-id: http://svn.automattic.com/wordpress/trunk@17636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-13 17:11:35 +00:00
ryan
ae9e348cd6 Use proper prefix in query. Fixes user queries ordered by post count. Props ziofix, ericmann. fixes #17123 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-13 17:02:08 +00:00
nacin
1cdd5ad41a Remove more E_RECOVERABLE_ERROR checks. props duck_, see #16920.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-12 09:21:13 +00:00
ryan
4e09dfc8fb Remove PHP4 constructor. Props Jayjdk. see #16768
git-svn-id: http://svn.automattic.com/wordpress/trunk@17631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-11 18:57:34 +00:00
ryan
64552a67ee Use stripos() instead of strpos( strtolower() ). Props hakre. see #16920
git-svn-id: http://svn.automattic.com/wordpress/trunk@17630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-11 18:55:11 +00:00
azaozz
2d51628075 Fix EOL for newly added files
git-svn-id: http://svn.automattic.com/wordpress/trunk@17628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-11 18:23:51 +00:00
azaozz
c1b62ef341 Not 12, 13px, see #17107
git-svn-id: http://svn.automattic.com/wordpress/trunk@17627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-11 08:01:34 +00:00
azaozz
b536e532f0 Stop themes and plugins from overriding the admin bar CSS, props johnjamesjacoby, fixes #17107
git-svn-id: http://svn.automattic.com/wordpress/trunk@17626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-11 07:51:53 +00:00
azaozz
24599d17f0 Update TinyMCE to 3.4.2, includes native <iframe>, <audio>, <video> support and stops removing HTML 5.0 tags, fixes #17086
git-svn-id: http://svn.automattic.com/wordpress/trunk@17625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-10 18:36:05 +00:00
azaozz
307e9a0753 Remove width: 99.5% from metaboxes, props andrewryno, fixes #17084
git-svn-id: http://svn.automattic.com/wordpress/trunk@17624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-08 20:35:51 +00:00
azaozz
9ac90e3262 Don't refresh the admin menu after page load, apply the user-state from PHP, fix behaviour after folding the menu, props nacin, props nuxwin, fixes #10646, fixes #17058
git-svn-id: http://svn.automattic.com/wordpress/trunk@17623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-07 18:45:22 +00:00
markjaquith
86bc31ea2b Add mb_substr() back to compat.php (it is non-default). see #16918. props joostdevalk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-07 15:46:57 +00:00
markjaquith
613639762a Add _() back to compat.php (it is non-default). see #16918. props aaroncampbell
git-svn-id: http://svn.automattic.com/wordpress/trunk@17620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-07 15:46:48 +00:00
dd32
619d4d2dba Ensure that the Update API's are always using a non-modified $wp_version. Props nacin. Fixes #14384
git-svn-id: http://svn.automattic.com/wordpress/trunk@17619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-07 10:04:45 +00:00
dd32
197e081e19 Prevent update API requests on every load of themes.php when no updates are available. Fixes #16362
git-svn-id: http://svn.automattic.com/wordpress/trunk@17618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-07 09:56:20 +00:00
dd32
c1e70ae5e6 Verify certificate matches both the common name and the provided hostname. WP_HTTP_Curl requires CURLOPT_SSL_VERIFYHOST be either 2 or false. Props sivel. Fixes #16904
git-svn-id: http://svn.automattic.com/wordpress/trunk@17616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-07 08:38:36 +00:00
nacin
14ec951269 Make underscores valid in sanitize_html_class. fixes #17067.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-06 21:28:52 +00:00
ryan
e3895262ef Deprecate wp_clone(). Call clone directly. Props hakre. fixes #16813
git-svn-id: http://svn.automattic.com/wordpress/trunk@17613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-06 17:44:29 +00:00
ryan
c5b47b029c Remove setcookie() back compat. Props hakre. see#16920
git-svn-id: http://svn.automattic.com/wordpress/trunk@17612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-06 17:07:59 +00:00
ryan
f67a8e70ed There is not a NOT operator. Props scribu. fixes #17054 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-06 16:08:23 +00:00
dd32
ba0153096a Revert [17608] adding back [17596] and actually include the dummy function this time. See #17057 Fixes #17050
git-svn-id: http://svn.automattic.com/wordpress/trunk@17609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-06 00:42:07 +00:00
nacin
b4a2ecf0c4 Revert [17596] for now. props kawauso, see #17057, see #17050.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-05 23:17:10 +00:00
ryan
ebaa6ded07 Set is_* flags for AND taxonomy queries. fixes #17054 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-05 18:48:53 +00:00
ryan
b60c345536 Remove PHP4 constructors. Props hakre. see #16768
git-svn-id: http://svn.automattic.com/wordpress/trunk@17604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-05 17:25:08 +00:00
ryan
91dc365567 Take out unnecessary compat functions from compat.php. Props hakre, ptahdunbar. see #16918
git-svn-id: http://svn.automattic.com/wordpress/trunk@17603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-05 17:13:04 +00:00
dd32
864330c766 explode always returns an array in this context. Props hakre. Fixes #16958
git-svn-id: http://svn.automattic.com/wordpress/trunk@17600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-05 06:41:51 +00:00
dd32
b4d213c7a5 Fix warning in HTTP Header parsing where response message is not specified. Props hakre. Fixes #16885
git-svn-id: http://svn.automattic.com/wordpress/trunk@17599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-05 06:21:56 +00:00
dd32
d5ae0717c0 Streamline WP_Http_*::test() methods: Check basic SSL requirements, only allow filters to disable transports, not enable them after ::test() has failed. Props mdawaffe for the initial patch. See #16606
git-svn-id: http://svn.automattic.com/wordpress/trunk@17598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-05 06:09:43 +00:00
dd32
06dab650ac Return 4xx errors as a standard response from WP_HTTP, Brings it in line with the rest of the transports for 4xx error handling. See #17010
git-svn-id: http://svn.automattic.com/wordpress/trunk@17597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-05 04:06:40 +00:00
dd32
0ec5e89f63 Pass image URL's to thickbox via L10n in script-loader.php. Allows thickbox to be used on any page in the install without defining the image URL variables. Fixes #17050
git-svn-id: http://svn.automattic.com/wordpress/trunk@17596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-05 03:58:25 +00:00
azaozz
ade138d7ac Fix display of apostrophes in the user's first and last names on the User Profile page, partial props andrewryno, see #17004
git-svn-id: http://svn.automattic.com/wordpress/trunk@17587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-01 20:40:16 +00:00
ryan
05f63a579b s/esc_url_raw/esc_url/. Props duck_.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-01 19:29:06 +00:00
dd32
e4e4a084d4 Default WP_LANG_DIR to WP_CONTENT_DIR/languages when wp-includes/languages/ doesn't exist. Fixes #17006
git-svn-id: http://svn.automattic.com/wordpress/trunk@17575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-31 08:11:30 +00:00
ryan
975a6a8c8d Reduce backtracking in make_clickable() regex. Reduce pcre.recursion_limit to avoid segfaulting. Props hakre. For trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-28 21:39:16 +00:00
dd32
ef063f8508 Use the correct variable name; Simpler static initialisation. Props hakre. See #11613 & #16978
git-svn-id: http://svn.automattic.com/wordpress/trunk@17566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-28 09:55:15 +00:00
azaozz
b8d696b2a6 Handle error response in autosave_update_slug(), props nacin, fixes #16975
git-svn-id: http://svn.automattic.com/wordpress/trunk@17565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-27 20:09:09 +00:00
nacin
66befd1f7e Initialize a variable. props boonebgorges, fixes #16977.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-27 19:46:18 +00:00
dd32
de498967ef Correct logic for cURL Errors, add extra sanity protection in ::processHeaders to guard against null inputs. See #16236
git-svn-id: http://svn.automattic.com/wordpress/trunk@17563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-26 03:32:05 +00:00
azaozz
0aa3cc7f09 Fix position of submenus when showing avatar, props johnjamesjacoby, see #16667 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-25 20:32:07 +00:00
dd32
00dc7a57d6 First run of introducing Stream-To-File for the WP_HTTP API. Reduces memory consumption during file downloads. Implemented in download_url() for upgraders. Props sivel. See #16236
git-svn-id: http://svn.automattic.com/wordpress/trunk@17555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-25 02:42:20 +00:00
nacin
ec382258b3 Change this string to one that already exists. props ericmann, fixes #16806.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-24 16:12:47 +00:00
ryan
1853efd70a Parse the meta query again if query vars change. Set a global query_vars_changed flag instead of doing multiple hash creation calls. Props greuben. see #16742 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-24 16:07:24 +00:00
dd32
0e08826bbd Allow for array('redirection' => 0) to bypass WP_Error on redirects being encountered; Allows HEAD requests WITH 'redirection' > 0 specified at call time to follow redirections; Standardises on return values from all transports to act the same based on the Unit Tests. Fixes #16855
git-svn-id: http://svn.automattic.com/wordpress/trunk@17551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-24 05:18:34 +00:00
dd32
6dd4dbec38 Fix WP_HTTP to only make a request upon a working transport, as well as to allow Unit Testing. Removes the getTransport() & postTransport() methods as they're no longer needed, replaces them with a single _dispatch_request() method. Fixes #11613
git-svn-id: http://svn.automattic.com/wordpress/trunk@17550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-24 02:16:13 +00:00
markjaquith
1cc45202e6 Prevent Notice if the author object is not set.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-23 21:25:35 +00:00
ryan
c1da7bbb0b Don't die inside db_connect() if connection fails. Let dead_db() handle it. fixes #16640 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-23 19:57:35 +00:00
nacin
d9abef8ea3 Bail early in dynamic_sidebar() if there are no sidebars. fixes #14816.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-23 18:59:52 +00:00
nacin
bd6fe3c99c Document that the size parameter in image_downsize() can also be an array. props scribu, fixes #16263.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-23 18:46:38 +00:00
nacin
eb0c3c6419 Reference proper function equivalents in deprecated.php. props pross, fixes #15253.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-23 18:44:07 +00:00
nacin
a678aa115a Fix copypasta typo in docblock. props scribu, fixes #16384.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-23 18:42:59 +00:00
nacin
edaea210a1 Remove dead globals. props mitchoyoshitaka. fixes #16571.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-23 18:39:16 +00:00
ryan
f679a75b0c Don't die for failed db connects during install. Props westi. fixes #16640 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-23 17:46:40 +00:00
dd32
9fec2e59dc Prune PHP5 compat checks in WP_Http, WP_Http_Curl & WP_Http_Streams. Only removes pre PHP 5.2.4 conditional code. See #13915
git-svn-id: http://svn.automattic.com/wordpress/trunk@17535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-23 11:58:09 +00:00
dd32
ebf169b350 Remove PHP4 based WP_Http_Fopen class. Props sivel for initial patch. See #16917 Fixes #13915
git-svn-id: http://svn.automattic.com/wordpress/trunk@17534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-23 11:35:41 +00:00
ryan
2a4b3c6c0f Fix display of oversized custom user/site icons in the admin bar. Props jtsternberg, JohnONolan. see #16667 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-22 20:42:43 +00:00
ryan
238dff4948 Avoid var name conflict in _get_meta_sql(). Fixes type var passed to get_meta_sql filter. Props Rahe, nacin. fixes #16825 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-22 20:35:47 +00:00
ryan
26bdf10db9 Add back compat fields to queried category objects. Props scribu, duck_. fixes #16857 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-22 20:27:45 +00:00
ryan
ebecb8ffdf Return false instead of WP_Error from get_term_by() if the term does not exist. Makes fetching a term by id consistent with slug and name. Props hakre. fixes #16464 #16717 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-22 20:06:38 +00:00
markjaquith
d36a6d3d6c Bump PHP requirement to 5.2.4. Bump MySQL requirement to 5.0. see #16917
git-svn-id: http://svn.automattic.com/wordpress/trunk@17523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-21 18:30:56 +00:00
nacin
9d5f123778 Add TinyMCE version number. props SergeyBiryukov, fixes #16674 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-10 18:47:44 +00:00
markjaquith
59f5dff476 Correctly handle PATHINFO CPTs and CTs that specify with_front=false. fixes #16807 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-10 04:24:48 +00:00
markjaquith
acb3938c8a Make plugin header parsing slightly more liberal (like it was in 3.0), to allow for PHPdoc style headers. props miqrogroove. fixes #16751 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-09 05:46:58 +00:00
markjaquith
1a7a1d9986 Use with_front properly when creating rules for CPT archive pages. props scribu. fixes #16626 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-09 05:40:52 +00:00
markjaquith
afdda66384 Prevent double index.php preprend on PATHINFO custom taxonomy permalinks. Proper use of with_front. props greuben. fixes #16918. fixes #16622. see #15813. see #12659. For trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-09 05:18:45 +00:00
ryan
5251aec87f Don't show admin bar on login screen. Props nacin. fixes #16588 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-08 22:48:05 +00:00
ryan
183cd06cf3 Check for WP_Error return from get_term_by(). Props fabifott, kawauso, nacin. fixes #16717 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-08 22:06:35 +00:00
ryan
73799784cc Don't perform taxonomy queries for single post requests. Props scribu. fixes #16793 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-08 22:01:19 +00:00
ryan
9e37c6dc0a Don't double process the tag query var. Props scribu. fixes #16730 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-03 16:11:02 +00:00
ryan
0d6c2100fa Do not do canonical redirects for unregistered feeds. fixes #16704 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-03 15:55:24 +00:00
markjaquith
30bc33ad5a Revert to the cat=X permalinks from 3.0 and earlier. props dd32. fixes #16644 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-02 17:29:11 +00:00
ryan
9d648af0de Do not perform canonical redirects for IISto avoid redirect loops on some IIS setups. fixes #16639 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-02 15:33:11 +00:00
markjaquith
8c218d87f0 Reparse the taxonomy query if query vars change. fixes #16622 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-02 04:10:21 +00:00
nacin
dc9a897487 3.2-bleeding
git-svn-id: http://svn.automattic.com/wordpress/trunk@17488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-23 16:51:47 +00:00
markjaquith
47a4114b89 3.1
git-svn-id: http://svn.automattic.com/wordpress/trunk@17485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-23 14:44:55 +00:00
markjaquith
94c9d20a33 Make a written offer pointing to a central WordPress.org URL for obtaining the source to any binary programs included in WordPress, instead of relying on third party sites. Include the MIT license file that the swfupload project omitted from their codebase. fixes #16517 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-21 19:36:16 +00:00
markjaquith
a34a772c5a Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@17467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-18 06:08:07 +00:00
markjaquith
6e1fc710d9 Do not attach wp_enqueue_scripts to login_head. New login_enqueue_scripts hook. props nacin. fixes #16586 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-18 05:10:58 +00:00
ryan
70a8b60f92 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@17463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-17 01:30:56 +00:00
nacin
ca83903504 Bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-16 19:38:22 +00:00
ryan
4d46e8d95e Lose create_function() in links_add_target() and links_add_base_url(). esc_attr() the target to provide extra coverage for plugins. Props Justin Rainbow, nacin. For trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-16 19:24:18 +00:00
ryan
a2603e710e Use ->query instead of . Always kick off the parse_query action. fixes #16545 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-16 16:25:52 +00:00
ryan
ffc27243db Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@17453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-15 23:59:45 +00:00
ryan
c6931fd951 Run parse_query() in get_posts() so that the query vars are always parsed for set(), get_posts() patterns. fixes #16545 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-15 23:57:13 +00:00
nacin
7d7922ba19 s/owpbody/wpbody/. props ptahdunbar, fixes #16559 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-14 22:57:18 +00:00
ryan
55c2425b3b Don't allow passing slugs to get_tag_link() and get_category_link(); they are too ambiguous. Restore WP_Error return to get_term_link(). fixes #16521 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-10 21:48:40 +00:00
ryan
035b775354 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@17441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-10 20:41:08 +00:00
ryan
6a8ff66305 Return empty strings instead of WP_Errro from get_category_link(), get_term_link(), and get_tag_link() when passed an invalid term. Clarify phpdoc. Props nacin. fixes #16521 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-10 20:17:54 +00:00
ryan
f63ccddadb Pink the whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-09 17:35:36 +00:00
nacin
3e569036a5 Cleanup crew.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-09 17:35:24 +00:00
ryan
3cd43bf6b8 Don't query the post format for post types that don't support formats. Props nacin. fixes #16503 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-09 17:13:28 +00:00
ryan
6fbe3c685d Return early if list is not an array. Props nacin. fixes #16499 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-09 17:06:22 +00:00
nacin
20c5d823bc Use wp_kses_post instead of wp_kses_data for a better balance between security and flexibility. fixes #16489 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-08 20:17:09 +00:00
ryan
2af129d664 RC4
git-svn-id: http://svn.automattic.com/wordpress/trunk@17417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-07 23:01:06 +00:00
ryan
c7dee15b3c Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@17413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-07 19:19:41 +00:00
ryan
f613349c98 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@17409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-06 19:20:00 +00:00
ryan
80f47f270b Run sanitize_key() on post_status, comment_status, and ping_status on the way into the DB. Props duck_. For trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-06 18:37:20 +00:00
markjaquith
57eeed9f3e Do not use PHP5-only array_combine. props duck_. see #16459 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-05 18:46:07 +00:00
ryan
322898f150 Preserve tag escaping. Props koopersmith, Nils Jueneman. For trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-05 18:31:05 +00:00
markjaquith
7cfc0088d6 No translation for post format slugs. Too fragile for the future. fixes #16459 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-05 18:24:01 +00:00
markjaquith
b9487742e0 Improvement to check_admin_referer() when called without first argument (PLUGIN AUTHORS: STOP DOING THAT). props indie-ulf. fixes #16449 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-03 20:42:00 +00:00
markjaquith
c08a6a4044 restore_current_blog() in add_user_to_blog() and remove_user_from_blog() before early return, to avoid being stuck in a switched state. props mdawaffe. fixes #16444 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-03 00:17:30 +00:00
markjaquith
790f28fbe1 Remove admin bar CSS cruft that darkened the bar in RTL languages. props ocean90. fixes #16427 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-01 01:42:09 +00:00
nacin
e656d1ab86 D'oh.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-31 17:28:27 +00:00
nacin
d6a40438f6 Keep trunk and branches/3.1 in sync for now, for the beta tester plugin. Bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-31 17:27:29 +00:00
nacin
95ef90de64 Add context to 'Format' string. props scribu, SergeyBiryukov, fixes #16423 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-31 12:18:57 +00:00
markjaquith
9afb883ffa Please switch to branches/3.1! See: http://wp.me/pbNCB-lf for background.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-30 21:23:55 +00:00
ryan
f2feff7453 Admin bar CSS fix; removes unnecessary scrollbars. Props WraithKenny. fixes #15507
git-svn-id: http://svn.automattic.com/wordpress/trunk@17368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-27 15:18:22 +00:00
ryan
3d90dfb160 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@17365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-25 20:04:24 +00:00
ryan
b345e996c7 Pagination fixes. Props garyc40. fixes #16357
git-svn-id: http://svn.automattic.com/wordpress/trunk@17361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-25 19:20:20 +00:00
markjaquith
8e98240a80 Get is_post_type_archive( 'my-post-type' ) working properly outside of the loop. props bit4. fixes #16347
git-svn-id: http://svn.automattic.com/wordpress/trunk@17358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-24 21:15:50 +00:00
markjaquith
4603a50cae Revert [16832]. see #9591. fixes #16282
git-svn-id: http://svn.automattic.com/wordpress/trunk@17357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-24 06:26:38 +00:00
nacin
7c2102556c RC3.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 18:50:23 +00:00
ryan
862b5e4da7 Update counts and pagination when trashing and moderating comments. Props garyc40, koopersmith, mdawaffe, nacin. fixes #15530
git-svn-id: http://svn.automattic.com/wordpress/trunk@17354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 18:47:42 +00:00
ryan
a0b442ede7 Admin bar RTL fixes. Props ocean90. fixes #16340
git-svn-id: http://svn.automattic.com/wordpress/trunk@17348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 13:40:58 +00:00
ryan
498c93cb81 Revert [17327] and [15858]. Props markmcwilliams, JohnONolan, et al. see #16298 #8352
git-svn-id: http://svn.automattic.com/wordpress/trunk@17347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 03:25:29 +00:00
ryan
9d0ec2454f jQuery UI 1.8.9. Props demetris. fixes #16331
git-svn-id: http://svn.automattic.com/wordpress/trunk@17346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-22 02:30:03 +00:00
markjaquith
47c8008257 Fix the comments "river." issue 9. props garyc40. see #16262
git-svn-id: http://svn.automattic.com/wordpress/trunk@17344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-21 21:17:12 +00:00
markjaquith
acd8d41b65 Fix inter-page navigating on Edit Comments screen when using keyboard shortcuts. props garyc40. see #16262
git-svn-id: http://svn.automattic.com/wordpress/trunk@17343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-21 20:28:41 +00:00
nacin
f8c83ed7d3 Correct the @return for get_term_link. It always has been able to return WP_Error. props SergeyBiryukov, see #16282.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-20 23:36:42 +00:00
nacin
1dcd3afe46 Compress and bump, see #16308.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-20 20:59:53 +00:00
ryan
4ca193fb7f Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@17330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-19 18:56:21 +00:00
nacin
b642ea2c77 Only show 'Edit %s' in the admin bar when show_ui. fixes #16304.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-19 16:58:30 +00:00
nacin
d4dd0fe211 Remove Lucida Grande from the remaining font stacks. We should at least be consistent. props demetris, fixes #16298, see #8352.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-19 09:44:17 +00:00
markjaquith
fb6bed81c7 Several list table JS fixes. restores XHR comment status changes. props garyc40. see #16262
git-svn-id: http://svn.automattic.com/wordpress/trunk@17326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-18 17:32:35 +00:00
nacin
37075f7f71 Remove AJAX from list tables. first pass. see #16262.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-16 21:47:24 +00:00
nacin
94eb65baa0 Revert [17270], [17273], see #16166, see #16262.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-16 21:34:38 +00:00
nacin
f020f81261 Remove cruft overflow:hidden from the admin bar items. props ocean90, fixes #15654.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-16 04:36:46 +00:00
westi
42f57d4798 Remove this new filter as it didn't get enough discussion prior to addition.
Revisit later. See #14310.

git-svn-id: http://svn.automattic.com/wordpress/trunk@17316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-15 23:44:06 +00:00
westi
3927f60c18 Things that go bump in the night
git-svn-id: http://svn.automattic.com/wordpress/trunk@17315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-15 22:39:35 +00:00
nacin
692a2c0ed2 Stop localizing the admin bar. props ocean90, fixes #16155.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-15 21:13:49 +00:00
westi
96736834de Add explit link to the licence for this file. Fixes #16078
git-svn-id: http://svn.automattic.com/wordpress/trunk@17312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-15 17:49:03 +00:00
nacin
6b50544ca5 jQuery UI 1.8.8. props demetris, fixes #16234.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-15 00:39:38 +00:00
markjaquith
2ebbbd7bdd WordPress contains libraries only available under the GPL v2 or later. No one cares about the GPL v1 anymore. We are now specifically saying that WordPress is available under the GPL version 2 or (at your option) any later version. This was discussed with the entire core team.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-14 19:26:43 +00:00
nacin
ccc6cfaafd For admin bar padding, use margin on the html element instead of padding on the body element. Causes far less conflicts. props aldenta, fixes #16222.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-14 17:52:51 +00:00
nacin
6423c620f8 Don't allow an empty rewrite slug for CPT. If you need something like this, do rewrite=>false. fixes #15082.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-14 15:42:56 +00:00
nacin
1968829603 Rename wp_admin_bar_init to _wp_admin_bar_init and add a note that removing this action is the wrong way to do it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-14 05:57:25 +00:00
westi
8a5691b6f8 Switch to using min-width so long titles can be displayed instead of using elipsis. Fixes #15654 props koopersmith.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-14 02:25:24 +00:00
nacin
ce0ebf0c95 Only add the post format post classes when the post type supports post formats. posts posts posts posts. props iandstewart, fixes #16224.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 23:02:24 +00:00
nacin
c605738e8b Remove the TinyMCE media plugin. fixes #14647.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 21:57:30 +00:00
markjaquith
4920e7a54f Recompress some JS scripts that were done without YUI munging.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 08:04:58 +00:00
markjaquith
05c334b51d script compress and bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@17285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 07:17:22 +00:00
ryan
903abc97fb Bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 05:26:06 +00:00
nacin
b0ad5b5928 Just a typo of the class name. fixes #14786.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 05:08:40 +00:00
nacin
519449a9f9 Fix plugin-install column hiding and widths. props PeteMall, fixes #16210.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 01:50:23 +00:00
westi
d8c6938af1 Bump script loader versions. See #16211
git-svn-id: http://svn.automattic.com/wordpress/trunk@17280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 01:35:28 +00:00
westi
2a75d9c511 Add unique ids as well as of classes in the admin bar to make it easier for plugins to extend.
Ensure we escape the classname.
Fixes #16211 props koopersmith.

git-svn-id: http://svn.automattic.com/wordpress/trunk@17279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 01:34:15 +00:00
ryan
121c9615e1 Resurrect 'tag' query processing. see #16157
git-svn-id: http://svn.automattic.com/wordpress/trunk@17272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-12 21:44:47 +00:00
nacin
7c5fd789ac Keep sorting and paging for bulk actions. props garyc40, see #16166.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-12 17:06:33 +00:00
westi
43fa1e5294 Admin Bar - show fullsite name in the tooltip. Correct some escaping. Fixes #16197 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-12 16:02:56 +00:00
nacin
4d7ad91916 Check for a property of the object as well. props koopersmith, see #16194.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-12 06:11:18 +00:00
nacin
84369f43f9 Admin bar shortlink improvements. props koopersmith, fixes #16155.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-12 00:32:00 +00:00
ryan
770ca584d5 Expand shortlink menu when clicked. Fix displayed of shortlinks when rel shortlink is missing. Props koopersmith. fixes #16155
git-svn-id: http://svn.automattic.com/wordpress/trunk@17263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 22:45:14 +00:00
nacin
f924216639 Give the format taxonomy a name. props SergeyBiryukov, see #16172.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 22:11:32 +00:00
nacin
3e45fdb260 Disallow a self-reference on RSS widget save, which would DoS a site. Checking home/siteurl should cover the vast majority of cases. see #8910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 21:37:12 +00:00
westi
db4c62761a Bumpity
git-svn-id: http://svn.automattic.com/wordpress/trunk@17258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 20:42:41 +00:00
westi
755a90cb29 Fix wplink version. Bump list-table version. Fixes #16188 props scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 20:37:53 +00:00
nacin
6a7411f3b0 Nonce checks for internal linking and list table ajax. fixes #16188.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 20:03:50 +00:00
markjaquith
6031c43ecd Minify and bump list-table.js see #16190
git-svn-id: http://svn.automattic.com/wordpress/trunk@17253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 19:40:31 +00:00
ryan
1e7b49cece Set tag_id for tag queries. Add NOT support to wp_list_filter(). Props scribu. fixes #16170
git-svn-id: http://svn.automattic.com/wordpress/trunk@17251 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 18:56:59 +00:00
nacin
adb4f75729 Limit post format queries to the post types registered for the taxonomy. see #16149.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 18:30:37 +00:00
nacin
e46f21c459 Set a background color for the admin bar css3 gradient. props koopersmith, fixes #16142.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 18:19:26 +00:00
nacin
727600ac64 RTL fixes. props yoavf, SergeyBiryukov, fixes #16160.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 18:17:53 +00:00
ryan
939d6de748 Don't parse cat query var twice. Don't include children for category__* queries. Props SergeyBiryukov. see #16152
git-svn-id: http://svn.automattic.com/wordpress/trunk@17246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-09 20:49:11 +00:00
ryan
6a812fc677 Cast category and tag query args to array to allow passing a single ID or slug. Props SergeyBiryukov. fixes #14892
git-svn-id: http://svn.automattic.com/wordpress/trunk@17245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-09 16:42:01 +00:00
ryan
f06af8506b category__and, tag__and, tag_slug__in, tag_slug__and support. fixes #16157
git-svn-id: http://svn.automattic.com/wordpress/trunk@17244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-09 16:19:48 +00:00
ryan
6baed7c3ea Use correct var. Props westi. fixes #16145
git-svn-id: http://svn.automattic.com/wordpress/trunk@17243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-08 17:21:49 +00:00
nacin
caa9770b12 RTL contextual help fix. props rasheed, SergeyBiryukov, fixes #16151.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-08 08:25:31 +00:00
nacin
b95f4faa2d Don't check for post format support when registering the post format taxonomy. fixes #16146.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-07 21:23:52 +00:00
ryan
536564b8ff Selectively reset list-table forms rather than all forms to avoid stompage. Props koopersmith. fixes #16098
git-svn-id: http://svn.automattic.com/wordpress/trunk@17239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-07 20:52:42 +00:00
nacin
d2c179f49e Revert _admin_bar_preferences() and add a class to the table row to allow it to be hidden. Forcing the use of CSS at least attempts to ensure that the developer will recognize that the saving aspect isn't handled. Handle this in the future across all settings screens. Reverts [17161]. fixes #16004.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-07 16:39:18 +00:00
nacin
9c688c637d Fix typo in phpdoc. props PeteMall, fixes #16120.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-06 09:06:55 +00:00
ryan
33b875fef8 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@17229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-06 04:19:08 +00:00
ryan
85f1feed84 Bring out the shears.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-06 04:11:14 +00:00
ryan
8066547be3 Add some cookie filters to allow plugins more control over SSL cookie delivery. see #15330
git-svn-id: http://svn.automattic.com/wordpress/trunk@17227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-06 04:08:23 +00:00
ryan
1d6b027adc Revert [15987] [15988] [15989]. Props SergeyBiryukov. see #9824 fixes #16041
git-svn-id: http://svn.automattic.com/wordpress/trunk@17226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-06 03:59:22 +00:00
markjaquith
cc81b6adf0 Funnel unknown values to blank (standard) post format in set_post_format()
git-svn-id: http://svn.automattic.com/wordpress/trunk@17224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-05 22:26:55 +00:00
markjaquith
3509f37ac1 I bungled [17214]. Reverting the revert, so it can be reverted properly! see #14310
git-svn-id: http://svn.automattic.com/wordpress/trunk@17220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-04 20:55:59 +00:00
nacin
d4ce1da900 Giant chunk of phpdoc for multisite functions. props boonebgorges, SergeyBiryukov. fixes #14953.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-04 09:02:38 +00:00
nacin
82dd4d569c Quick RTL CSS fix in widgets admin. see #16082, props SergeyBiryukov.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-04 07:29:22 +00:00
markjaquith
6fc301a723 Revert [15611] for 3.1. Needs more time for peer review and iteration. see #14310
git-svn-id: http://svn.automattic.com/wordpress/trunk@17214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-04 07:23:41 +00:00
ryan
2de6f5ba96 Ignore unsupported post types in add_theme_support(). Props garyc40. fixes #16073
git-svn-id: http://svn.automattic.com/wordpress/trunk@17213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-03 23:56:42 +00:00
ryan
55d6d8af12 PHP4 compat. Props SergeyBiryukov, westi. see #16080
git-svn-id: http://svn.automattic.com/wordpress/trunk@17211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-03 19:19:34 +00:00
ryan
979b9eb7c5 wp-admin css bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@17210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-03 19:18:02 +00:00
nacin
9602072aca Use correct variables. props garyc40, see #15503.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-02 10:55:10 +00:00
nacin
1be2df5578 Recommit [15986]. see #15226.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-02 08:34:11 +00:00
nacin
017ef6ccee RC2.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-01 23:39:05 +00:00
nacin
89b6b2a050 Compress and bump scripts for [17202]. see #15503.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-01 23:20:57 +00:00
ryan
a6e8ff128f Introduce include_selected arg for wp_dropdown_users(). Add current author to dropdown in post_author_meta_box(). fixes #16045
git-svn-id: http://svn.automattic.com/wordpress/trunk@17198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-01 01:52:03 +00:00
nacin
e32a14de12 Have menu_name work with show_in_menu = submenu. fixes #14832.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-01 00:21:18 +00:00
nacin
082e4d3d0e Add a note about E_DEPRECATED in wp_debug_mode() because I keep seeing reports about people trying to define it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-31 21:01:30 +00:00
nacin
ea7ca70470 Defense in depth for comment text.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-31 16:30:38 +00:00
nacin
a18f529d6e Small visual improvements to post formats on edit.php. see #16047.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-31 04:49:27 +00:00
nacin
96aa2460d9 Use the blue background color around the blue gradient. see #15993.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-31 03:11:59 +00:00
ryan
b6346ae5cd Default to leading and trailing wildcards for site user searches. Require explicit trailing wildcard asterisk request for network user searches. Disallow leading wildcards for network user searches. Move wildcard policy up the stake, allowing more flexibility in WP_User_Query. Props SergeyBiryukov. fixes #16014
git-svn-id: http://svn.automattic.com/wordpress/trunk@17189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-30 23:38:21 +00:00
ryan
4e17a731ff Show correct title for static page home. Props aaroncampbell, greuben, SergeyBiryukov. fixes #16041
git-svn-id: http://svn.automattic.com/wordpress/trunk@17187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-30 21:10:45 +00:00