Commit Graph

16585 Commits

Author SHA1 Message Date
Ryan Boren
b6eed7bea8 Check return value of wp_check_browser_version(). Make return value consistent. Props duck_, aaroncampbell. fixes #17682
git-svn-id: https://develop.svn.wordpress.org/trunk@18150 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-05 15:14:51 +00:00
Ryan Boren
6e01eb6221 RTL fixes for credits.php. fixes #17602
git-svn-id: https://develop.svn.wordpress.org/trunk@18149 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-05 15:09:44 +00:00
Peter Westwood
0d62cb9bfd Output TinyMCE HTML inside the body for Press This. Fixes #17500 props greuben
git-svn-id: https://develop.svn.wordpress.org/trunk@18148 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-05 12:36:12 +00:00
Peter Westwood
b51ef96fdc Move the in_admin_footer action out of p#footer-left.alignleft so it is just in div#footer to allow for it to be used more flexibly. Fixes #17358 props aaroncampbell.
git-svn-id: https://develop.svn.wordpress.org/trunk@18147 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-05 12:04:19 +00:00
Peter Westwood
e5812cf223 Scroll up to the top when bulk editing so the form is completely visible. Fixes #17208 props greuben.
git-svn-id: https://develop.svn.wordpress.org/trunk@18146 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-05 09:56:12 +00:00
Peter Westwood
53d2062a4f Bumpity
git-svn-id: https://develop.svn.wordpress.org/trunk@18145 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-05 09:47:01 +00:00
Peter Westwood
d989547a7d Whitespace fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@18144 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-05 09:04:29 +00:00
Peter Westwood
6a7b805b85 Mark two missed strings in Press This for translation. Fixes #16334 props SergeyBiryukov and ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@18143 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-05 09:02:08 +00:00
Andrew Ozz
98d58b4edd Fix WebKit browsers reporting document.body height shorter than it is, add classes to TinyMCE's body: 'wp-editor' or 'wp-fullscreen-editor', fix mousemove event in IE, fixes #17664
git-svn-id: https://develop.svn.wordpress.org/trunk@18142 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-05 00:06:28 +00:00
Andrew Nacin
3e27653486 Sanity check in twentyeleven_get_theme_options() -- if the option doesn't exist, return the default options instead. We already instantiate the option on admin_init. fixes #17686.
git-svn-id: https://develop.svn.wordpress.org/trunk@18141 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-04 22:05:29 +00:00
Ian Stewart
7840df6b57 Twenty Eleven: correct typos in PHP comments
git-svn-id: https://develop.svn.wordpress.org/trunk@18140 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-04 15:54:47 +00:00
Ian Stewart
7ded48ef83 Twenty Eleven: restore Image Post margin resetting
git-svn-id: https://develop.svn.wordpress.org/trunk@18139 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-04 15:49:32 +00:00
Andrew Ozz
c1ef3d695e Fix collapsed menu transition glitch, props rosshanney, fixes #17534
git-svn-id: https://develop.svn.wordpress.org/trunk@18138 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-04 06:23:06 +00:00
Andrew Ozz
35ba083b00 DFW: restore editor width shortcuts, restore limited overwriting of the theme styling in TinyMCE, show the toolbar on mouse move in TinyMCE, improve the help, fixes #17503, fixes #17644, fixes #17664, fixes #17596
git-svn-id: https://develop.svn.wordpress.org/trunk@18137 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-04 00:46:47 +00:00
Andrew Nacin
4e3cdbfc61 Document that add_submenu_page() might return false if ! current_user_can(). see #17677.
git-svn-id: https://develop.svn.wordpress.org/trunk@18136 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-03 23:30:46 +00:00
Ryan Boren
e1e318b9ff Check result of add_theme_page(). Return if false. Props greuben. fixes #17677
git-svn-id: https://develop.svn.wordpress.org/trunk@18135 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-03 22:37:13 +00:00
Ian Stewart
954c298392 Twenty Eleven: style 4-column galleries -- Props mfields -- and remove unneeded !important rules; Fixes #17564
git-svn-id: https://develop.svn.wordpress.org/trunk@18134 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-03 21:38:47 +00:00
potbot
8aa54bec5f POT, generated from r18132
git-svn-id: https://develop.svn.wordpress.org/trunk@18133 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-03 21:29:23 +00:00
Ian Stewart
331588a441 Twenty Eleven: Add border styles to images so we can better style linked images on :focus; includes updates to editor styles and improvements to Image Post styles; See #17524
git-svn-id: https://develop.svn.wordpress.org/trunk@18132 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-03 21:11:41 +00:00
Ryan Boren
39f8f07013 Make user validation when adding a user via network admin consistent with adding a user elsewhere. Provide better feedback for validation problems. Props sorich87. fixes #17239
git-svn-id: https://develop.svn.wordpress.org/trunk@18131 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-03 18:59:12 +00:00
Ryan Boren
0f089b9c47 Properly return referrer when referer = true and echo = false. Props scribu, webduo. fixes #11953
git-svn-id: https://develop.svn.wordpress.org/trunk@18130 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-03 18:23:41 +00:00
Ryan Boren
a118d32b6b Link to site being edited. Props lloydbudd. fixes #17257
git-svn-id: https://develop.svn.wordpress.org/trunk@18129 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-03 15:35:45 +00:00
Ryan Boren
30d46abd66 Add cache_domain argument to get_terms() to allow caching to a unique set of cache buckets. Useful when taxonomy queries have been modified via filters and need their own cache space. Props mfields. fixes #13318
git-svn-id: https://develop.svn.wordpress.org/trunk@18128 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-03 15:24:14 +00:00
Ian Stewart
ef01a94b3f Twenty Eleven: show expected formatting for em, strong, and a in editor styles; Props greuben; Fixes #17417
git-svn-id: https://develop.svn.wordpress.org/trunk@18127 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-03 14:33:11 +00:00
Mark Jaquith
2de9f72e0d Tighten up the Credits page so it's not so spaced out.
git-svn-id: https://develop.svn.wordpress.org/trunk@18126 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-03 09:00:49 +00:00
Ryan Boren
f786d16ed3 Add rtl class to the admin body if is_rtl(). RTL fixes for twentyeleven theme-options.php. Props rasheed. fixes #17603
git-svn-id: https://develop.svn.wordpress.org/trunk@18125 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 22:19:58 +00:00
Andrew Ozz
145d947721 Also move the dark arrows, props ocean90, see #17544
git-svn-id: https://develop.svn.wordpress.org/trunk@18124 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 22:04:01 +00:00
Ryan Boren
0c893945ba Retain screen-reader-text for pages shown in the admin. see #17524
git-svn-id: https://develop.svn.wordpress.org/trunk@18123 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 21:59:11 +00:00
Andrew Ozz
c895da270c Squeeze 10 more pixels for longer menu names, fixes #17544
git-svn-id: https://develop.svn.wordpress.org/trunk@18122 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 21:21:15 +00:00
Ian Stewart
68ed6937db Twenty Eleven: editor-style should have max-width; Props bi0xid; Fixes #17393 #17649; See #17644
git-svn-id: https://develop.svn.wordpress.org/trunk@18121 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 21:03:50 +00:00
Ryan Boren
b44c6a29dc Remove summary attribute. Props ocean90. fixes #11554
git-svn-id: https://develop.svn.wordpress.org/trunk@18120 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 20:43:31 +00:00
Ryan Boren
4f8c05a1cb Revert [17663]. fixes #17131
git-svn-id: https://develop.svn.wordpress.org/trunk@18119 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 20:03:27 +00:00
Daryl Koopersmith
49c59980ae Remove Courier from the monospace font stack. fixes #17640.
git-svn-id: https://develop.svn.wordpress.org/trunk@18118 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 19:55:27 +00:00
Ian Stewart
e6a591e5a8 Twenty Eleven: accessibility improvements and minor style fixes for galleries; See #17524
* Improved color contrast for light and dark color schemes
* Skip link for skipping directly to sidebar content
* Skip links visible on :focus
* Using a more semantic, general class name of .assistive-text instead of .section-heading and .screen-reader-text
* Focus styles for password inputs (and a minor style fix)


git-svn-id: https://develop.svn.wordpress.org/trunk@18117 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 19:30:07 +00:00
Ryan Boren
52b2ca8189 RTL fixes for credits.php. Props BenChapman, rasheed. fixes #17602
git-svn-id: https://develop.svn.wordpress.org/trunk@18116 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 17:21:28 +00:00
Ryan Boren
7a36f76c8f Validation fixes. Props ocean90, xknown. fixes #17364
git-svn-id: https://develop.svn.wordpress.org/trunk@18115 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 17:19:10 +00:00
Ryan Boren
332d95b648 Validation fixes. Props ocean90, xknown. fixes #17364
git-svn-id: https://develop.svn.wordpress.org/trunk@18114 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 17:05:55 +00:00
Ryan Boren
866b79d1c7 RTL fixes for dfw tagline, permalink editing, and hscroll. Props yoavf. fixes #17639
git-svn-id: https://develop.svn.wordpress.org/trunk@18113 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 16:04:02 +00:00
Ryan Boren
424f188ce1 Remove redundant hidden parent_id input from edit form. Props solarissmoke. fixes #17656
git-svn-id: https://develop.svn.wordpress.org/trunk@18112 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 15:26:01 +00:00
Ryan Boren
ee0e7b23db Resurrect hash_hmac() compat for hosts that --disable-hash. Props aaroncampbell. fixes #17647
git-svn-id: https://develop.svn.wordpress.org/trunk@18111 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 14:21:09 +00:00
Andrew Nacin
36f1805ec4 Take that, PHP 5.0.5. Good riddens. see #14160.
git-svn-id: https://develop.svn.wordpress.org/trunk@18110 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 22:03:36 +00:00
Ryan Boren
218486fb46 Use array_pop( array_keys() ) instead of end() to find the end of the array. end() finds that last item added, which is not reliable with plugins that add items to the end and then sort them up with custom_menu_order. see #17629
git-svn-id: https://develop.svn.wordpress.org/trunk@18109 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 21:27:42 +00:00
Andrew Ozz
599c9cc3a7 Set DFW background color to match the admin theme's background, see #17644
git-svn-id: https://develop.svn.wordpress.org/trunk@18108 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 20:50:04 +00:00
Peter Westwood
ab110ae8b8 Fix typo in PHPMailer. Fixes #17614 props pross.
git-svn-id: https://develop.svn.wordpress.org/trunk@18107 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 20:42:47 +00:00
Ryan Boren
45486df91d Apply editable_slug filter in post_slug_meta_box(). Props yoavf, ramiy. fixes #17598
git-svn-id: https://develop.svn.wordpress.org/trunk@18106 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 20:33:45 +00:00
Ryan Boren
7cb543f37f Apply editable_slug filter to parent page slugs in get_sample_permalink(). Props solarissmoke, ramiy. fixes #16999
git-svn-id: https://develop.svn.wordpress.org/trunk@18105 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 20:30:29 +00:00
Andrew Ozz
715e5a905b Remove reference to wp-fullscreen-content-css, see #17644
git-svn-id: https://develop.svn.wordpress.org/trunk@18104 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 20:08:41 +00:00
Andrew Ozz
f33bfbb86f Make DFW use the exact same style as the normal editor, remove width resizing in DFW as it would clash with editor-style.css for some themes, fixes #17644
git-svn-id: https://develop.svn.wordpress.org/trunk@18103 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 20:01:29 +00:00
Mark Jaquith
1d9e0ea01b Use monospaced font for HTML editor. props iammattthomas. fixes #17640
git-svn-id: https://develop.svn.wordpress.org/trunk@18102 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 19:31:42 +00:00
Ryan Boren
b41246fa30 Contextual help for twentyeleven's theme options screen. Props sbressler, dougwrites, jane. fixes #17357
git-svn-id: https://develop.svn.wordpress.org/trunk@18101 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 19:28:42 +00:00