Commit Graph

18053 Commits

Author SHA1 Message Date
Andrew Nacin
2746fd144a Freshen up the docs in functions.php. Remove is_admin() check from twentytwelve_enqueue_scripts(). Remove function_exists() wrappers from functions that are hooked in. Kill locale.php handling. see #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@19844 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 23:04:56 +00:00
Andrew Nacin
7349d46c0e Synchronize archive.php docs with Twenty Eleven. Go easy on the PHP/HTML context switching. see #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@19843 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 22:37:45 +00:00
Matt Mullenweg
94729a8a40 Initial import of the Twenty Twelve theme, by Drew Strojny. This time around we're trying something different than the previous twenty-something themes, a much more minimalist approach that affords easy use as a CMS in addition to being blog-forward. More information will be on wpdevel soon. Props drewstrojny and lancewillett.
git-svn-id: https://develop.svn.wordpress.org/trunk@19842 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 22:23:41 +00:00
bumpbot
a87e3742f9 Compress scripts/styles: 3.4-alpha-19841.
git-svn-id: https://develop.svn.wordpress.org/trunk@19841 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 21:00:50 +00:00
Ryan Boren
f8dc7fe757 Hide theme details by default. Props helenyhou, DH-Shredder. fixes #19853
git-svn-id: https://develop.svn.wordpress.org/trunk@19840 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 20:54:01 +00:00
bumpbot
b6c9842068 Compress scripts/styles: 3.4-alpha-19839.
git-svn-id: https://develop.svn.wordpress.org/trunk@19839 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 20:00:50 +00:00
Jon Cave
8039f91954 Echo "WordPress.org" as well as translating it in the Meta widget. See #19603.
git-svn-id: https://develop.svn.wordpress.org/trunk@19838 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 19:52:42 +00:00
Andrew Nacin
fc12b9fa10 Add a translator's comment. see #19924.
git-svn-id: https://develop.svn.wordpress.org/trunk@19837 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 19:43:26 +00:00
Andrew Nacin
e92b79e31f Do RTL detection based on a translated string, rather than a hardcoded list. Makes things a bit cleaner. fixes #19924, fixes #19600.
git-svn-id: https://develop.svn.wordpress.org/trunk@19836 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 19:36:24 +00:00
Andrew Nacin
d2a65599a3 In general, password fields should always be LTR. see #19598.
git-svn-id: https://develop.svn.wordpress.org/trunk@19835 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 19:33:19 +00:00
Andrew Nacin
0ab40dd1ba LTR for user-edit.php password fields and disabled user_login field. fixes #19598.
git-svn-id: https://develop.svn.wordpress.org/trunk@19834 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 19:31:33 +00:00
Andrew Nacin
d0ec0de49d Translate TinyMCE's spellchecker languages. props SergeyBiryukov, fixes #19962.
git-svn-id: https://develop.svn.wordpress.org/trunk@19833 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 19:13:06 +00:00
Andrew Ozz
469745d625 Move an unsightly semicolon to where it belongs in wp_localize_script(), props tw2113, fixes #19830
git-svn-id: https://develop.svn.wordpress.org/trunk@19832 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 18:52:57 +00:00
Andrew Ozz
ff9916420e Fix typo in $core_actions_get in admin-ajax.php, see #15327
git-svn-id: https://develop.svn.wordpress.org/trunk@19831 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 17:56:55 +00:00
Andrew Ozz
4f500fdb56 Update TinyMCE to 3.4.8, fixes #19969, fixes #19936, fixes #19741
git-svn-id: https://develop.svn.wordpress.org/trunk@19830 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-04 22:23:27 +00:00
Andrew Nacin
10d17e6e29 Use translate, not translate with context. props azaozz. see #19603.
git-svn-id: https://develop.svn.wordpress.org/trunk@19829 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-04 18:37:53 +00:00
Andrew Ozz
e0505774e9 Remove unused TinyMCE media plugin images, props SergeyBiryukov, fixes #19963
git-svn-id: https://develop.svn.wordpress.org/trunk@19828 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-04 17:58:41 +00:00
bumpbot
04a88d8671 Compress scripts/styles: 3.4-alpha-19827.
git-svn-id: https://develop.svn.wordpress.org/trunk@19827 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-04 01:16:30 +00:00
Andrew Nacin
d20d0ed48f Add ru_RU CSS. see #19603.
git-svn-id: https://develop.svn.wordpress.org/trunk@19826 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-04 00:58:09 +00:00
Andrew Nacin
da65af69e2 Initial import of localized CSS, for Chinese and Hebrew. see #19603.
git-svn-id: https://develop.svn.wordpress.org/trunk@19825 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-04 00:54:42 +00:00
Andrew Nacin
929486fd19 WP_LANG_DIR is trusted, just need to check $locale. props SergeyBiryukov, fixes #19924.
git-svn-id: https://develop.svn.wordpress.org/trunk@19824 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-04 00:32:34 +00:00
Andrew Nacin
ca343daf1c Translate another http://wordpress.org/ link. see #19603.
git-svn-id: https://develop.svn.wordpress.org/trunk@19823 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-03 20:16:58 +00:00
Ryan Boren
3a1d1b098b Setup now that global is not used. see #15327
git-svn-id: https://develop.svn.wordpress.org/trunk@19822 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-03 20:13:22 +00:00
Andrew Nacin
b3aee653fd Return an empty object properly. see #17242.
git-svn-id: https://develop.svn.wordpress.org/trunk@19821 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-03 13:38:03 +00:00
Andrew Nacin
ef81adda7b Translate the monthnum/month abbreviation construct in the Publish box. see #19598.
git-svn-id: https://develop.svn.wordpress.org/trunk@19820 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-03 00:23:25 +00:00
Andrew Nacin
7ff19e6012 Use existing string to properly translate month + year combo. see #19598.
git-svn-id: https://develop.svn.wordpress.org/trunk@19819 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-03 00:11:01 +00:00
Andrew Nacin
31f8d5586b mailserver_login and mailserver_pass should always be LTR. see #19598.
git-svn-id: https://develop.svn.wordpress.org/trunk@19818 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-03 00:05:43 +00:00
Andrew Nacin
6e9c274c00 New .ltr class for forcing elements to be LTR when using an RTL language. see #19598.
git-svn-id: https://develop.svn.wordpress.org/trunk@19817 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-03 00:03:26 +00:00
Andrew Nacin
e4134cbb0c Code is still code: force LTR for .code and <code>, and the function lists in plugin/theme editors. see #19598.
git-svn-id: https://develop.svn.wordpress.org/trunk@19816 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-02 23:58:46 +00:00
Ryan Boren
80cc194365 Allow flexible sizes for custom header uploads. Round 1. Props aaroncampbell, sabreuse. see #17242
git-svn-id: https://develop.svn.wordpress.org/trunk@19815 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-02 23:35:37 +00:00
bumpbot
1387e4e2a7 Compress scripts/styles: 3.4-alpha-19814.
git-svn-id: https://develop.svn.wordpress.org/trunk@19814 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-01 22:41:34 +00:00
Ryan Boren
9b8806a8f7 New gear icon. Props empireoflight. fixes #10318
git-svn-id: https://develop.svn.wordpress.org/trunk@19813 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-01 22:39:24 +00:00
Andrew Nacin
05c839608a Don't create a variable we only use once. props niallkennedy, fixes #19941.
git-svn-id: https://develop.svn.wordpress.org/trunk@19812 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-01 22:33:43 +00:00
Andrew Nacin
b3b0fa681d Use home_url() rather than get_option() + is_ssl(). props ocean90, fixes #19942.
git-svn-id: https://develop.svn.wordpress.org/trunk@19811 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-01 22:31:35 +00:00
Jon Cave
5371356600 Pages must be paged (/page/x/) to allow for the page_for_posts option. See #19876.
git-svn-id: https://develop.svn.wordpress.org/trunk@19810 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-01 19:19:32 +00:00
Andrew Nacin
9a68d977e6 s/plugin/theme/ in an edge case string in the theme updater. props pavelevap, fixes #19940.
git-svn-id: https://develop.svn.wordpress.org/trunk@19809 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-01 16:08:36 +00:00
Andrew Nacin
6a5ea2418a Provide a more WordPress-like context for 'Welcome' on the install screen. see #19698.
git-svn-id: https://develop.svn.wordpress.org/trunk@19808 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-01 14:49:41 +00:00
Andrew Nacin
db7ac5be83 Provide contexts for a 'Welcome' string. Sometimes we're saying hello, other times referring to the welcome panel. props pavelevap, fixes #19698.
git-svn-id: https://develop.svn.wordpress.org/trunk@19807 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-01 14:47:49 +00:00
Andrew Nacin
de9b7f6ec2 Convert a bulleted list to paragraphs in the Moderating Comments help tab. props pavelevap, see #19788.
git-svn-id: https://develop.svn.wordpress.org/trunk@19806 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-01 14:45:19 +00:00
bumpbot
7dc4430f4f Compress scripts/styles: 3.4-alpha-19805.
git-svn-id: https://develop.svn.wordpress.org/trunk@19805 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-01 14:43:00 +00:00
Andrew Nacin
c90d5bb693 Don't add in an extra space when inserting a name into the string produced by wp_comment_trashnotice(). props pavelevap, see #19788.
git-svn-id: https://develop.svn.wordpress.org/trunk@19804 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-01 14:39:52 +00:00
Andrew Nacin
2e0818c264 Compress CSS/JS using the latest version of YUI Compressor, 2.4.7. Removes final semicolon in a CSS declaration block. Previously, committers used 2.4.2. see #19592.
git-svn-id: https://develop.svn.wordpress.org/trunk@19803 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-01 14:37:52 +00:00
Andrew Nacin
146886cd72 Use wp_die() in ajax-actions. props kurtpayne. see [19801], fixes #15327.
git-svn-id: https://develop.svn.wordpress.org/trunk@19802 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-31 22:14:39 +00:00
Andrew Nacin
25eac276df Re-purpose wp_die() for ajax responses.
* Allows unit testing of core ajax actions.
 * wp_die() now has separate filters to choose a handler depending on the context (ajax, XML-RPC, else).
 * wp_die) in ajax context does not need to be called with a string. Conversion takes place before die().
props kurtpayne, see #15327.



git-svn-id: https://develop.svn.wordpress.org/trunk@19801 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-31 22:12:58 +00:00
bumpbot
701719af94 Compress scripts/styles: 3.4-alpha-19800.
git-svn-id: https://develop.svn.wordpress.org/trunk@19800 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-31 19:59:09 +00:00
Ryan Boren
52048ffa75 Drop the comment_approved index from the comments table. comment_approved_date_gmt is sufficient. fixes #19935
git-svn-id: https://develop.svn.wordpress.org/trunk@19799 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-31 18:26:07 +00:00
Ryan Boren
22784619f4 Drop the blog_id column from the options table during upgrade. Props barry. fixes #17188
git-svn-id: https://develop.svn.wordpress.org/trunk@19798 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-31 17:45:22 +00:00
Andrew Nacin
bbec83ba02 Only set text_direction based on a locale being RTL if we successfully loaded a locale.mo file. Otherwise we may be in RTL land based on a WPLANG constant but nothing else. fixes #19924.
git-svn-id: https://develop.svn.wordpress.org/trunk@19797 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-31 14:30:36 +00:00
Andrew Nacin
d6886c9059 wptexturize() does not need to staticize variables it only uses to set up variables it needs statically. see #19602.
git-svn-id: https://develop.svn.wordpress.org/trunk@19796 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-31 14:28:30 +00:00
Andrew Nacin
d87851514a Allow the single quotes, apostrophes, and primes in wptexturize() to be translated. Allows replacements to be disabled by translating them back to " and '. fixes #19602.
git-svn-id: https://develop.svn.wordpress.org/trunk@19795 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-31 14:06:32 +00:00