Commit Graph

340 Commits

Author SHA1 Message Date
azaozz
e7b985db6f Clarify that 'html' refers to the Text editor tab, see #20993
git-svn-id: http://core.svn.wordpress.org/trunk@21218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-05 20:28:01 +00:00
ryan
8dfe243dd4 Update Fire browser detection. Handle silke mode. Props azaozz, nacin, georgestephanis. fixes #20014
git-svn-id: http://core.svn.wordpress.org/trunk@20990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-04 16:04:54 +00:00
koopersmith
c2fb0c425b 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: http://svn.automattic.com/wordpress/trunk@20419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-10 02:25:03 +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
b14e2379fb 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: http://svn.automattic.com/wordpress/trunk@20326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-30 13:10:52 +00:00
nacin
c67544eadb 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: http://svn.automattic.com/wordpress/trunk@19936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-17 00:21:00 +00:00
ryan
f66cb09abc Update color scheme definition for Gray Theme. Props chexee. fixes #17818
git-svn-id: http://svn.automattic.com/wordpress/trunk@19851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-07 17:20:02 +00:00
ryan
e3b46b25d3 Lose EOF ?>. Clean up EOF newlines. fixes #12307
git-svn-id: http://svn.automattic.com/wordpress/trunk@19712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 17:01:11 +00:00
ryan
83b131f8e3 User lowercase true, false, null instead of uppercase. Props c3mdigital, mfields. fixes #16302
git-svn-id: http://svn.automattic.com/wordpress/trunk@19687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-05 20:50:54 +00:00
ryan
616c35e71c One newline is enough.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-05 20:10:39 +00:00
ryan
d1ba11c7d1 Update some @since. Props dgwyer. fixes #19638
git-svn-id: http://svn.automattic.com/wordpress/trunk@19673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-04 19:03:33 +00:00
ryan
07ff8b216b Use one space, not two, after trailing punctuation. fixes #19537
git-svn-id: http://svn.automattic.com/wordpress/trunk@19593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-13 23:45:31 +00:00
ryan
6bba5a265b Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@19528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 04:51:35 +00:00
azaozz
b7bbb13ca5 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: http://svn.automattic.com/wordpress/trunk@19432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 22:49:17 +00:00
nacin
a7c296dd47 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: http://svn.automattic.com/wordpress/trunk@19420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 19:06:52 +00:00
nacin
b4debb9648 Because we can. see #18034.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-22 21:27:27 +00:00
ryan
d6612a1faf Revert [18665]. Causes fatal double include in themes that call get_header() twice. see #18331
git-svn-id: http://svn.automattic.com/wordpress/trunk@19315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-16 22:55:59 +00:00
ryan
45ddf08e07 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: http://svn.automattic.com/wordpress/trunk@19304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 20:44:48 +00:00
nacin
9c24e72550 Use hellip instead of poor man's elipsis in pagination links. props georgestephanis, fixes #19182.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 21:24:49 +00:00
azaozz
5869b4d388 More phpdoc for wp_editor(), see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@19239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 17:46:23 +00:00
ryan
07cf882213 Escape href in feed_links_extra(). Props solarissmoke. fixes #17408
git-svn-id: http://svn.automattic.com/wordpress/trunk@19096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-31 20:22:35 +00:00
ryan
28b1b4763d Avoid E_STRICT notices. see #18975
git-svn-id: http://svn.automattic.com/wordpress/trunk@19094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-31 19:38:46 +00:00
nacin
50997f28b1 Use esc_url() rather than esc_attr() on a redirect-to URL. fixes #17243.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 23:41:07 +00:00
nacin
dbfc8a855c Fix the current page default redirect in wp_login_form(). props kawauso, see #17243.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 23:40:09 +00:00
nacin
92ba22e537 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: http://svn.automattic.com/wordpress/trunk@19027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 14:40:11 +00:00
azaozz
144a8ad8ce Update user_can_richedit to allow TinyMCE in iOS5, props markoheijnen, fixes #18626
git-svn-id: http://svn.automattic.com/wordpress/trunk@18963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-13 06:37:24 +00:00
markjaquith
9e80bec002 Always pass the post ID as the second argument to the the_title filter. props GaryJ. fixes #16688
git-svn-id: http://svn.automattic.com/wordpress/trunk@18907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-06 21:09:37 +00:00
ryan
2b9750b3e4 phpdoc typo fixes for get_template_part(). Props dgwyer, SergeyBiryukov. fixes #18555
git-svn-id: http://svn.automattic.com/wordpress/trunk@18723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 19:01:03 +00:00
nacin
020e620769 Use get_template_part() in get_header(), get_sidebar(), get_footer(). props scribu, see #18331.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-13 16:17:14 +00:00
azaozz
83c377a8ef WP_Editor: don't show empty div if no editor-buttons and media-buttons are shown, props ocean90, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-07 17:03:18 +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
nacin
754bebe419 Context for the color scheme strings. props SergeyBiryukov, fixes #18208.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-22 06:29:14 +00:00
nacin
8d7a97abf9 Use login_post context for wp_login_form action. props mdawaffe, see #18137 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-15 23:11:36 +00:00
ryan
eca48b71f1 Remove summary attribute. Props ocean90. fixes #11554
git-svn-id: http://svn.automattic.com/wordpress/trunk@18120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 20:43:31 +00:00
nacin
fad60afa23 Code readability improvements. props niallkennedy, fixes #17166, #17182, #17231, #16474.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 22:30:05 +00:00
azaozz
96c6667c5c Don't show the Fullscreen button on the comment edit page, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 07:34:54 +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
ryan
4e17a731ff Show correct title for static page home. Props aaroncampbell, greuben, SergeyBiryukov. fixes #16041
git-svn-id: http://svn.automattic.com/wordpress/trunk@17187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-30 21:10:45 +00:00
nacin
db7266124a echo OR return, not both, in single_term_title(). props Viper007Bond, fixes #15939.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-22 00:04:53 +00:00
ryan
587ea006b5 Translations in title attributes require esc_attr().
git-svn-id: http://svn.automattic.com/wordpress/trunk@17102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-21 17:17:58 +00:00
nacin
6c025aa06f Plugin install and thickbox for the network admin. props ocean90, fixes #15510, fixes #15750.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 18:48:40 +00:00
scribu
39d0718bff Set queried object on CPT archives. Fixes #15730
git-svn-id: http://svn.automattic.com/wordpress/trunk@16792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 08:57:38 +00:00
scribu
f4c63d53aa Pass $args to login_form_* filters. Props aaroncampbell. Fixes #15702
git-svn-id: http://svn.automattic.com/wordpress/trunk@16749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 16:24:05 +00:00
ryan
3f72e340d6 Update since phpdoc. Props demetris. fixes #15445
git-svn-id: http://svn.automattic.com/wordpress/trunk@16660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-01 19:24:38 +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
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
ryan
3a4671f530 Prevent stomping of global. Props prettyboymp. fixes #13945
git-svn-id: http://svn.automattic.com/wordpress/trunk@16303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 16:22:18 +00:00
nacin
c914ad1731 Add missing arguments to post_type_archive_title. props greenshady, see #13818.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 21:14:43 +00:00
nacin
72c23453d1 New color scheme swatches for the profile page. props JohnONolan, saracannon. see #15207.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-02 21:04:29 +00:00
scribu
e2efa78154 use get_queried_object() wrappers throughout. See #14015
git-svn-id: http://svn.automattic.com/wordpress/trunk@16114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-31 11:02:17 +00:00