Commit Graph

9074 Commits

Author SHA1 Message Date
Andrew Ozz 5c397b2773 Fixes for the blue theme, props helenyhou, see #19183
git-svn-id: https://develop.svn.wordpress.org/trunk@19195 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-06 23:01:51 +00:00
Andrew Ozz 5c18d3b4f4 Uploader: update to 1.5.1.1, remove plupload.full.js (we cannot use it), rename the script handle in script-loader to avoid any confusion, fixes #19187
git-svn-id: https://develop.svn.wordpress.org/trunk@19194 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-06 21:46:24 +00:00
Andrew Nacin 1c57505242 Don't use $post_type global in the posts list table. props scribu, see #18475.
git-svn-id: https://develop.svn.wordpress.org/trunk@19192 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-06 21:14:27 +00:00
Andrew Nacin 0d7911b7cf Correct the position of the resizer for the visual editor (not the main editor). props jakemgold, fixes #19177.
git-svn-id: https://develop.svn.wordpress.org/trunk@19191 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-06 20:42:20 +00:00
Andrew Ozz da045838f5 Fix lag when opening help tab if screen options was opened before, fixes #19172
git-svn-id: https://develop.svn.wordpress.org/trunk@19186 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-06 18:18:45 +00:00
Andrew Nacin 3de47877d6 Remove default help text. Keep the default_help filter in place for plugins. fixes #19154.
git-svn-id: https://develop.svn.wordpress.org/trunk@19185 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-06 18:13:06 +00:00
Andrew Nacin feca4c4984 Space out two strings. props ocean90, fixes #19167.
git-svn-id: https://develop.svn.wordpress.org/trunk@19181 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 20:21:12 +00:00
Jon Cave d47f1735e1 Only hide "Most Used" category tab when the body has .no-js class. See #16810, fixes #19129.
git-svn-id: https://develop.svn.wordpress.org/trunk@19179 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 18:35:49 +00:00
Andrew Ozz cb40252565 Uploader: split "Drop files here -or-..." on two lines, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@19177 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 18:09:38 +00:00
Andrew Ozz fafb2aa988 Update Comment -> Update, props ocean90, fixes #19166
git-svn-id: https://develop.svn.wordpress.org/trunk@19176 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 18:03:33 +00:00
Andrew Ozz 0f012aa1f7 Blue theme HTML editor fixes, min-width -> width for .inner-sidebar, props ocean90, fixes #19162
git-svn-id: https://develop.svn.wordpress.org/trunk@19175 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 17:03:17 +00:00
Andrew Ozz 02418c080e Remove min-width from #post-body-content, props ocean90, fixes #19062
git-svn-id: https://develop.svn.wordpress.org/trunk@19174 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 16:53:26 +00:00
Andrew Nacin 6114e7218d Only call wp_comment_reply() on post.php if the post type supports comments. props zeo, fixes #17931.
git-svn-id: https://develop.svn.wordpress.org/trunk@19170 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 05:41:25 +00:00
Daryl Koopersmith d7f0b07a8e Blue theme styles for welcome panel and about pages. see #11651, 18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19164 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 02:06:56 +00:00
Daryl Koopersmith 986602c14c Second half of new welcome panel formatting. Add .icon16, for menu icon reuse. see #11651.
git-svn-id: https://develop.svn.wordpress.org/trunk@19163 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 01:17:50 +00:00
Andrew Ozz bf02e004e0 Support for "tabbing" through the admin bar and admin menu, fixes #19088
git-svn-id: https://develop.svn.wordpress.org/trunk@19162 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 01:13:18 +00:00
Andrew Nacin 731127e61b Use call_user_func_array() as call_user_func() cannot pass by reference. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19155 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 15:06:11 +00:00
Andrew Nacin 53891da7c8 Pass $tab array to callback execution for help tabs. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19154 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 15:04:58 +00:00
Andrew Nacin 8919fbbaff Remove i18n until text settles. see #18795.
git-svn-id: https://develop.svn.wordpress.org/trunk@19151 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 13:57:45 +00:00
Andrew Ozz 33b60fc08b RTL adjustments for the About screens, props SergeyBiryukov, fixes #19143
git-svn-id: https://develop.svn.wordpress.org/trunk@19149 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 13:09:53 +00:00
Andrew Ozz beec8f9532 Remove unused .toggle-arrow styling, props SergeyBiryukov, see #19042
git-svn-id: https://develop.svn.wordpress.org/trunk@19148 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 12:22:46 +00:00
Andrew Ozz c1ec42bbff Help and Screen Options RTL adjustments, props SergeyBiryukov, see #19042
git-svn-id: https://develop.svn.wordpress.org/trunk@19147 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 12:19:09 +00:00
Andrew Nacin 96513811f9 RTL for credits. props SergeyBiryukov, see #19143.
git-svn-id: https://develop.svn.wordpress.org/trunk@19146 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 04:35:06 +00:00
Daryl Koopersmith bfd8e1a095 First half of new welcome panel formatting. props chexee. see #11651.
git-svn-id: https://develop.svn.wordpress.org/trunk@19145 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 01:31:31 +00:00
Daryl Koopersmith 53d127961b The about pages are lonely orphans. see #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19144 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 00:45:11 +00:00
Daryl Koopersmith 201d03f1b3 Formatting and CSS for credits and freedoms pages. see #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19143 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 00:37:56 +00:00
Jon Cave b08b1b9314 Fix double border on right side of contextual help when no help sidebar exists. See #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@19142 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 00:07:57 +00:00
Andrew Nacin f3c1ce364a Remove copy-pasted classes. see #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19141 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 23:59:19 +00:00
Andrew Nacin 8fa35f9bbe Yank version numbers out of translated strings. TODO decide whether this should be major version only, which probably means about.php should also contain text about x.y vs x.y.z. see #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19140 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 23:55:03 +00:00
Andrew Nacin 061c4c9841 Two style tweaks to the update nag so it blends well with help/option panels and the admin bar.
* Add a top border to it, but hide it under the admin bar. Helps appearance as the page is rendered (as admin bar is last).
 * Bring the update nag slightly off center again (see [19130]) to ensure it lines up with help/options panels.
see #18197.


git-svn-id: https://develop.svn.wordpress.org/trunk@19139 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 23:41:45 +00:00
Daryl Koopersmith c47fb0491b Move about page CSS to main CSS files. see #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19138 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 23:32:44 +00:00
Andrew Nacin f73fb3a3bf Only show #screen-meta (which encloses the panels) when a panel is showing. Otherwise there's a one-pixel gray line that's really aggravating my OCD. see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@19137 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 23:30:55 +00:00
Andrew Nacin c649bc75bf Add about.php text/tabs to credits.php and freedoms.php. (Caution: Styles may settle during shipping.) see #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19136 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 23:23:31 +00:00
Daryl Koopersmith 2145c0e8f4 Layout and filler content for new about page. CSS will be moved to the main files. props chexee. see #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19135 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 23:13:50 +00:00
Andrew Nacin c684c9212b Use a better method for [19133]. see #11651.
git-svn-id: https://develop.svn.wordpress.org/trunk@19134 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 23:09:59 +00:00
Andrew Nacin be7274e110 Show the welcome screen when one shows it from Screen Options, advances to a page, then uses the browser's back button to return. see #11651.
git-svn-id: https://develop.svn.wordpress.org/trunk@19133 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 23:08:24 +00:00
Andrew Nacin 14c3606e1f Allow is_network and is_user to work for all screen instances. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19132 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 23:00:46 +00:00
Andrew Ozz e3cb75932b Revert the look and functionality of Screen Options ans Help links/tabs, see #18197, see #18785
git-svn-id: https://develop.svn.wordpress.org/trunk@19131 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 20:26:09 +00:00
Andrew Ozz 882574b78c Revert placement of Help and Screen Options to under the admin bar on the right, see #18197, see #18785
git-svn-id: https://develop.svn.wordpress.org/trunk@19130 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 17:08:12 +00:00
Andrew Ozz 3700b57fdc Remove the Cancel Upload button, fixes #19050
git-svn-id: https://develop.svn.wordpress.org/trunk@19127 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 01:47:12 +00:00
Andrew Ozz 6850814d97 Output editor-buttons.css earlier so the browser renders the editor in time, fixes #18820
git-svn-id: https://develop.svn.wordpress.org/trunk@19126 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 01:31:27 +00:00
Andrew Nacin 8208aaac6f More help sidebars. see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19123 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 21:42:57 +00:00
Andrew Nacin 840f20feb2 More s/add_help_sidebar/set_help_sidebar/. fixes #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19122 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 21:32:16 +00:00
Andrew Nacin 4cb3487019 More help sidebars. see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19121 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 20:54:56 +00:00
Andrew Nacin 33ee9a7d04 s/add_help_sidebar/set_help_sidebar/g and introduce screen->remove_help_tab($id) and screen->remove_help_tabs(). see #19020, #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19119 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 20:14:10 +00:00
Ryan Boren cb56cbb04e Blue admin color scheme updates for the contextual help tabs. Props chexee. see #18964
git-svn-id: https://develop.svn.wordpress.org/trunk@19118 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 17:21:50 +00:00
Andrew Ozz fa570e7b76 More css cleanup, fix styles in the Edit Image popup then the editor is on the front end see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@19116 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 15:24:56 +00:00
Dion Hulse b37514a7fd Tabs > Spaces. Props SergeyBiryukov. See #14999
git-svn-id: https://develop.svn.wordpress.org/trunk@19115 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 12:16:47 +00:00
Ryan Boren 71aa0059d0 Use add_help_sidebar(). see #19020
git-svn-id: https://develop.svn.wordpress.org/trunk@19114 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 05:33:53 +00:00
Andrew Nacin c69f53c37d Reverse variable assignment order. D'oh. see #19108.
git-svn-id: https://develop.svn.wordpress.org/trunk@19113 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 04:24:17 +00:00
Andrew Nacin 809c1558e3 Remove cruft. see #19106.
git-svn-id: https://develop.svn.wordpress.org/trunk@19112 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 04:14:14 +00:00
Ryan Boren db63861af8 Use add_help_sidebar(). see #19020
git-svn-id: https://develop.svn.wordpress.org/trunk@19111 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 03:12:37 +00:00
Ryan Boren 4709ef3dc2 Chain off of get_current_screen() instead of using global. see #19020
git-svn-id: https://develop.svn.wordpress.org/trunk@19110 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 02:38:37 +00:00
Mark Jaquith 41d1ab35f3 Use %s instead of %d in plugin install notice strings. props johnbillion. fixes #19106
git-svn-id: https://develop.svn.wordpress.org/trunk@19109 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 02:36:18 +00:00
Andrew Nacin 45c23f2fcf Use more obvious variables in WP_Screen. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19108 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-01 21:36:04 +00:00
Andrew Nacin 27cd634a96 Simplify logic in wp-fullscreen-save-post. Most of this came from post.php but that's been cut down as well. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19107 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-01 21:23:05 +00:00
Ryan Boren 1ec2c3c3e9 No need to setup current screen in wp-fullscreen-save-post handler. see #18785
git-svn-id: https://develop.svn.wordpress.org/trunk@19106 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-01 21:15:18 +00:00
Jon Cave e754641764 Remove dead code left by r18621. Props ocean90. Fixes #19087.
git-svn-id: https://develop.svn.wordpress.org/trunk@19101 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-01 12:36:14 +00:00
Andrew Ozz 947ba8f62c Fix uploader "file size exceeded" error message, fix displaying uploaded queue errors, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@19100 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-01 11:56:20 +00:00
Andrew Ozz 1746c2af62 Disable the Cancel Upload button after the upload has finished or if it was interrupted, fixes #19050
git-svn-id: https://develop.svn.wordpress.org/trunk@19099 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-31 21:38:28 +00:00
Andrew Nacin 3a15274807 Always run the old contextual_help filter. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19098 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-31 21:37:43 +00:00
Andrew Nacin d91bf70dd7 Consistently set taxnow/typenow and the current screen's post_type/taxnomy, whenever it can be detected. Allow WP_Screen::get() to accept a post type as a hook_name. Fixes issues with the meta box $page/$screen argument. fixes #19080. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19097 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-31 21:28:17 +00:00
Ryan Boren 3ca9c1df61 Use key(). Props scribu. fixes #18975
git-svn-id: https://develop.svn.wordpress.org/trunk@19095 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-31 19:46:10 +00:00
Andrew Nacin a5c6da9a2e Move from quickpress_post_ID to post_ID. fixes #19095.
git-svn-id: https://develop.svn.wordpress.org/trunk@19093 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-31 17:08:36 +00:00
Andrew Nacin 8d01fc1f9a Fix copypasta in in WP_Screen. see #19095, props SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@19092 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-31 16:57:29 +00:00
Andrew Ozz 1326405677 Fix menu folding on new installs, props SergeyBiryukov, fixes #18091
git-svn-id: https://develop.svn.wordpress.org/trunk@19091 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-29 21:56:27 +00:00
Andrew Ozz 9588256ab5 Some more css cleanup, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@19090 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-29 21:50:32 +00:00
Andrew Nacin 115014be64 Require show_ui rather than public for a taxonomy's parent post type. see #19080.
git-svn-id: https://develop.svn.wordpress.org/trunk@19089 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-29 05:30:57 +00:00
Andrew Ozz c5cf25a60b Theme and plugin editor textarea direction in RTL, props SergeyBiryukov, fixes #18021
git-svn-id: https://develop.svn.wordpress.org/trunk@19087 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-29 00:55:58 +00:00
Andrew Ozz ee4f3ae87c Browse Happy RTL fix, props SergeyBiryukov, fixes #18093
git-svn-id: https://develop.svn.wordpress.org/trunk@19086 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-29 00:52:21 +00:00
Andrew Ozz e10b10b6e2 Fix help tabs in RTL, props rosshanney, fixes #19024
git-svn-id: https://develop.svn.wordpress.org/trunk@19083 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-28 23:05:58 +00:00
Andrew Ozz 1cd9d13384 RTL CSS cleanup for credits.php, props SergeyBiryukov, fixes #18420
git-svn-id: https://develop.svn.wordpress.org/trunk@19082 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-28 22:42:36 +00:00
Andrew Ozz 8a48ef371f RTL fixes for 3.3, props yoavf SergeyBiryukov rosshanney, see #19042 fixes #18000, fixes #17988, fixes #19006
git-svn-id: https://develop.svn.wordpress.org/trunk@19080 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-28 22:14:59 +00:00
Ryan Boren 722c6d7003 Avoid 'Only variables should be passed by reference' warnings. Props SergeyBiryukov. see #18975
git-svn-id: https://develop.svn.wordpress.org/trunk@19074 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-28 15:48:44 +00:00
Ryan Boren d85938ec7a gettext fix. Props ocean90. fixes #18770
git-svn-id: https://develop.svn.wordpress.org/trunk@19073 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-27 21:14:14 +00:00
Ryan Boren f8ed38f26c Avoid 'Only variables should be passed by reference' warnings. Props SergeyBiryukov. see #18975
git-svn-id: https://develop.svn.wordpress.org/trunk@19072 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-27 20:00:09 +00:00
Ryan Boren 5ff9cbe0cb Make repair.php fully translatable. Props ocean90. fixes #18770
git-svn-id: https://develop.svn.wordpress.org/trunk@19070 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-27 18:31:45 +00:00
Jon Cave 72256f1c27 Stop an incorrect comment total being displayed when a trashed/spammed comment is deleted or restored. Fixes #19029.
Also only run getUpdate() when necessary and remove reference to non-existent "span.total-type-count".


git-svn-id: https://develop.svn.wordpress.org/trunk@19068 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-26 08:47:16 +00:00
Andrew Nacin b7b6a7e5ae Use correct object. props adambackstrom. fixes #19045.
git-svn-id: https://develop.svn.wordpress.org/trunk@19066 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-25 16:08:24 +00:00
Andrew Nacin fa00acb382 Add missing keyword. fixes #19046, see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19064 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-25 16:05:39 +00:00
Andrew Nacin 219bc246bc Make convert_to_screen() more resilient. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19063 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-25 06:54:23 +00:00
Andrew Nacin 261ee73e3d Merge upgrade_old_widgets_order_array() into upgrade_330(). see #18811, see #18821.
git-svn-id: https://develop.svn.wordpress.org/trunk@19062 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-25 05:50:39 +00:00
Andrew Nacin 96e4fffaa9 Introduce upgrade_330() to clear usermeta keys show_admin_bar_admin and plugins_last_view. fixes #18811.
git-svn-id: https://develop.svn.wordpress.org/trunk@19061 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-25 05:48:09 +00:00
Andrew Nacin fcf1696de4 Introduce ->mysql to allow drop-ins to declare themselves as MySQL and therefore allow minimum version checks to still apply. fixes #18176.
git-svn-id: https://develop.svn.wordpress.org/trunk@19060 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-25 05:29:28 +00:00
Dion Hulse f869eb56b8 Themes not within a subdirectory of the zip need to have the working directory Trailingslashed. See #14999
git-svn-id: https://develop.svn.wordpress.org/trunk@19057 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-25 04:25:52 +00:00
Ryan Boren fd10e500e4 Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@19054 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-24 19:13:23 +00:00
Ryan Boren 5fecc93721 Fallback to the default post type only if it is registed for the taxonomy. Props nacin. see #18785
git-svn-id: https://develop.svn.wordpress.org/trunk@19053 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-24 19:10:56 +00:00
Andrew Nacin cc5f01a784 Move WP_Screen to a full registry. Have convert_to_screen() return a WP_Screen object. Improve and verify values for post_type and taxonomy. see #18785. also fixes #14886.
git-svn-id: https://develop.svn.wordpress.org/trunk@19052 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-24 18:34:08 +00:00
Andrew Nacin 16c6875d29 screen.php tidying. Doc fixes and improvements. Improve logic in ::show_screen_options(). Remove regex in ::set_parentage(). Better variable names. Streamline get_screen_icon(). Whitespace. see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19051 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-24 06:40:15 +00:00
Andrew Nacin 38440b5e9a Deprecate favorite_actions(). see #18785.
git-svn-id: https://develop.svn.wordpress.org/trunk@19050 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-24 06:10:36 +00:00
Andrew Nacin de3bf760b6 Rework get_hidden_meta_boxes() to leverage a full WP_Screen object. Prevents custom post types from having their explicity supported meta boxes being hidden by default. see #18958.
git-svn-id: https://develop.svn.wordpress.org/trunk@19049 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-23 19:22:27 +00:00
Ryan Boren 62778137cf Fix sub menu highlighting for post type pages. see #13662
git-svn-id: https://develop.svn.wordpress.org/trunk@19048 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-23 18:45:06 +00:00
Andrew Nacin 7121150930 Use get_current_screen() rather than a $current_screen global reference. Remove unused global reference. see #14886.
git-svn-id: https://develop.svn.wordpress.org/trunk@19047 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-23 18:01:33 +00:00
Andrew Nacin ed8f3c3f95 Deprecate media_upload_(image|audio|video|file)(), type_url_form_(image|audio|video|file)(). These now wrap wp_media_upload_handler() and wp_media_insert_url_form(). see #17578.
git-svn-id: https://develop.svn.wordpress.org/trunk@19046 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-23 17:58:06 +00:00
Andrew Nacin a7dda77ea7 Adjust the height of the help columns on 'Help' tab open. see #18690.
git-svn-id: https://develop.svn.wordpress.org/trunk@19045 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-23 17:55:24 +00:00
Andrew Nacin 79ff2e030c Fix [16249]. $typenow is considered empty on edit-tags screens, rather than displaying the parent post type. Switch to the $post_type global for now, which is set in the terms list table constructor. see #14886.
git-svn-id: https://develop.svn.wordpress.org/trunk@19043 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-23 17:48:58 +00:00
Andrew Nacin f3e64d5112 Undent (by two tabs) a whole lot of code in dbDelta(). Thx. see #17998.
git-svn-id: https://develop.svn.wordpress.org/trunk@19041 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-21 22:40:30 +00:00
Andrew Nacin c64486425a Have dbDelta() loop through tables it knows about, rather than loop through a potentially expensive and definitely unnecessary SHOW TABLES. fixes #17998.
git-svn-id: https://develop.svn.wordpress.org/trunk@19040 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-21 22:35:33 +00:00
Andrew Nacin cab3d35ee0 Make wpmu_delete_blog() slightly less crappy. Prevents the entire network from being dropped in a particularly rare edge case. Removes some zombie code. fixes #19009.
git-svn-id: https://develop.svn.wordpress.org/trunk@19038 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-21 22:04:52 +00:00
Jon Cave 939b085f54 Correct @param text ordering to put "Optional." in description, see r19019 and #18958. Also remove empty docblock tag.
git-svn-id: https://develop.svn.wordpress.org/trunk@19030 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-20 15:53:57 +00:00