Commit Graph

342 Commits

Author SHA1 Message Date
Andrew Ozz
6e6b727315 Remove nearly all tabindex attributes from the admin, leaving them only where absolutely necessary (for now that's only the toolbar).
Add tabindex="-1" for the menu images links to avoid double tab stops there when the menu is expanded.

Fix/add auto-focus on the first input fields on the Add/Edit Post, all taxonomy, all edit taxonomy, Log In and Edit Comment screens.

See #21340.

git-svn-id: https://develop.svn.wordpress.org/trunk@21311 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-24 00:15:15 +00:00
Mark Jaquith
ebcf49cf93 Bunch of PHPDoc corrections and cleanups. props c3mdigital. props SergeyBiryukov. fixes #21149
git-svn-id: https://develop.svn.wordpress.org/trunk@21241 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-09 05:03:53 +00:00
Andrew Ozz
757652fe01 Clarify that 'html' refers to the Text editor tab, see #20993
git-svn-id: https://develop.svn.wordpress.org/trunk@21218 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-05 20:28:01 +00:00
Ryan Boren
589a54bbee Update Fire browser detection. Handle silke mode. Props azaozz, nacin, georgestephanis. fixes #20014
git-svn-id: https://develop.svn.wordpress.org/trunk@20990 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-04 16:04:54 +00:00
Daryl Koopersmith
955ca76116 Replace all instances of thickbox theme preview with the theme customizer. fixes #20404.
* Use theme customizer in theme install/update screens.
* Separate the customize loader from the customizer. Use wp_customize_loader() to include the loader script and markup.
* Deprecated: wp-admin/js/theme-preview.js is now no longer used by core.

git-svn-id: https://develop.svn.wordpress.org/trunk@20419 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-10 02:25:03 +00:00
Andrew Ozz
bce0d37a67 Introduce wp_is_mobile() and use it instead of $is_iphone global, see #20014
git-svn-id: https://develop.svn.wordpress.org/trunk@20417 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-10 01:19:30 +00:00
Andrew Nacin
1d7714d923 Check for is_rtl() existence before checking it in the fallback condition in wp_admin_css(). Prevents fatal errors when plugins call wp_admin_css() on a non-existent (probably removed) stylesheet. props SergeyBiryukov, fixes #19913.
git-svn-id: https://develop.svn.wordpress.org/trunk@20326 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-30 13:10:52 +00:00
Andrew Nacin
c4f71a65a4 Don't try to load the visual editor for Amazon's Silk browser (Kindle Fire), as it doesn't work. Add in a sunrise clause for WebKit build 534. see #20012.
git-svn-id: https://develop.svn.wordpress.org/trunk@19936 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-17 00:21:00 +00:00
Ryan Boren
dc41877dc9 Update color scheme definition for Gray Theme. Props chexee. fixes #17818
git-svn-id: https://develop.svn.wordpress.org/trunk@19851 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-07 17:20:02 +00:00
Ryan Boren
2b186b0c45 Lose EOF ?>. Clean up EOF newlines. fixes #12307
git-svn-id: https://develop.svn.wordpress.org/trunk@19712 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 17:01:11 +00:00
Ryan Boren
a8d77cbae9 User lowercase true, false, null instead of uppercase. Props c3mdigital, mfields. fixes #16302
git-svn-id: https://develop.svn.wordpress.org/trunk@19687 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-05 20:50:54 +00:00
Ryan Boren
5e76729992 One newline is enough.
git-svn-id: https://develop.svn.wordpress.org/trunk@19684 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-05 20:10:39 +00:00
Ryan Boren
f1ec82c3a7 Update some @since. Props dgwyer. fixes #19638
git-svn-id: https://develop.svn.wordpress.org/trunk@19673 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-04 19:03:33 +00:00
Ryan Boren
676ba7043e Use one space, not two, after trailing punctuation. fixes #19537
git-svn-id: https://develop.svn.wordpress.org/trunk@19593 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-13 23:45:31 +00:00
Ryan Boren
6610e321e7 Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@19528 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 04:51:35 +00:00
Andrew Ozz
ae2743d972 Changes user_can_richedit() to default to true for logged out users, same as the default for logged in users, fixes #19320
git-svn-id: https://develop.svn.wordpress.org/trunk@19432 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 22:49:17 +00:00
Andrew Nacin
fc9bd67e14 Move WP_Editor to a _WP_Editors encapsulation.
* WP_Editor will return in 3.4 as a one true API for editor instances. Stick to wp_editor() for now.
 * TinyMCE can now be forced on with tinymce = true. It defaults to the value for user_can_richedit().
 * Restores wp_default_editor(), wp_link_query(), wp_link_dialog(), wp_fullscreen_html().
fixes #19320.


git-svn-id: https://develop.svn.wordpress.org/trunk@19420 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 19:06:52 +00:00
Andrew Nacin
3316f10905 Because we can. see #18034.
git-svn-id: https://develop.svn.wordpress.org/trunk@19406 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-22 21:27:27 +00:00
Ryan Boren
f9d3ff78c0 Revert [18665]. Causes fatal double include in themes that call get_header() twice. see #18331
git-svn-id: https://develop.svn.wordpress.org/trunk@19315 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-16 22:55:59 +00:00
Ryan Boren
80ee709653 Introduce wp_no_robots(). Call it for pages that should never be indexed, regardless of blog privacy settings. Props nacin. fixes #19251
git-svn-id: https://develop.svn.wordpress.org/trunk@19304 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 20:44:48 +00:00
Andrew Nacin
668a850007 Use hellip instead of poor man's elipsis in pagination links. props georgestephanis, fixes #19182.
git-svn-id: https://develop.svn.wordpress.org/trunk@19282 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 21:24:49 +00:00
Andrew Ozz
79115ae6a5 More phpdoc for wp_editor(), see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@19239 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 17:46:23 +00:00
Ryan Boren
5d0176b03e Escape href in feed_links_extra(). Props solarissmoke. fixes #17408
git-svn-id: https://develop.svn.wordpress.org/trunk@19096 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-31 20:22:35 +00:00
Ryan Boren
4399cf7610 Avoid E_STRICT notices. see #18975
git-svn-id: https://develop.svn.wordpress.org/trunk@19094 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-31 19:38:46 +00:00
Andrew Nacin
5176354f22 Use esc_url() rather than esc_attr() on a redirect-to URL. fixes #17243.
git-svn-id: https://develop.svn.wordpress.org/trunk@19033 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-20 23:41:07 +00:00
Andrew Nacin
08073035a6 Fix the current page default redirect in wp_login_form(). props kawauso, see #17243.
git-svn-id: https://develop.svn.wordpress.org/trunk@19032 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-20 23:40:09 +00:00
Andrew Nacin
6355548ea2 Use wp_lostpassword_url() instead of site_url(wp-login...). Update wp_lostpassword_url() to use network_site_url(). props markoheijnen, fixes #18808.
git-svn-id: https://develop.svn.wordpress.org/trunk@19027 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-20 14:40:11 +00:00
Andrew Ozz
45e3751dc9 Update user_can_richedit to allow TinyMCE in iOS5, props markoheijnen, fixes #18626
git-svn-id: https://develop.svn.wordpress.org/trunk@18963 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-13 06:37:24 +00:00
Mark Jaquith
a08a12b46a Always pass the post ID as the second argument to the the_title filter. props GaryJ. fixes #16688
git-svn-id: https://develop.svn.wordpress.org/trunk@18907 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 21:09:37 +00:00
Ryan Boren
1cd6cf0f0c phpdoc typo fixes for get_template_part(). Props dgwyer, SergeyBiryukov. fixes #18555
git-svn-id: https://develop.svn.wordpress.org/trunk@18723 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 19:01:03 +00:00
Andrew Nacin
486670f072 Use get_template_part() in get_header(), get_sidebar(), get_footer(). props scribu, see #18331.
git-svn-id: https://develop.svn.wordpress.org/trunk@18665 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-13 16:17:14 +00:00
Andrew Ozz
4feac2cbde WP_Editor: don't show empty div if no editor-buttons and media-buttons are shown, props ocean90, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18519 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-07 17:03:18 +00:00
Andrew Ozz
461ceba60d Editor API enhancement, first run (still needs some work), see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18498 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 10:19:00 +00:00
Andrew Nacin
685221ec7d Context for the color scheme strings. props SergeyBiryukov, fixes #18208.
git-svn-id: https://develop.svn.wordpress.org/trunk@18461 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-22 06:29:14 +00:00
Andrew Nacin
14853ed87e Use login_post context for wp_login_form action. props mdawaffe, see #18137 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@18444 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-15 23:11:36 +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
Andrew Nacin
6076211cc6 Code readability improvements. props niallkennedy, fixes #17166, #17182, #17231, #16474.
git-svn-id: https://develop.svn.wordpress.org/trunk@17989 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-22 22:30:05 +00:00
Andrew Ozz
0d5e03dd9f Don't show the Fullscreen button on the comment edit page, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17966 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-19 07:34:54 +00:00
Andrew Ozz
07a62334de Distraction Free Writing mode, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17695 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-25 01:01:34 +00:00
Ryan Boren
20380fb8b6 Show correct title for static page home. Props aaroncampbell, greuben, SergeyBiryukov. fixes #16041
git-svn-id: https://develop.svn.wordpress.org/trunk@17187 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-30 21:10:45 +00:00
Andrew Nacin
676394918c echo OR return, not both, in single_term_title(). props Viper007Bond, fixes #15939.
git-svn-id: https://develop.svn.wordpress.org/trunk@17107 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-22 00:04:53 +00:00
Ryan Boren
34ef8c8df9 Translations in title attributes require esc_attr().
git-svn-id: https://develop.svn.wordpress.org/trunk@17102 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-21 17:17:58 +00:00
Andrew Nacin
98aac89317 Plugin install and thickbox for the network admin. props ocean90, fixes #15510, fixes #15750.
git-svn-id: https://develop.svn.wordpress.org/trunk@16963 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-15 18:48:40 +00:00
scribu
cae6e8d4ef Set queried object on CPT archives. Fixes #15730
git-svn-id: https://develop.svn.wordpress.org/trunk@16792 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-08 08:57:38 +00:00
scribu
6d54bcfe06 Pass $args to login_form_* filters. Props aaroncampbell. Fixes #15702
git-svn-id: https://develop.svn.wordpress.org/trunk@16749 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-06 16:24:05 +00:00
Ryan Boren
36a4508140 Update since phpdoc. Props demetris. fixes #15445
git-svn-id: https://develop.svn.wordpress.org/trunk@16660 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 19:24:38 +00:00
scribu
e72a75d2d6 Set 'taxonomy' and 'term' query vars for back-compat. Fixes #12659
git-svn-id: https://develop.svn.wordpress.org/trunk@16381 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-15 10:51:39 +00:00
scribu
32b416f959 Improve hook readability via curly brackets. Props jjj for initial patch. Fixes #15422
git-svn-id: https://develop.svn.wordpress.org/trunk@16365 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-14 15:50:02 +00:00
Ryan Boren
8ad934c85d Prevent stomping of global. Props prettyboymp. fixes #13945
git-svn-id: https://develop.svn.wordpress.org/trunk@16303 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-11 16:22:18 +00:00
Andrew Nacin
30ada3d17d Add missing arguments to post_type_archive_title. props greenshady, see #13818.
git-svn-id: https://develop.svn.wordpress.org/trunk@16211 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 21:14:43 +00:00