Commit Graph

57 Commits

Author SHA1 Message Date
Ryan Boren aec821c651 Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@14924 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 02:42:15 +00:00
Ryan Boren 065c7382e4 Custom header fixes and rework. Props ocean90. fixes #13231
git-svn-id: https://develop.svn.wordpress.org/trunk@14907 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 22:05:51 +00:00
Andrew Nacin a6a1d04ead Ensure validation. props Utkarsh, see #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14626 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 08:07:01 +00:00
Andrew Nacin 49e4cad78c Use the edit_theme_options capability. fixes #13290.
git-svn-id: https://develop.svn.wordpress.org/trunk@14581 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-12 19:19:57 +00:00
Andrew Nacin 84578d128b Add trailing slash to some home_url() calls. props zeo, fixes #13245.
git-svn-id: https://develop.svn.wordpress.org/trunk@14443 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 17:13:11 +00:00
Andrew Nacin 2473cefe8f s/blog/site/ in even more places. props PeteMall, see #11644.
git-svn-id: https://develop.svn.wordpress.org/trunk@14315 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-30 03:17:49 +00:00
Andrew Nacin 7c772cde16 Correct the @since's for custom-header.php.
git-svn-id: https://develop.svn.wordpress.org/trunk@13895 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-30 18:55:35 +00:00
Andrew Nacin e34ca97ae0 Change @since 3.0 to @since 3.0.0.
git-svn-id: https://develop.svn.wordpress.org/trunk@13827 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 19:13:36 +00:00
Dion Hulse ff1ec0a955 Add @since to Custom Header functions
git-svn-id: https://develop.svn.wordpress.org/trunk@13790 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-21 11:02:05 +00:00
Andrew Nacin 8aac1fc447 Use h3 (not h2) to break up sections on custom header/bg screens. Move div.updated message to right after the h2, as JS will move it there anyway.
git-svn-id: https://develop.svn.wordpress.org/trunk@13751 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 19:06:57 +00:00
Mark Jaquith 8bca8131a6 More pedantry. "Setup" is not a verb. http://notaverb.com/setup
git-svn-id: https://develop.svn.wordpress.org/trunk@13725 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 04:39:50 +00:00
Ryan Boren 88268d637d Header selector styling fixes. Props iammattthomas. see #12343
git-svn-id: https://develop.svn.wordpress.org/trunk@13621 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-08 22:14:11 +00:00
Ryan Boren e17f4a48f7 Fix class name. see #12343
git-svn-id: https://develop.svn.wordpress.org/trunk@13515 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 21:02:24 +00:00
Ryan Boren e4b8919c31 Default header selector, second pass. see #12343
git-svn-id: https://develop.svn.wordpress.org/trunk@13404 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 19:32:10 +00:00
Ryan Boren 4ee18ae484 Default header selector, first pass. see #12343
git-svn-id: https://develop.svn.wordpress.org/trunk@13403 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 19:18:44 +00:00
Ryan Boren 33bd0dd935 Drop 'Custom' from menu names. Use 'Menus' instead of Navigation. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13339 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 20:28:52 +00:00
Ryan Boren d22d07e1f2 Use switch_themes instead of edit_themes so that non super admins on multisite installs can customize headers and backgrounds. Add CYA cap checks.
git-svn-id: https://develop.svn.wordpress.org/trunk@13043 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-10 16:49:16 +00:00
Ryan Boren 93fc30b2a0 Send user back to main custom header page after cropping and setting image. Add support for a custom image div callback for greather theme flexibility. Props dphiffer. see #11855
git-svn-id: https://develop.svn.wordpress.org/trunk@12890 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-28 19:00:16 +00:00
Ryan Boren e2adfc832a Coding standards, space after if
git-svn-id: https://develop.svn.wordpress.org/trunk@12752 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-18 20:34:48 +00:00
Andrew Ozz 060d9185e6 Remove unused .fade CSS class, props nacin, fixes #11628
git-svn-id: https://develop.svn.wordpress.org/trunk@12546 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-26 09:00:58 +00:00
Ryan Boren 7ccd64fbe7 Retunr WP_Error from wp_crop_image() and image_resize(). Props mdwaffe. fixes #9922
git-svn-id: https://develop.svn.wordpress.org/trunk@12524 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 18:39:31 +00:00
Mark Jaquith ba1c3bdd5b Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: https://develop.svn.wordpress.org/trunk@11383 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 16:00:33 +00:00
Mark Jaquith c638e8d8de _a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11204 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 19:43:53 +00:00
Ryan Boren fe7c34b6fd s/attribute_escape/attr/. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11109 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 05:58:45 +00:00
Ryan Boren a114582715 Some attr escaping. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11104 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-27 23:09:08 +00:00
Ryan Boren 12c7093645 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@11013 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-20 18:18:39 +00:00
Ryan Boren 2534eee04b Set default coords for cropper. Props yoavf. fixes #9526
git-svn-id: https://develop.svn.wordpress.org/trunk@10925 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-13 17:00:51 +00:00
Ryan Boren f544f21ad3 Make jCrop compatible with noConflict. Props nbachiyski. fixes #9375
git-svn-id: https://develop.svn.wordpress.org/trunk@10863 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-03 18:18:47 +00:00
Ryan Boren fba2ab997b Make buttons pretty
git-svn-id: https://develop.svn.wordpress.org/trunk@10860 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-03 00:52:50 +00:00
Ryan Boren d861062501 Use Jcrop for cropping. see #9375
git-svn-id: https://develop.svn.wordpress.org/trunk@10846 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-27 16:45:55 +00:00
Ryan Boren 01f92d2f04 Use "Custom Header" for menu text. see #9178
git-svn-id: https://develop.svn.wordpress.org/trunk@10623 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-22 07:43:15 +00:00
Ryan Boren baaaa352ba Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10150 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-09 18:03:31 +00:00
Ryan Boren 798561238f screen_icon() for Custom Image Header
git-svn-id: https://develop.svn.wordpress.org/trunk@9924 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-27 19:24:46 +00:00
Ryan Boren 5e69c6919c Use farbtastic for custom header color picker. Props rmmccue. see #5591
git-svn-id: https://develop.svn.wordpress.org/trunk@8760 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-28 17:42:21 +00:00
Peter Westwood e1adf1d070 More phpdoc updates for wp-adming. See #7496 props santosj.
git-svn-id: https://develop.svn.wordpress.org/trunk@8656 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-16 07:27:34 +00:00
Ryan Boren a70e1a34e5 WP-Admin File Level Inline Documentation from santosj. see #7496
git-svn-id: https://develop.svn.wordpress.org/trunk@8618 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-11 20:26:31 +00:00
Ryan Boren 2272a1a950 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@8600 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-09 05:36:14 +00:00
Ryan Boren f213f87d59 First cut and better admin SSL support. see #7001
git-svn-id: https://develop.svn.wordpress.org/trunk@7998 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-27 17:46:01 +00:00
Ryan Boren 1ed52ed5d7 Custom header and color picker fixes from mdawaffe. fixes #6577 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7698 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 20:58:03 +00:00
Ryan Boren 2aa0422fdf Show custom header images in the media library. Props spikeyslam. fixes #6008
git-svn-id: https://develop.svn.wordpress.org/trunk@7049 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-26 21:07:15 +00:00
Ryan Boren ea73b4aa17 Remove raquo from buttons. Props filosofo. fixes #5938
git-svn-id: https://develop.svn.wordpress.org/trunk@6943 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-20 19:30:55 +00:00
Ryan Boren 791a7d7191 Unused var cleanup. Props DD32. see #5418
git-svn-id: https://develop.svn.wordpress.org/trunk@6551 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-04 19:36:34 +00:00
Ryan Boren 029a74ca44 Remove unused variables. Props DD32. see #5418
git-svn-id: https://develop.svn.wordpress.org/trunk@6363 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-06 06:37:30 +00:00
Ryan Boren 721b8c930b Remove unused variables. Props DD32. fixes #5418
git-svn-id: https://develop.svn.wordpress.org/trunk@6354 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-05 00:29:05 +00:00
Matt Mullenweg 701989a76d Make this more specific so it can be more easily overridden with CSS.
git-svn-id: https://develop.svn.wordpress.org/trunk@5795 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-10 04:38:27 +00:00
rob1n af3be824e7 Translate ». see #3401
git-svn-id: https://develop.svn.wordpress.org/trunk@5676 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-11 21:05:50 +00:00
Ryan Boren 1ff3a1e05a Add nonce to avoid AYS when restoring image header.
git-svn-id: https://develop.svn.wordpress.org/trunk@5478 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-15 16:47:15 +00:00
Ryan Boren ed0260ac9e Do a cap check at the top of widgets since it won't always inherit the menu cap check.
git-svn-id: https://develop.svn.wordpress.org/trunk@5385 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-04 17:52:22 +00:00
Ryan Boren 8218fe63c8 Set eol-style
git-svn-id: https://develop.svn.wordpress.org/trunk@5365 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-01 17:46:55 +00:00
Matt Mullenweg d57901d29a Ryan slays the dragon. (Some of these return WP_Error objects.)
git-svn-id: https://develop.svn.wordpress.org/trunk@5089 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 02:05:29 +00:00