Commit Graph

84 Commits

Author SHA1 Message Date
nacin bfb98c193e s/add_help_sidebar/set_help_sidebar/g and introduce screen->remove_help_tab($id) and screen->remove_help_tabs(). see #19020, #18785.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 20:14:10 +00:00
ryan 3ad1f67958 Use add_help_sidebar(). see #19020
git-svn-id: http://svn.automattic.com/wordpress/trunk@19111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 03:12:37 +00:00
ryan 1cf9dfacbf Add gettext. Props Latz. fixes #18173
git-svn-id: http://svn.automattic.com/wordpress/trunk@18509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-04 16:29:46 +00:00
nacin ba9ae611eb Call get_(template|stylesheet)_directory_uri() only once in process_default_headers. props mitchoyoshitaka, fixes #17353.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-04 12:40:15 +00:00
ryan 593659b8d0 Hardening. Santizers for WPLANG and new_admin_email. Prevent stomping ID and filter. Validate locale filename. Props westi.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-27 15:56:42 +00:00
nacin e149164921 Sanity int casts in custom header step_3. props xknown, fixes #17779.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-13 08:50:16 +00:00
ryan 8192d0dae8 Validation fixes. Props ocean90, peaceablewhale. see #17364
git-svn-id: http://svn.automattic.com/wordpress/trunk@18010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-23 23:33:30 +00:00
ryan 2cfb1592f0 Mark import attachments as private. Schedule job to delete old import attachments. Introduce attachment context.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 23:25:28 +00:00
ryan 9d63ef130f Custom header admin UI fixes. Props lancewillett. fixes #17240
git-svn-id: http://svn.automattic.com/wordpress/trunk@17814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-05 20:15:19 +00:00
ryan a53b3f3bb9 Remove h3s. see #17240
git-svn-id: http://svn.automattic.com/wordpress/trunk@17773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 21:52:01 +00:00
ryan 04487fc268 Constructor cleanup. Props ocean90. fixes #16768
git-svn-id: http://svn.automattic.com/wordpress/trunk@17771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 20:05:12 +00:00
ryan e0ffff9fb5 Fix hiding of header image. Fix radio selection when falling back to randomized default headers. Props lancewillett, kawauso. see #17240
git-svn-id: http://svn.automattic.com/wordpress/trunk@17770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 19:45:30 +00:00
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