Commit Graph

55 Commits

Author SHA1 Message Date
Mark Jaquith 0259c2e13b Consistently apply class="title" to our options page h3 tags.
props norcross. fixes #24080.

git-svn-id: https://develop.svn.wordpress.org/trunk@24002 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-16 20:19:29 +00:00
Andrew Nacin 2c914a6c00 Only show help for upload_path and upload_url_path if those fields are visible. fixes #21720.
git-svn-id: https://develop.svn.wordpress.org/trunk@23134 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-09 17:04:08 +00:00
Andrew Nacin 84ca011876 Always attempt to embed URLs in content, removing the Auto-embeds (autoembed_urls) option.
Remove the UI for setting the default width and height for embeds. Width was confusing as it
was blank by default (inheriting the content width from the theme, or 500px). The height is
now calculated as 1.5x the content width, or 1000px, whichever is smaller.

The [embed] shortcode can still receive manual height and width attributes. This just removes
the global settings.

props wonderboymusic. see #21719.



git-svn-id: https://develop.svn.wordpress.org/trunk@21998 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-25 07:10:09 +00:00
Andrew Nacin 93f6ea672e Hide upload_path and upload_url_path from the Media Settings screen, assuming they are both set to their default values.
These can be set on options.php, or the UPLOADS constant or the filters in wp_upload_dir() should be used. WordPress should aim to avoid UI options that require filesystem changes as well, not to mention requiring the user to convert between paths and URLs.

fixes #21720.



git-svn-id: https://develop.svn.wordpress.org/trunk@21852 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-14 21:00:39 +00:00
Andrew Nacin eb4dd3e15f Add line breaks before most form field descriptions (the italicized gray text on General Settings and other screens). props johnbillion, helenyhou, fixes #17390.
git-svn-id: https://develop.svn.wordpress.org/trunk@20605 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-26 00:58:16 +00:00
Andrew Nacin c7a6f3bdf2 upload_url_path is a relative URL path, not an absolute URL. Remove type='url' as that enforces absoluteness. see #17863.
git-svn-id: https://develop.svn.wordpress.org/trunk@20204 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-16 04:43:20 +00:00
Andrew Nacin 671a9f07e2 Size options on options-media.php are allowed to be 0 or otherwise empty. see #17863.
git-svn-id: https://develop.svn.wordpress.org/trunk@20203 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-16 04:37:49 +00:00
Andrew Ozz fcbd8f7f57 Set proper HTML5 input types in the admin, props georgestephanis, fixes #17863
git-svn-id: https://develop.svn.wordpress.org/trunk@20168 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-10 01:23:48 +00:00
Andrew Nacin 3561beb4f7 Help text tweaks for the Settings screens. props jane. see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19507 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 00:52:31 +00:00
Daryl Koopersmith 9dd06a1af9 Update help text on settings pages. props Ipstenu, see #19020.
git-svn-id: https://develop.svn.wordpress.org/trunk@19472 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-29 16:58:58 +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
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
Andrew Nacin 7feeb0a320 Help text edits. props dougwrites, fixes #15346.
git-svn-id: https://develop.svn.wordpress.org/trunk@16980 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-16 06:37:03 +00:00
scribu acbaa128c8 Improve oEmbed toggle label. Props JohnONolan. Fixes #15430
git-svn-id: https://develop.svn.wordpress.org/trunk@16557 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-23 22:52:32 +00:00
scribu baa3e083c7 Introduce submit_button(). Props markjaquith for initial patch. See #15064
git-svn-id: https://develop.svn.wordpress.org/trunk@15810 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-14 19:58:06 +00:00
Andrew Nacin 53d3846f6a target=blank for help. props jorbin, see #13467
git-svn-id: https://develop.svn.wordpress.org/trunk@15132 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-03 21:00:39 +00:00
Ryan Boren 0922715668 Cut 'em out, move 'em on, trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@15116 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 20:04:07 +00:00
Andrew Nacin 8c693e492e Help fixes, props jane. fixes #13467.
git-svn-id: https://develop.svn.wordpress.org/trunk@15103 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 05:54:14 +00:00
Andrew Nacin f1e5699091 Settings help. props duck_, see #13467.
git-svn-id: https://develop.svn.wordpress.org/trunk@15000 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-27 19:05:59 +00:00
Andrew Nacin ec4f5b83bf Use relative paths when including files, avoiding include_path. fixes #12594, props sorich87.
git-svn-id: https://develop.svn.wordpress.org/trunk@14139 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 06:14:45 +00:00
Andrew Nacin 12ac793e78 Change "Blog" to "Site" in the Settings panels.
git-svn-id: https://develop.svn.wordpress.org/trunk@13750 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-18 17:46:25 +00:00
Dion Hulse 6045d8f79f Restore MultiSite checks on Upload settings, Add proper whitelisting. Props Denis-de-Bernardy. Fixes #11687
git-svn-id: https://develop.svn.wordpress.org/trunk@13545 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 10:31:06 +00:00
Dion Hulse 78c20f584a Move Upload folder settings to Options -> Media. Props nacin. Fixes #11687
git-svn-id: https://develop.svn.wordpress.org/trunk@13529 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-01 12:13:15 +00:00
Ryan Boren 60bbd214b3 Remove oEmbed discovery option. Add hook so plugins can enable it. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12411 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-15 21:16:00 +00:00
Ryan Boren 1b4bdc773c Show oEmbed discovery option only if the current user has the unfiltered_html cap. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12140 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-04 15:52:23 +00:00
Ryan Boren b552dbdd9b Switch oEmbed option to control discovery. Tweak whitelist and settings page. Props Viper007Bond. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12136 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-02 14:41:35 +00:00
Ryan Boren 2ac10a307b Tweak embed settings. Props Viper007Bond. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12076 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-20 21:28:35 +00:00
Ryan Boren e71f15a979 Embeds. Props Viper007Bond. see #10337
git-svn-id: https://develop.svn.wordpress.org/trunk@12023 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-13 17:04:22 +00:00
Ryan Boren 98b8d02a40 Add some CYA cap checks.
git-svn-id: https://develop.svn.wordpress.org/trunk@11761 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-01 21:12:17 +00:00
Mark Jaquith f0336cfa7d deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: https://develop.svn.wordpress.org/trunk@11380 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 15:11:07 +00:00
Mark Jaquith a2bf4db52b Use a semantic class name for text targeted to screen readers. props filosofo. fixes #9791
git-svn-id: https://develop.svn.wordpress.org/trunk@11312 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-12 22:40:56 +00:00
Ryan Boren 9a1ebaa73b Fix hiding off offscreen legends in Firefox. Props Denis-de-Bernardy. fixes #9783
git-svn-id: https://develop.svn.wordpress.org/trunk@11283 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-11 22:11:13 +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 4a047f4240 Use invisible class for hiding labels and legends.
git-svn-id: https://develop.svn.wordpress.org/trunk@11180 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-04 21:28:58 +00:00
Ryan Boren 3b7130bbae attr escaping. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11110 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 06:37:51 +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
Andrew Ozz 1d302ecb8c Remove insert image default options (handled by state saving), fix URL buttons in uploader for newly uploaded images, fix font priority in global.css
git-svn-id: https://develop.svn.wordpress.org/trunk@10009 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-02 10:29:54 +00:00
Ryan Boren f922c423ae Use settings_fields()
git-svn-id: https://develop.svn.wordpress.org/trunk@9954 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-28 21:57:58 +00:00
Andrew Ozz 90c37c1792 Screen icons
git-svn-id: https://develop.svn.wordpress.org/trunk@9903 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-26 13:51:25 +00:00
Peter Westwood 9e5e059f15 Add missing translations for media options.
git-svn-id: https://develop.svn.wordpress.org/trunk@9843 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-22 09:56:20 +00:00
Mark Jaquith 82a39b97be Cast image sizes to ints. Explain that sizes are in pixels. fixes #8160
git-svn-id: https://develop.svn.wordpress.org/trunk@9661 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-13 07:54:27 +00:00
Peter Westwood ab7836e072 Translation fix.
git-svn-id: https://develop.svn.wordpress.org/trunk@9480 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-02 22:32:57 +00:00
Ryan Boren 3ba9f6004f Translate sizes. fixes #8012
git-svn-id: https://develop.svn.wordpress.org/trunk@9418 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-30 16:00:24 +00:00
Peter Westwood 0157387518 Move inline styles to the stylesheets. Fixes #7985 props Speedboxer.
git-svn-id: https://develop.svn.wordpress.org/trunk@9390 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-28 22:07:39 +00:00
Andrew Ozz 4d59069999 Fix button styling inconsistency on settings pages, props sivel, fixes #7975
git-svn-id: https://develop.svn.wordpress.org/trunk@9369 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-27 20:41:05 +00:00
Peter Westwood f768084e6c More options pages updates.
git-svn-id: https://develop.svn.wordpress.org/trunk@9346 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-25 21:29:18 +00:00
Mark Jaquith f495ff86bf Do not put an overline for submit buttons at the top (TODO: figure out our style for options pages)
git-svn-id: https://develop.svn.wordpress.org/trunk@9320 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-24 10:45:58 +00:00
Mark Jaquith 202c2fc0be Covering our XSS bases
git-svn-id: https://develop.svn.wordpress.org/trunk@9233 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-17 20:06:22 +00:00
Mark Jaquith 377ad4f01d Bring back the H2s. Rough draft.
git-svn-id: https://develop.svn.wordpress.org/trunk@9232 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-17 20:02:03 +00:00