Commit Graph

14848 Commits

Author SHA1 Message Date
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
nacin 7ba2dbb820 Restore rule for #submitted-on. props JohnONolan, see #15426.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 17:09:57 +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 2dcfb8a55f Make media_handle_sideload() return attachment id instead of URL. Props joostdevalk. Fixes #15432
git-svn-id: http://svn.automattic.com/wordpress/trunk@16383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-15 12:53:11 +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 e2be537941 Don't show author column if the post type doesn't support it. Fixes #15425
git-svn-id: http://svn.automattic.com/wordpress/trunk@16376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 20:35:42 +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 4d75041199 Don't display Updates submenu in site admin. See #14435
git-svn-id: http://svn.automattic.com/wordpress/trunk@16374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 18:49:18 +00:00
scribu 2bcb10213c Don't display upgradeable plugins in site admin and only translate plugin data for currently displayed plugins. See #14435
git-svn-id: http://svn.automattic.com/wordpress/trunk@16372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 18:34:59 +00:00
scribu e1c3e15de4 Fix post comments box and remove unused 'add-comment' ajax action. See #15338
git-svn-id: http://svn.automattic.com/wordpress/trunk@16371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 18:19:45 +00:00
ryan 06bf76e44f Handle sites that hard-code roles rather than storing them in the DB. Temp hack. see #15411
git-svn-id: http://svn.automattic.com/wordpress/trunk@16370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 18:19:07 +00:00
scribu f4bc56dc8a Fix inline term editing. See #15338
git-svn-id: http://svn.automattic.com/wordpress/trunk@16369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 18:08:25 +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
nacin d81d7b7f4a Some escaping
git-svn-id: http://svn.automattic.com/wordpress/trunk@16366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 17:33:16 +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 5617a1b8b1 Fix typo from r16363. Props filosofo. Fixes #15420
git-svn-id: http://svn.automattic.com/wordpress/trunk@16364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-14 01:46:49 +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 866c6e1faa submit_button() fixes. Props sbressler. See #15064
git-svn-id: http://svn.automattic.com/wordpress/trunk@16362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 23:49:53 +00:00
scribu bb15731084 Rework WP_MS_Themes_List_Table column display. Props ocean90. See #15318
git-svn-id: http://svn.automattic.com/wordpress/trunk@16361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 23:47:14 +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 68981ccac4 Add back 'Submitted on ' text. Props zeo. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 20:58:39 +00:00
scribu e875f0f5da Fix 'response' column title. Props zeo. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@16355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 20:53:21 +00:00
scribu e496292ae5 Make manage_users_custom_column hook consistent between WP_(MS)?_Users_List_Table. Fixes #14562
git-svn-id: http://svn.automattic.com/wordpress/trunk@16354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 20:47:34 +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 2c9faf261b Make custom plugin columns hideable. See #15318
git-svn-id: http://svn.automattic.com/wordpress/trunk@16350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 17:21:40 +00:00
scribu 59ccc3815c Rename action to 'manage_plugins_custom_column' to be consistent with other screens. See #15318
git-svn-id: http://svn.automattic.com/wordpress/trunk@16349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 17:01:57 +00:00
scribu c37e363bc8 Add 'manage_plugin_custom_column' action and properly hide plugin columns. See #15318
git-svn-id: http://svn.automattic.com/wordpress/trunk@16348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 16:57:25 +00:00
scribu 7184b861c3 Introduce WP_Plugins_List_table:single_row(). See #15318
git-svn-id: http://svn.automattic.com/wordpress/trunk@16347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 16:30:20 +00:00
scribu 37f29e649e Move network only status check out of foreach. See #15318
git-svn-id: http://svn.automattic.com/wordpress/trunk@16346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 16:25:56 +00:00
scribu bdbfca56a7 Begin rework of plugins list table. Props edward mindreantre. See #15318
git-svn-id: http://svn.automattic.com/wordpress/trunk@16345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 15:58:23 +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