Commit Graph

85 Commits

Author SHA1 Message Date
Ryan Boren 9f8cbd8efc Use WP_Screen::add_help_tab(). see #19020
git-svn-id: https://develop.svn.wordpress.org/trunk@19514 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 02:22:07 +00:00
Andrew Nacin 33ee9a7d04 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: https://develop.svn.wordpress.org/trunk@19119 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 20:14:10 +00:00
Ryan Boren db63861af8 Use add_help_sidebar(). see #19020
git-svn-id: https://develop.svn.wordpress.org/trunk@19111 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 03:12:37 +00:00
Ryan Boren dbd72319f1 Add gettext. Props Latz. fixes #18173
git-svn-id: https://develop.svn.wordpress.org/trunk@18509 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-04 16:29:46 +00:00
Andrew Nacin 7f154ed6c3 Call get_(template|stylesheet)_directory_uri() only once in process_default_headers. props mitchoyoshitaka, fixes #17353.
git-svn-id: https://develop.svn.wordpress.org/trunk@18505 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-04 12:40:15 +00:00
Ryan Boren 091ec81919 Hardening. Santizers for WPLANG and new_admin_email. Prevent stomping ID and filter. Validate locale filename. Props westi.
git-svn-id: https://develop.svn.wordpress.org/trunk@18346 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-27 15:56:42 +00:00
Andrew Nacin 95c33db79f Sanity int casts in custom header step_3. props xknown, fixes #17779.
git-svn-id: https://develop.svn.wordpress.org/trunk@18298 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-13 08:50:16 +00:00
Ryan Boren ccba8dfbf3 Validation fixes. Props ocean90, peaceablewhale. see #17364
git-svn-id: https://develop.svn.wordpress.org/trunk@18010 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-23 23:33:30 +00:00
Ryan Boren da02537bb0 Mark import attachments as private. Schedule job to delete old import attachments. Introduce attachment context.
git-svn-id: https://develop.svn.wordpress.org/trunk@17999 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-22 23:25:28 +00:00
Ryan Boren 6d7348ee5c Custom header admin UI fixes. Props lancewillett. fixes #17240
git-svn-id: https://develop.svn.wordpress.org/trunk@17814 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-05 20:15:19 +00:00
Ryan Boren ee370ed273 Remove h3s. see #17240
git-svn-id: https://develop.svn.wordpress.org/trunk@17773 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-29 21:52:01 +00:00
Ryan Boren 9730cb8d15 Constructor cleanup. Props ocean90. fixes #16768
git-svn-id: https://develop.svn.wordpress.org/trunk@17771 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-29 20:05:12 +00:00
Ryan Boren 54822700b8 Fix hiding of header image. Fix radio selection when falling back to randomized default headers. Props lancewillett, kawauso. see #17240
git-svn-id: https://develop.svn.wordpress.org/trunk@17770 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-29 19:45:30 +00:00
Ryan Boren 5076061131 Set meta when upload matches dimensions. see #17240
git-svn-id: https://develop.svn.wordpress.org/trunk@17758 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 23:14:08 +00:00
Ryan Boren 405093f3de Allow selecting previously uploader headers and randomly serving previously uploaded or default headers. Props lancewillett. see #17240
git-svn-id: https://develop.svn.wordpress.org/trunk@17757 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 23:02:16 +00:00
Andrew Nacin f504e221e1 Switch from Panel/SubPanel to Screen in inline documentation and Codex links. props michaelh, fixes #17265.
git-svn-id: https://develop.svn.wordpress.org/trunk@17748 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 15:24:49 +00:00
Mark Jaquith d65cdf4ba8 Expand submit_button() capabilities. Replace all (or almost all) manual HTML instances in WP. props sbressler. see #15064
git-svn-id: https://develop.svn.wordpress.org/trunk@16061 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 21:56:43 +00:00
Andrew Nacin fb4e38b0e7 Pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@15843 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-19 07:48:22 +00:00
scribu 0911aa3e1a Use submit_button() in more places. See #15064
git-svn-id: https://develop.svn.wordpress.org/trunk@15830 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-17 18:24:34 +00:00
Andrew Nacin b7ffec08f8 Allow disabling of custom header uploads via remove_theme_support. props jorbin, fixes #14837.
git-svn-id: https://develop.svn.wordpress.org/trunk@15828 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-17 07:12:34 +00:00
scribu 3bd3ec6455 Add hook in custom header admin page. Props blepoxp. Fixes #15119
git-svn-id: https://develop.svn.wordpress.org/trunk@15805 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 14:02:06 +00:00
Andrew Nacin 3ca83773a7 Use more specific selector. props CAMWebDesign, fixes #13880.
git-svn-id: https://develop.svn.wordpress.org/trunk@15248 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-14 08:25:34 +00:00
Andrew Nacin 616e2e1185 Missing links for custom background, header, and GUU. props zeo.
git-svn-id: https://develop.svn.wordpress.org/trunk@15231 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 18:00:29 +00:00
Andrew Nacin fa5dd80231 Use entity. props zeo, see #13720.
git-svn-id: https://develop.svn.wordpress.org/trunk@15185 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-09 22:32:08 +00:00
Ryan Boren b0f3221f93 Typo fix. Props zeo, dougwrites. fixes #13734
git-svn-id: https://develop.svn.wordpress.org/trunk@15159 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-07 16:29:52 +00:00
Ryan Boren fe68d2c4ea Make crop button primary and change text to note that cropping the image publishes it. Props ocean90. see #13720
git-svn-id: https://develop.svn.wordpress.org/trunk@15158 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-07 16:25:33 +00:00
Andrew Nacin e89212637d Help whitespace/punctuation cleanup. props zeo, see #13467.
git-svn-id: https://develop.svn.wordpress.org/trunk@15054 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-29 16:16:40 +00:00
Andrew Nacin e9f6f2d13b Custom header and background help. props jane, see #13467.
git-svn-id: https://develop.svn.wordpress.org/trunk@15019 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 00:27:53 +00:00
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