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
Ryan Boren
939ed92f83
Remove references to specific search engines. fixes #18605
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19794 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-30 20:51:00 +00:00
Ryan Boren
3d3073d095
Remove blog_id column from wp_options. Props scribu. fixes #17188
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19793 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-30 20:47:25 +00:00
Ryan Boren
9e6fbb0061
Check the return of wp_insert_term() for WP_Error or array. Prevents fatal erros and failure to add categories when adding terms via ajax. Props mdawaffe. fixes #17938 #17939
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19792 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-30 18:19:27 +00:00
Andrew Nacin
fed670768a
Poka-yoke.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19791 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-30 17:49:50 +00:00
Andrew Nacin
ffff76d391
Give install.css on setup-config.php some cache busting. see #19592 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19790 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-30 17:37:13 +00:00
Andrew Nacin
460ef260f7
LTR for fields on setup-config.php. see #19603 , fixes #18180 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19789 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-30 17:28:04 +00:00
Andrew Nacin
fd475e222d
Use the _x context function. props Mamaduka. see #19601 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19788 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-29 23:43:14 +00:00
Andrew Nacin
7f118d4b05
Load admin-$locale.mo in setup-config.php. see #19852 , see #18180 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19787 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-29 20:49:34 +00:00
Andrew Nacin
ea092db65b
Switch to Feedback, from Suggest Ideas, for a default link, based on 3.3 toolbar. see #19601 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19786 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-29 20:25:59 +00:00
Andrew Nacin
7ed9b79485
Allow translators to specify a default timezone string OR GMT offset. Stop doing date('Z')/3600 math for default gmt_offset, as since WP 2.9, we set server time to UTC. Server time is unreliable, so no workarounds for now. fixes #19601 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19785 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-29 20:04:11 +00:00
Andrew Nacin
75b11699c1
Use the site's locale for the feed language. Provides the same result as language_attributes(). Removes the rss_language option. fixes #13440 . see #5517 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19784 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-29 19:56:33 +00:00
Andrew Nacin
ef9ea32a3a
Translate http://wordpress.org/ for the wp-login.php header image URL. Clean up. props zeo, fixes #19364 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19783 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-29 18:47:41 +00:00
Andrew Nacin
4d29364ba0
Kill the exclamation points off an error message for easier translation. props wojtek.szkutnik, fixes #11270 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19782 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-29 08:12:09 +00:00
Andrew Nacin
2801fa6b22
Offer default links and applicable URLs for translation. Some of these are already translatable elsewhere. see #19601 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19781 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-29 05:14:59 +00:00
Andrew Nacin
2bb75d0e27
Offer start_of_week for translation. see #19601 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19780 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-29 04:21:53 +00:00
Jon Cave
6a7fe5b25c
Use new $args parameter for (WP_Rewrite::)add_permastruct(). Fixes #16092 .
...
Use array_intersect_key() to keep WP_Rewrite::$extra_permastructs free of unnecessary/unknown keys + values.
git-svn-id: https://develop.svn.wordpress.org/trunk@19779 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-28 21:00:59 +00:00
Jon Cave
e195032ff4
Redirect bare category URLs for permalink structures starting with %category%. Fixes #19876 .
...
When using a structure like /%category%/%postname%/ it might be thought that /uncategorized/
(missing the "/category/" base) results in the category archive. Previously this worked due to
$walk_dirs = true for the post permalink structure, but canonical didn't redirect it. Now
there is no rewrite rule to match => 404. The fix is to use a canonical redirect.
git-svn-id: https://develop.svn.wordpress.org/trunk@19778 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-28 20:40:55 +00:00
Peter Westwood
15e41d5879
Correct the datatype for the skip_frames argument in the phpDoc props Rarst.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19777 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-28 14:36:16 +00:00
Jon Cave
e6cbf0b4e6
Separated into 3 commits for good luck. See r19775.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19776 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-28 12:37:08 +00:00
Peter Westwood
dbc1c14868
Separating my commits so that my spelling mistakes are plain for everyone to see. Fix another mistake props duck_.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19775 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-28 12:32:55 +00:00
Peter Westwood
6538ad3d0c
Fix my spelling mistakes and typos in the wp_debug_backtrace_summary() phpDoc props duck_ see #19589 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19774 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-28 12:25:58 +00:00
Peter Westwood
b3a331887a
Refactor WPDB::get_caller() into wp_debug_backtrace_summary() and improve the functionality to provide enhanced context and a standardised default pretty format. Fixes #19589
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19773 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-28 11:56:50 +00:00
Ryan Boren
4b5b2e4658
Load the new admin and network admin mo files, if present. see #19852
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19772 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-27 22:19:56 +00:00
Andrew Nacin
30889de384
Provide a DB fallback for keys in wp_salt(). Fall back when any secret is used more than once. Change how we detect a localized 'put your unique phrase here' -- eliminate $wp_default_secret_key and introduce $wp_secret_key_default to be added during the localized build process, not by translators. fixes #19599 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19771 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-27 18:52:20 +00:00
potbot
85beeacfc7
POT, generated from r19767
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19768 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-27 14:48:16 +00:00
potbot
2c2b4b0c07
POT, generated from r19762
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19763 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-27 14:28:54 +00:00
Andrew Nacin
e1b6e3f002
Make 0 the default status for admin-ajax.php. props TobiasBg. fixes #15327 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19762 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-26 21:21:30 +00:00
Andrew Nacin
64ade9c31b
Docs for WP_Locale::is_locale_rtl( $locale ). see #18180 , see #19600 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19761 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-26 21:20:19 +00:00
Andrew Nacin
2fd55c3df1
Introduce wp_load_translations_early(), which can be used before the locale is properly loaded in order to translate early error strings. Internationalize setup-config.php -- translators no longer have a reason to modify this file. fixes #18180 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19760 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-26 20:34:27 +00:00
Jon Cave
c67d273f1f
Remove redundant logic from filter_SSL(). Props deltafactory. Fixes #19899 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19759 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-26 09:21:44 +00:00