Commit Graph

408 Commits

Author SHA1 Message Date
Sergey Biryukov c7a96bbf29 Use get_current_site() instead of the $current_site global in wp-admin/admin-header.php and is_main_network().
fixes #25158.
Built from https://develop.svn.wordpress.org/trunk@26235


git-svn-id: http://core.svn.wordpress.org/trunk@26142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-16 13:46:10 +00:00
Matt Thomas 2adf09fea9 Bring in the responsive component of MP6. See #25858.
* Makes the admin fully responsive down to 320px wide.
* Adds a touch-optimized main menu that can be opened and closed from the toolbar.
* Size and positioning adjustments to icons, buttons, and text elements for better touch usability.

A few changes since MP6:

* Removed jQuery mobile. This script was used to add swipe controls to open/close the sidebar menu. This feature was apparently buggy and due to the pending demise of jQuery mobile, it was removed.
* Removed use of Backbone.js. Adding Backbone.js to this script would add a dependency of Backbone.js for all of the admin. Additionally, it was used to add a menu item. Instead of doing that, it was added via the admin menu API. This also fixes a bad delay in the item showing in the menu.
* CSS layout is standardized. Comments have also been cleaned up.
* Jetpack and Akismet code is removed.
* RTL CSS is removed.
* JS passes hinting other than one small issue that will likely be removed when parts of the code are reviewed.

A number of areas for improvement remain; we're tracking these issues in the comments of #25858.

Props to tollmanz, tillkruess, helen, dd32, and apeatling.


Built from https://develop.svn.wordpress.org/trunk@26134


git-svn-id: http://core.svn.wordpress.org/trunk@26046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 18:00:10 +00:00
Sergey Biryukov 07544aec69 Restore the $current_site global in wp-admin/admin-header.php to avoid an undefined function error in single site.
see #25158.
Built from https://develop.svn.wordpress.org/trunk@26124


git-svn-id: http://core.svn.wordpress.org/trunk@26036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 04:17:10 +00:00
Sergey Biryukov 74f77b85a6 Use get_current_site() instead of the $current_site global when possible.
props jeremyfelt.
fixes #25158.
Built from https://develop.svn.wordpress.org/trunk@26120


git-svn-id: http://core.svn.wordpress.org/trunk@26032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 03:23:10 +00:00
Helen Hou-Sandí 69d432410a Say hello to a fresh new look for the WordPress admin.
Still to come: more color schemes, a responsive component, and more.

see #25858.
props iammattthomas, tillkruess, EmpireOfLight, melchoyce, ryelle, joen, mitchoyoshitaka, sirbrillig, andypeatling, isaackeyet, Otto42, dd32, matt, helen.

Built from https://develop.svn.wordpress.org/trunk@26072


git-svn-id: http://core.svn.wordpress.org/trunk@25992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 00:27:10 +00:00
Andrew Nacin fd57b239d2 Don't rely on include_path to include files.
Always use dirname() or, once available, ABSPATH.

props ketwaroo, hakre.
fixes #17092.

Built from https://develop.svn.wordpress.org/trunk@25616


git-svn-id: http://core.svn.wordpress.org/trunk@25533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-25 00:18:11 +00:00
Drew Jaynes 38fdaaa12b Inline documentation for hooks in wp-admin/admin-header.php.
props ericlewis. Fixes #25353.

Built from https://develop.svn.wordpress.org/trunk@25499


git-svn-id: http://core.svn.wordpress.org/trunk@25420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-19 16:33:08 +00:00
Andrew Nacin 7e17787f47 Add post-type-$post_type and taxonomy-$taxonomy admin body classes.
props johnbillion.
fixes #19247.

Built from https://develop.svn.wordpress.org/trunk@25124


git-svn-id: http://core.svn.wordpress.org/trunk@25104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-26 18:18:09 +00:00
Andrew Nacin 9d113aab4a Add network name to <title> tags in the network admin and user admin (global dashboard).
props johnbillion.
fixes #19753.


Built from https://develop.svn.wordpress.org/trunk@25103


git-svn-id: http://core.svn.wordpress.org/trunk@25085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-23 18:58:09 +00:00
Andrew Nacin 691114522e Revert ?format= on post.php. see #24116.
git-svn-id: http://core.svn.wordpress.org/trunk@24692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-12 22:11:42 +00:00
Mark Jaquith 89fd06e44b First pass at removing Post Format UI.
see #24452. fixes #24455.

git-svn-id: http://core.svn.wordpress.org/trunk@24388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-30 21:33:46 +00:00
Sergey Biryukov 8faa6f0260 Fix switching post formats when JavaScript is disabled. props kovshenin. see #24360.
git-svn-id: http://core.svn.wordpress.org/trunk@24373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-27 01:02:10 +00:00
Ryan Boren 5b7e9c8a1c Display the post format UI when there is structured data associated with the post regardless of the screen option.
Props kovshenin
see #24327


git-svn-id: http://core.svn.wordpress.org/trunk@24282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-17 15:12:50 +00:00
Andrew Ozz 7255abb66c Fix showing and hiding of UI elements when disabling the Post Formats UI, props kovshenin, see #24327
git-svn-id: http://core.svn.wordpress.org/trunk@24264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-15 20:43:09 +00:00
Mark Jaquith 00f82359e5 A better logic check for whether we are looking at a post formats supporting view.
see #24291.

git-svn-id: http://core.svn.wordpress.org/trunk@24243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-10 23:22:58 +00:00
Mark Jaquith f63001eb2c Improve the UX and flow of the Image post format.
* Drag-and-drop
* Textarea for HTML/URL hidden to start
* Bigger click target for entering Media modal
* Image preview height-contrained to 300 pixels
* Hid the alignment, size, etc options that didn't have an effect anyway
* Got wp-format-{format} into the <body> class

props DrewAPicture, aaroncampbell, markjaquith, azaozz. see #24291.

git-svn-id: http://core.svn.wordpress.org/trunk@24226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-09 22:45:14 +00:00
Sergey Biryukov 4a03b8dd61 Consistently show "Customize" item in the admin menu. props ethitter. fixes #21413.
git-svn-id: http://core.svn.wordpress.org/trunk@23879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-29 23:25:06 +00:00
Andrew Nacin 36554dd983 Move utils.js (cookie and user setting functions) to wp-includes to enable front-end use.
Make it a dependency of media-views (and therefore media-editor). Move its userSettings JS object from admin-header to being paired with the script in script loader.

see #22730.



git-svn-id: http://core.svn.wordpress.org/trunk@23036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-04 19:29:56 +00:00
Ryan Boren d4abd95449 Scope button classes so they can be used on the frontend without interfering with theme styles.
Props helenyhou, koopersmith
fixes #22644


git-svn-id: http://core.svn.wordpress.org/trunk@22948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-30 13:40:59 +00:00
Andrew Ozz 769e1236af Skip To links: visually hide by only setting top: -1000em; (this should make them work well in all screen readers), fixes #21312
git-svn-id: http://core.svn.wordpress.org/trunk@22730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-20 21:14:49 +00:00
Andrew Ozz e8b10439bb Accessibility shortcuts: new looks and fix for the WebKit focus bug, props lessbloat, fixes #21471
git-svn-id: http://core.svn.wordpress.org/trunk@22249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-16 21:26:59 +00:00
Andrew Ozz 0b92d7c941 Improve the layout and accessibility of the admin menu: simplify the HTML structure, move the submenus off the viewport (still visible for screen readers) instead of hiding them with display: none, make it possible to unfold the menu on small/narrow screens, see #21349
git-svn-id: http://core.svn.wordpress.org/trunk@21574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-21 22:46:30 +00:00
azaozz c368f0e6a1 Accessibility: fix the Skip to content link, show it on :focus, improve the styling of the skip links when shown, see #21310, see #21471
git-svn-id: http://core.svn.wordpress.org/trunk@21435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 21:37:57 +00:00
azaozz 3df1783276 Add "Skip to content" link to all screens in the admin, fixes #21361
git-svn-id: http://core.svn.wordpress.org/trunk@21305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-23 22:00:06 +00:00
nacin 98b61d9a17 Theme Customizer: Block non-existent or non-allowed themes, unless the non-allowed theme is the active theme. Support a user having edit_theme_options xor switch_themes. fixes #20852.
git-svn-id: http://core.svn.wordpress.org/trunk@21010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-06 20:34:24 +00:00
koopersmith 69c970a4a1 Hide 'Customize' toolbar item when customizer is not supported. fixes #20751, see #19910.
Removes script queue check for 'customize-loader' from wp_customize_support_script(), because we may want to check for customize-support on a page without the loader.


git-svn-id: http://core.svn.wordpress.org/trunk@20918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 22:26:00 +00:00
koopersmith d8abece877 Theme Customizer: Add CORS checks to the initial check for customize support. Prevents flash of customize links on large pages. see #20582, #19910.
Add wp_customize_support_script(), to quickly alter the body class based on whether customize is supported.


git-svn-id: http://core.svn.wordpress.org/trunk@20893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 00:15:12 +00:00
ryan 4685f9ea04 Don't concatenate. see #19910
git-svn-id: http://core.svn.wordpress.org/trunk@20845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-22 20:34:45 +00:00
koopersmith e7f756c669 Theme Customizer: Remove !important declarations from hide-if-customize and hide-if-no-customize classes. Use a default no-customize-support class on the body so we can use an element's original display property when visible. fixes #20565, see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-09 21:47:15 +00:00
koopersmith 3f148d4e8f Theme Customizer: If the customize loader is enqueued, then add the 'customize-support' class early. This prevents a flash of unstyled content. see #19910.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-16 14:59:09 +00:00
azaozz 1d12cd07b0 Introduce wp_is_mobile() and use it instead of $is_iphone global, see #20014
git-svn-id: http://svn.automattic.com/wordpress/trunk@20417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-10 01:19:30 +00:00
nacin bfeb575df9 Use relative paths for admin-ajax.php to avoid cross-domain issues with IDN domains in IE and Opera. props SergeyBiryukov, fixes #18952.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-08 16:12:11 +00:00
nacin cb3b946d8c Initial import of localized CSS, for Chinese and Hebrew. see #19603.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-04 00:54:42 +00:00
nacin b1935deee4 Call set_current_screen() again in admin-header.php in case a plugin includes admin-header.php before admin.php completes. Rare and silly, but seen in the wild. props ryan, see #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 03:37:22 +00:00
nacin 75c741cd8b Revert other stuffs from [19374].
git-svn-id: http://svn.automattic.com/wordpress/trunk@19376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 15:43:57 +00:00
nacin 5e69bd0caf Set $parent_file for post-new.php when show_in_menu is a file. Provides for correct top-level highlighting. $submenu_file remains set to expect a post-new.php menu. see #19125.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-21 15:35:57 +00:00
nacin 304a36041a WP_Screen->post_type is always set. see #19131.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-17 19:50:14 +00:00
nacin 30ff37104d Don't use $user_identity global. props duck_. fixes #19146.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 21:35:44 +00:00
azaozz e849d3b270 Use IE conditionals when adding the ie8 class, introduce _wp_admin_html_begin(), props scribu, fixes #18966
git-svn-id: http://svn.automattic.com/wordpress/trunk@18982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-17 20:57:32 +00:00
azaozz 0f2431e25a RTL, IE7 and IE7 RTL fixes, add class="ie8" to the html tag, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-15 07:33:01 +00:00
azaozz 53ac6d4a37 Clean up unused bits from responsive admin, fix the JS on dashboard, see #18863
git-svn-id: http://svn.automattic.com/wordpress/trunk@18900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-06 08:43:01 +00:00
koopersmith 2d3fa6fcb8 Make screen options a help tab. Move screen option functions into WP_Screen. see #18690, #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-01 00:24:44 +00:00
koopersmith d417524b4a Introduce help tabs and WP_Screen. props mbijon, goldenapples, natebedortha, ryan. see #18690.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-26 21:03:38 +00:00
koopersmith f40872acdd Remove expanded class from flyout menus. see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-22 20:24:12 +00:00
azaozz 1cdd3d5154 Fix inconsistent css handling of .wide-screen, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 21:44:44 +00:00
azaozz ffca93b1f2 Responsive admin improvements for the dashboard, new/write screens and links screens, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-21 06:16:24 +00:00
koopersmith 834dc9ff5e Admin bar UX improvements. First pass, see #18197
git-svn-id: http://svn.automattic.com/wordpress/trunk@18683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 05:01:54 +00:00
westi 26b57f09a2 Reorder the titles in the Network Admin and Global Dashboard to put the locations first. Fixes #18304 props duck_
git-svn-id: http://svn.automattic.com/wordpress/trunk@18675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 09:26:07 +00:00
azaozz debc12b386 Auto-column switching for the dashboard (js based), see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-14 07:02:46 +00:00
koopersmith 51fa6f62f2 Switch admin menus to flyouts from dropdowns. First pass, see #18382.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-30 01:12:26 +00:00
ryan 39ba82bb3f Handle locales that use a comma as a separator when generating version classes. Props olivM. fixes #18460
git-svn-id: http://svn.automattic.com/wordpress/trunk@18608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-26 19:00:07 +00:00
azaozz 4e323dd08f Improve auto column switching for post.php, see #18198
git-svn-id: http://svn.automattic.com/wordpress/trunk@18607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-25 22:55:39 +00:00
azaozz 1cdec6ff6e Merge most admin css files, first run, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-21 03:46:43 +00:00
nacin 5dab7294bd Globalize variables used in admin-header in case it is used in a function. props SergeyBiryukov, fixes #16143.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-10 19:54:59 +00:00
azaozz f634dd5af4 Editor API enhancement, first run (still needs some work), see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-03 10:19:00 +00:00
azaozz 5256d7951f <!DOCTYPE html> for all, fixes #18202
git-svn-id: http://svn.automattic.com/wordpress/trunk@18460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-22 00:25:41 +00:00
azaozz 06fd2002c5 Fix unfolding of the admin menu when no JS, fixes #17897
git-svn-id: http://svn.automattic.com/wordpress/trunk@18349 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-27 20:40:04 +00:00
ryan e5765caf3b Add Howdy back to the admin_user_info_links filtered array. Props trepmal. fixes #17740
git-svn-id: http://svn.automattic.com/wordpress/trunk@18232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 16:40:42 +00:00
ryan 209f213f56 Add rtl class to the admin body if is_rtl(). RTL fixes for twentyeleven theme-options.php. Props rasheed. fixes #17603
git-svn-id: http://svn.automattic.com/wordpress/trunk@18125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 22:19:58 +00:00
nacin 9c7fce4ed5 Add admin body classes for the WP branch, WP version, and current admin color. props andy, fixes #17496.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-18 18:11:48 +00:00
koopersmith da5dae46ce Improve 'howdy' dropdown styles, add 'your profile' item and no-js. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-11 07:05:47 +00:00
koopersmith b4f8a1d0c4 Improve 'howdy user' dropdown trigger, delay, and animation. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-09 17:48:14 +00:00
koopersmith 700db493d8 Move 'Search Engines Blocked' to 'Right Now' from admin header. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-06 23:42:37 +00:00
koopersmith 7a16085b8d Add user actions dropdown to admin header. see #17324.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-06 23:06:24 +00:00
markjaquith 8d87f5dcb4 Big UI style update. props koopersmith. see #17324
git-svn-id: http://svn.automattic.com/wordpress/trunk@17800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-04 20:15:05 +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
nacin b61a5b0526 Update indicator for the Network Admin link. fixes #16063.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-04 08:36:06 +00:00
nacin 43983291e3 Revert [16292], admin_notices for non-network non-user only. all_admin_notices for all. fixes #14696.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-17 03:46:47 +00:00
ryan 3949ce12d0 Pink trailing whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-13 21:21:50 +00:00
ryan f7ed8dd01e Lose last-blog-admin-visited. Figure out a better way in 3.2
git-svn-id: http://svn.automattic.com/wordpress/trunk@16859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-10 17:25:04 +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 76f3dd920b Titles for network admin and global dashboard. see #15477
git-svn-id: http://svn.automattic.com/wordpress/trunk@16474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 23:02:52 +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 1c03323cba blog_admin_notices for non-network-non-user, admin_notices for all. see #14696.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 12:32:22 +00:00
ryan 2f25f589db Give the user dashboard a more suitable title. see #14696
git-svn-id: http://svn.automattic.com/wordpress/trunk@16265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-09 22:00:50 +00:00
scribu 4b260b3d0f Make admin screen titles filterable. Props caesarsgrunt. Fixes #15301
git-svn-id: http://svn.automattic.com/wordpress/trunk@16260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-09 18:03:06 +00:00
ryan 39e775daeb Issue user_admin_notices for user admin. Issue admin_notices only for blog admin. Issue all_admin_notices for all dashboards. see #14696
git-svn-id: http://svn.automattic.com/wordpress/trunk@16224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-06 17:40:12 +00:00
nacin 73bc798ffa Use 'Visit Site' in header if blog has no name. props blepoxp, fixes #13978.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-27 01:48:08 +00:00
nacin a9e06a0344 Don't use deprecated path in wp_admin_css call.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-24 19:22:39 +00:00
nacin 28ad1d7dc1 Remove debug cruft. see [15662].
git-svn-id: http://svn.automattic.com/wordpress/trunk@15663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-26 09:19:17 +00:00
nacin ffacf3e36b Prevent the $title global from being stomped. Caused by merger of manage_columns_prefs() into screen_meta() in [15653]. see #14952, see #14776. The global is apparent cruft as the function doesn't use it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-26 09:16:38 +00:00
ryan 10deff9e1d Favorite action for network admin. see #14435
git-svn-id: http://svn.automattic.com/wordpress/trunk@15489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-02 19:07:03 +00:00
ryan 44799523bc Update network upgrade links. see #14435
git-svn-id: http://svn.automattic.com/wordpress/trunk@15484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-02 15:36:57 +00:00
ryan 21e3f0f7fa Network Admin, first pass. see #14435
git-svn-id: http://svn.automattic.com/wordpress/trunk@15481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-30 20:34:54 +00:00
nacin 00192e27a5 Add JS var isRtl to admin-header and remove unused JS localized vars for nav-menu. see #13525.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-27 18:57:07 +00:00
ryan 172aa06718 Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
git-svn-id: http://svn.automattic.com/wordpress/trunk@14374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 18:16:22 +00:00
ryan 91354eefee Escape links by default. Props alexkingorg. see #13051
git-svn-id: http://svn.automattic.com/wordpress/trunk@14347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 22:53:59 +00:00
nacin 1eb297c982 Fix admin.php?import=x pages, which can re-include itself in certain environments. fixes #13184 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-02 18:39:31 +00:00
ryan c256a99fc2 privacy_on_link_title and privacy_on_link_text filters to allow privacy plugins to customize privacy-on-link
git-svn-id: http://svn.automattic.com/wordpress/trunk@14237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-26 01:26:08 +00:00
westi 9356c4b72d Restore support for floating point numbers in number_format_i18n(). Fixes #10555.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-22 21:39:37 +00:00
westi da93a92714 Remove unnecessary translations of decimal point character and number of decimal places. Fixes #10555 props nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-21 21:41:20 +00:00
nbachiyski bb110266c3 Indent and split into several lines the HTML for wp-admin logo
git-svn-id: http://svn.automattic.com/wordpress/trunk@14163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-19 13:33:18 +00:00
nacin 6ec7cb4540 Use relative paths when including files, avoiding include_path. fixes #12594, props sorich87.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-18 06:14:45 +00:00
nacin 2794e060dc Remove 'Turbo' link from admin header. see #11301
git-svn-id: http://svn.automattic.com/wordpress/trunk@13833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 20:59:57 +00:00
ryan 6dcc05bd54 Ligten header and footer for gray color scheme. Props johnonolan. see #12586
git-svn-id: http://svn.automattic.com/wordpress/trunk@13824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 17:09:53 +00:00
markjaquith 35e6b0a158 Update search engines blocked text so that we do not imply that the blog is actually private.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-19 14:40:50 +00:00
ryan e25a65b36a Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@13733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 16:27:25 +00:00
nacin fc02586453 Only show "Privacy On" notice/link if the user can manage options. fixes #12440
git-svn-id: http://svn.automattic.com/wordpress/trunk@13559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-02 20:48:23 +00:00
ryan 95623b4ce5 Fix metabox hiding. Props scribu. fixes #12439
git-svn-id: http://svn.automattic.com/wordpress/trunk@13551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-02 18:06:14 +00:00
dd32 493ece2961 Add some filters to the Admin header. Fixes #11332
git-svn-id: http://svn.automattic.com/wordpress/trunk@13497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 10:23:55 +00:00