Commit Graph

222 Commits

Author SHA1 Message Date
ryan
da4c3a96ad Set meta when upload matches dimensions. see #17240
git-svn-id: http://svn.automattic.com/wordpress/trunk@17758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 23:14:08 +00:00
ryan
67d53316e0 Allow selecting previously uploader headers and randomly serving previously uploaded or default headers. Props lancewillett. see #17240
git-svn-id: http://svn.automattic.com/wordpress/trunk@17757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 23:02:16 +00:00
nacin
9cb6e158fc Switch from Panel/SubPanel to Screen in inline documentation and Codex links. props michaelh, fixes #17265.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 15:24:49 +00:00
markjaquith
fc6e89da45 Expand submit_button() capabilities. Replace all (or almost all) manual HTML instances in WP. props sbressler. see #15064
git-svn-id: http://svn.automattic.com/wordpress/trunk@16061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 21:56:43 +00:00
nacin
5e1184aa57 Pinking shears.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-19 07:48:22 +00:00
scribu
799baf139c Use submit_button() in more places. See #15064
git-svn-id: http://svn.automattic.com/wordpress/trunk@15830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-17 18:24:34 +00:00
nacin
d91842f870 Allow disabling of custom header uploads via remove_theme_support. props jorbin, fixes #14837.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-17 07:12:34 +00:00
scribu
0253b52ee5 Add hook in custom header admin page. Props blepoxp. Fixes #15119
git-svn-id: http://svn.automattic.com/wordpress/trunk@15805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-14 14:02:06 +00:00
nacin
09c0f511d6 Use more specific selector. props CAMWebDesign, fixes #13880.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-14 08:25:34 +00:00
nacin
0a30928ce3 Missing links for custom background, header, and GUU. props zeo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 18:00:29 +00:00
nacin
bca5ad62d0 Use entity. props zeo, see #13720.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-09 22:32:08 +00:00
ryan
a50a7509ce Typo fix. Props zeo, dougwrites. fixes #13734
git-svn-id: http://svn.automattic.com/wordpress/trunk@15159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-07 16:29:52 +00:00
ryan
67980797eb Make crop button primary and change text to note that cropping the image publishes it. Props ocean90. see #13720
git-svn-id: http://svn.automattic.com/wordpress/trunk@15158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-07 16:25:33 +00:00
nacin
fc172d4d9a Help whitespace/punctuation cleanup. props zeo, see #13467.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-29 16:16:40 +00:00
nacin
c91b9cc817 Custom header and background help. props jane, see #13467.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-28 00:27:53 +00:00
ryan
1a552dd029 Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@14924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 02:42:15 +00:00
ryan
d017a8aa0e Custom header fixes and rework. Props ocean90. fixes #13231
git-svn-id: http://svn.automattic.com/wordpress/trunk@14907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-25 22:05:51 +00:00
nacin
85655c586f Ensure validation. props Utkarsh, see #13383.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-14 08:07:01 +00:00
nacin
7389ea41ea Use the edit_theme_options capability. fixes #13290.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-12 19:19:57 +00:00
nacin
9fb099891f Add trailing slash to some home_url() calls. props zeo, fixes #13245.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 17:13:11 +00:00
nacin
e64a657575 s/blog/site/ in even more places. props PeteMall, see #11644.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-30 03:17:49 +00:00
nacin
03f8a82b9a Correct the @since's for custom-header.php.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-30 18:55:35 +00:00
nacin
a7feaed0e6 Change @since 3.0 to @since 3.0.0.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-26 19:13:36 +00:00
dd32
18bab7afe6 Add @since to Custom Header functions
git-svn-id: http://svn.automattic.com/wordpress/trunk@13790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-21 11:02:05 +00:00
nacin
5097dba597 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: http://svn.automattic.com/wordpress/trunk@13751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-18 19:06:57 +00:00
markjaquith
58d47426cc More pedantry. "Setup" is not a verb. http://notaverb.com/setup
git-svn-id: http://svn.automattic.com/wordpress/trunk@13725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-17 04:39:50 +00:00
ryan
af1e54596c Header selector styling fixes. Props iammattthomas. see #12343
git-svn-id: http://svn.automattic.com/wordpress/trunk@13621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-08 22:14:11 +00:00
ryan
61d067df83 Fix class name. see #12343
git-svn-id: http://svn.automattic.com/wordpress/trunk@13515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 21:02:24 +00:00
ryan
c6261f5ff8 Default header selector, second pass. see #12343
git-svn-id: http://svn.automattic.com/wordpress/trunk@13404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 19:32:10 +00:00
ryan
a8a6d742e1 Default header selector, first pass. see #12343
git-svn-id: http://svn.automattic.com/wordpress/trunk@13403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 19:18:44 +00:00
ryan
111e334aca Drop 'Custom' from menu names. Use 'Menus' instead of Navigation. see #11817
git-svn-id: http://svn.automattic.com/wordpress/trunk@13339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 20:28:52 +00:00
ryan
6eadff2714 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: http://svn.automattic.com/wordpress/trunk@13043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-10 16:49:16 +00:00
ryan
bdfb0460da 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: http://svn.automattic.com/wordpress/trunk@12890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-28 19:00:16 +00:00
ryan
8760e7da1b Coding standards, space after if
git-svn-id: http://svn.automattic.com/wordpress/trunk@12752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 20:34:48 +00:00
azaozz
4134133d53 Remove unused .fade CSS class, props nacin, fixes #11628
git-svn-id: http://svn.automattic.com/wordpress/trunk@12546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-26 09:00:58 +00:00
ryan
9b6bd6bf87 Retunr WP_Error from wp_crop_image() and image_resize(). Props mdwaffe. fixes #9922
git-svn-id: http://svn.automattic.com/wordpress/trunk@12524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 18:39:31 +00:00
markjaquith
3ebf837ced Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: http://svn.automattic.com/wordpress/trunk@11383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 16:00:33 +00:00
markjaquith
6c2ffddf31 _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: http://svn.automattic.com/wordpress/trunk@11204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 19:43:53 +00:00
ryan
2d489767bb s/attribute_escape/attr/. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 05:58:45 +00:00
ryan
c2ff1cd44a Some attr escaping. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-27 23:09:08 +00:00
ryan
a61bc0ec8a Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@11013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-20 18:18:39 +00:00
ryan
b3c631cc1f Set default coords for cropper. Props yoavf. fixes #9526
git-svn-id: http://svn.automattic.com/wordpress/trunk@10925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-13 17:00:51 +00:00
ryan
d859e9dd3b Make jCrop compatible with noConflict. Props nbachiyski. fixes #9375
git-svn-id: http://svn.automattic.com/wordpress/trunk@10863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-03 18:18:47 +00:00
ryan
f3d12c8b47 Make buttons pretty
git-svn-id: http://svn.automattic.com/wordpress/trunk@10860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-03 00:52:50 +00:00
ryan
f8926b2ad9 Use Jcrop for cropping. see #9375
git-svn-id: http://svn.automattic.com/wordpress/trunk@10846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-27 16:45:55 +00:00
ryan
a9e8073b30 Use "Custom Header" for menu text. see #9178
git-svn-id: http://svn.automattic.com/wordpress/trunk@10623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-22 07:43:15 +00:00
ryan
e89192b1a8 Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 18:03:31 +00:00
ryan
e9b0748005 screen_icon() for Custom Image Header
git-svn-id: http://svn.automattic.com/wordpress/trunk@9924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-27 19:24:46 +00:00
ryan
716393be8f Use farbtastic for custom header color picker. Props rmmccue. see #5591
git-svn-id: http://svn.automattic.com/wordpress/trunk@8760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-28 17:42:21 +00:00
westi
c19b2d769e More phpdoc updates for wp-adming. See #7496 props santosj.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-16 07:27:34 +00:00
ryan
175c2b6fb1 WP-Admin File Level Inline Documentation from santosj. see #7496
git-svn-id: http://svn.automattic.com/wordpress/trunk@8618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-11 20:26:31 +00:00
ryan
35b18e5034 Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@8600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 05:36:14 +00:00
ryan
9771ec5110 First cut and better admin SSL support. see #7001
git-svn-id: http://svn.automattic.com/wordpress/trunk@7998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-27 17:46:01 +00:00
ryan
7f5548e55b Custom header and color picker fixes from mdawaffe. fixes #6577 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-16 20:58:03 +00:00
ryan
ee73826c11 Show custom header images in the media library. Props spikeyslam. fixes #6008
git-svn-id: http://svn.automattic.com/wordpress/trunk@7049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-26 21:07:15 +00:00
ryan
ad42d0148a Remove raquo from buttons. Props filosofo. fixes #5938
git-svn-id: http://svn.automattic.com/wordpress/trunk@6943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-20 19:30:55 +00:00
ryan
1ae1811dd0 Unused var cleanup. Props DD32. see #5418
git-svn-id: http://svn.automattic.com/wordpress/trunk@6551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-04 19:36:34 +00:00
ryan
2283075a92 Remove unused variables. Props DD32. see #5418
git-svn-id: http://svn.automattic.com/wordpress/trunk@6363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-06 06:37:30 +00:00
ryan
dab1c792c7 Remove unused variables. Props DD32. fixes #5418
git-svn-id: http://svn.automattic.com/wordpress/trunk@6354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-05 00:29:05 +00:00
matt
9813daa487 Make this more specific so it can be more easily overridden with CSS.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-10 04:38:27 +00:00
rob1n
458b65a2f0 Translate ». see #3401
git-svn-id: http://svn.automattic.com/wordpress/trunk@5676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-11 21:05:50 +00:00
ryan
d4288b9aee Add nonce to avoid AYS when restoring image header.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-15 16:47:15 +00:00
ryan
b311e786fe Do a cap check at the top of widgets since it won't always inherit the menu cap check.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-04 17:52:22 +00:00
ryan
6658364b30 Set eol-style
git-svn-id: http://svn.automattic.com/wordpress/trunk@5365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-01 17:46:55 +00:00
matt
3d21925922 Ryan slays the dragon. (Some of these return WP_Error objects.)
git-svn-id: http://svn.automattic.com/wordpress/trunk@5089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 02:05:29 +00:00
matt
7602d17899 (int)er the dragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 00:59:21 +00:00
markjaquith
2a11c99459 Sanitize browser-bound add_query_arg() outputs. fixes #3937
git-svn-id: http://svn.automattic.com/wordpress/trunk@5007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-09 04:36:24 +00:00
markjaquith
d0f79bb3f2 trailing tabs and whitespace cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-27 15:24:54 +00:00
ryan
a316ece6ab Fix wp_delete_file action. Props filosofo. fixes #3655
git-svn-id: http://svn.automattic.com/wordpress/trunk@4910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-22 01:52:00 +00:00
markjaquith
bc7b2b7606 Oops, two locations where this filter is called. fixes #3693
git-svn-id: http://svn.automattic.com/wordpress/trunk@4818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-27 22:57:29 +00:00
markjaquith
fc719cc97b Pass correct var to wp_create_file_in_uploads hook. props spikeyslam. fixes #3693
git-svn-id: http://svn.automattic.com/wordpress/trunk@4817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-27 22:56:32 +00:00
ryan
26fff7a52e Custom Image Header. fixes #3465
git-svn-id: http://svn.automattic.com/wordpress/trunk@4673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-03 23:49:34 +00:00