azaozz
db11985bda
Just testing
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 22:09:02 +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
iandstewart
54d958ddbd
Twenty Eleven: Simplified post author highlighting and comment arrow images for the dark color scheme comments; See #17198
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 21:00:06 +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
nacin
b59bcc8720
Remove unused variable. props ocean90.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 18:21:38 +00:00
azaozz
b065fc6c3d
Updated styles for the Visual editor buttons, props chexee, see #15986
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 16:08:16 +00:00
nacin
5616ac7fb2
Remove space from string. props pavelevap, fixes #17274 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 14:53:43 +00:00
nacin
124bb0289b
Revert unrelated code from [17765].
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 14:46:27 +00:00
nacin
52e6f54063
Update the self-referential destruction sequence in WP_Widget_RSS to account for trailing slashes. TODO: Strengthen our validation here.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 14:44:43 +00:00
nacin
90928c0251
Don't load dashboard widgets via XHR when the feed cache is hot. What a difference it makes, too. Reverts part of [11613], fixes #16927 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 06:54:03 +00:00
nacin
567f0c21ec
Use proper placeholders. No need to exit after wp_die(). fixes #17121 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 01:51:53 +00:00
ryan
06c03f44f0
Show access denied page and list a user's sites if they visit an admin they don't have permissions for rather than redirecting to the users' primary blog. fixes #17121
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 00:43:48 +00:00
lancewillett
372e5fd8de
Twenty Eleven: style.css cleanup and Showcase template improvements, props matveb - see #17198
...
* Add full support for the featured slider powered by JS (except auto-slide)
* Change the title hover state of large stickies to white
* Prevent plain text posts from being displayed transparently over images
* Update slider featured image size to 500x300
* Add comment blocks to showcase.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@17761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 00:19:02 +00:00
lancewillett
65cbcea31c
Twenty Eleven: update background color of comment arrows so they're visible, props iandstewart - see #17198
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 00:11:10 +00:00
nacin
03104c5cfd
Escape urls in the Epherma widget. see #17198 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 23:59:08 +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
iandstewart
1c054a6169
Twenty Eleven: First pass at dark color scheme w/ simplification of borders above and below the menu; See #17198
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 22:15:36 +00:00
iandstewart
262a27b5cf
Twenty Eleven: make sure that link color options set in theme-options.php will override showcase.php recent posts and ephemera widget link colors; See #17198
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 22:04:39 +00:00
lancewillett
a87ba1d261
Twenty Eleven: theme options - see #17198
...
* Make color swatch clickable to open palette
* Change color picker link to a submit button to match existing UI
git-svn-id: http://svn.automattic.com/wordpress/trunk@17754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 19:01:51 +00:00
ryan
7f9f067e60
Use exceptions with phpmailer to avoid headers already sent errors. fixes #17228
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 18:16:01 +00:00
iandstewart
e8f22e3175
Twenty Eleven: First pass at styles to support the theme option for alternate layouts; See #17198
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 18:14:48 +00:00
nacin
59446cff1d
Remove default-embeds.php. fixes #17112 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 17:03:23 +00:00
nacin
9fc2cddeea
Define border-radius with vendor properties. props hebbet, see #17226 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 16:51:12 +00:00
westi
80f4e83a8c
Introduce WP_MAX_MEMORY_LIMIT constant for the high memory limit we set when image processing and unzipping.
...
Ensure it is always filterable by plugins as well as configurable in wp-config
Fixes #13847 props hakre
git-svn-id: http://svn.automattic.com/wordpress/trunk@17749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 16:25:36 +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
nacin
97c39c24a2
Remove PHP 5.1/Windows code from date_i18n. Allows timestamps from pre-1970. props DH-Shredder, fixes #10332 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 15:13:30 +00:00
dd32
911af51915
Properly handle querying for meta by value without a key as well as those with invalid parameters. Props scribu. See #17264
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 15:02:16 +00:00
nacin
5593f7f2f7
s/Web Path/Filesystem Path/ in inline documentation. props kawauso, fixes #17205 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 12:47:36 +00:00
nacin
57975112e7
Add line height to QuickPress media buttons. Prevents jitters as the images load. see #16927 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 12:44:41 +00:00
nacin
8b5122b411
Don't load the QuickPress widget via XHR. see #16927 . Reverts [16725] as it's no longer needed. Reverts part of [14815], which introduced the behavior, see #10917 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 12:02:24 +00:00
nacin
24ea36e302
Use the post type object in get_posts_by_author_sql() and add a post type parameter to count_many_users_posts(). The formerly somewhat useless and now totally useless pub_priv_sql_capability filter is considered deprecated. fixes #17220 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 11:27:39 +00:00
nacin
65a9b98246
Admin Bar: Add a Themes submenu under Appearance, for consistency. fixes #15931 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 11:17:09 +00:00
nacin
58aa6a124a
Rename twentyeleven_color_schemes hook to twentyeleven_enqueue_color_scheme, so its purpose is clear. Also rename twentyeleven_color_styles() to twentyeleven_enqueue_color_scheme(), and twentyeleven_link_color() (which sounds like a getter) to twentyeleven_print_link_color_style(). Some tidying in twentyeleven_layout_classes(). see #17198 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 11:05:53 +00:00
nacin
bb306c3442
More Twenty Eleven cleanup and add the comment-awaiting-moderation class. see #17198 . see #15206 for history on the CSS class.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 10:13:38 +00:00
nacin
2b71bba9c2
In Twenty Eleven: Register the widget from functions.php. Kill create_function. Attach twentyeleven_widgets_init() to widgets_init, rather than init. Eliminate use of the $post global in the widget. see #17198 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 09:47:30 +00:00
nacin
4964598cea
Twenty Eleven: Fix up the color picker JS. Use a separate color swatch rather than the input background. While cool, it doesn't have suffficient contrast. Also set farbtastic as a JS dependency. see #17198 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 09:32:34 +00:00
dd32
c85ae9cc94
Include TwentyEleven in the 3.2 upgrade process. Props markmcwilliams. See #14484
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 09:08:39 +00:00
nacin
e43ec9377d
Move files in inc/theme-options up one level. see #17198 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 08:59:42 +00:00
nacin
836354fd7a
Twenty Eleven:
...
* Use add_option(), rather than get_option() with defaults, to prevent notoption queries.
* Add twentyeleven_theme_options_validate filter, that way one doesn't need to add a filter to sanitize_option_\$option to allow more options in.
* Some inline doc modifications and additions.
see #17198 .
git-svn-id: http://svn.automattic.com/wordpress/trunk@17734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 08:52:37 +00:00
nacin
9db8f895a0
Rewrite of Twenty Eleven theme-options.php. Including:
...
* Full inline documentation.
* Enqueue scripts/styles on admin_enqueue_scripts and use hook_suffix rather than GET[page]
* Add filters to twentyeleven_color_schemes(), twentyeleven_layouts(), which necessitates adding a thumbnail URL value here, rather than generating them in the form.
* Add a twentyeleven_default_theme_options filter.
* Remove manual check for REQUEST[settings-updated], instead using settings_errors(), since we're using options.php.
* Abstract out the default link color, rather than hardcoding it in certain places.
* Use checked().
* Rename some variables and functions for clarity.
* Remove unnecessary functions twentyeleven_current_layout() and twentyeleven_current_color_scheme(), as we already have twentyeleven_get_theme_options().
* Add a twentyeleven_color_schemes action to allow for enqueueing custom color schemes.
* Add a twentyeleven_layout_classes filter, to allow filtering what gets sent back to body_class().
* Hook into wp_enqueue_scripts rather than wp_print_styles for enqueueing the color stylesheet.
* Rewrite the register_setting() callback to start from scratch with an empty array. Improve the link_color logic.
* Use submit_button().
* Use esc_attr() rather than esc_attr_e() for non-translations.
TODO:
* Implement settings sections/fields logic to allow extension of the options page.
* Consider re-doing this in a class. It'll be cleaner.
* Store a DB version so we can do an add_option(), rather than calling get_option() with defaults.
see #17198 .
git-svn-id: http://svn.automattic.com/wordpress/trunk@17733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 08:06:57 +00:00
lancewillett
e5425ba17a
Twenty Eleven: theme options - see #17198
...
* First pass at Link Color CSS rules
* Add new function to return default values
* Implement better validation for hex color value
* Fix missing esc_attr()
git-svn-id: http://svn.automattic.com/wordpress/trunk@17732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-27 23:03:27 +00:00
ryan
dc20019a24
Add Background and Header to Admin Bar Appearance Menu. fixes #17263
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-27 22:06:01 +00:00
ryan
c5fb371ec6
kses optimizations. Props duck_. fixes #17045
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-27 21:50:39 +00:00
lancewillett
5628ced76f
Twenty Eleven: add first batch of new header images, courtesy of the immeasurable photomatt archives - see #17198
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-27 21:44:09 +00:00
ryan
8e21f7f098
Translate default link labels for *posts_link(). Props nathanrice, CharlesClarkson. fixes #16998
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-27 21:25:09 +00:00
ryan
ff9610e36d
Don't load themes functions.php for upgrades. Props greuben. fixes #16722
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-27 21:16:49 +00:00
iandstewart
c491c77f1d
Twenty Eleven: first pass at print styles; See ##17198
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-27 21:03:58 +00:00
azaozz
048d3a26b2
jQuery 1.5.2, props JDTrower demetris, fixes #16426
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-27 20:11:06 +00:00