Commit Graph

42 Commits

Author SHA1 Message Date
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