nacin
416ac97d43
s/inval/intval/. props PeteMall. see #14889 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-28 20:24:50 +00:00
nacin
ef1edca872
Remove duplicated style, overridden by a more specific selector. props SergeyBiryukov, fixes #20581 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-28 20:20:33 +00:00
nacin
5c228ae869
Allow protocol-relative URLs when registering/enqueueing scripts and styles.
...
props mimecine, TobiasBg, georgestephanis.
props kurtpayne for the test coverage.
fixes #16560 .
git-svn-id: http://core.svn.wordpress.org/trunk@21166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-28 20:18:38 +00:00
nacin
cefb69254d
Respect -1 as a memory limit setting.
...
Don't override memory_limit = -1 with a fixed value.
Know that WP_MEMORY_LIMIT = -1 can override a fixed value.
props aaroncampbell
fixes #14889
git-svn-id: http://core.svn.wordpress.org/trunk@21165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-28 20:14:39 +00:00
nacin
a7249bfee8
Move the 'Delete' bulk action to the bottom in the network themes list tables. Symmetry with the plugins list tables. props trepmal. fixes #21032 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-28 20:05:15 +00:00
nacin
bdf490a7c6
Add do_parse_request filter to WP::parse_request() to allow short-circuiting. props andy, mikeschinkel. fixes #16692 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-28 20:03:03 +00:00
nacin
868ce1dfdd
Remove dead conditionals from the media and post list tables. props wpmuguru, SergeyBiryukov. fixes #20781 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-28 19:58:43 +00:00
nacin
9810e75d46
Handle localized floats in $wpdb->prepare(). props kurtpayne. fixes #19861 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-28 19:57:31 +00:00
nacin
149eff94a1
WP.org no longer returns this old structure. The title of the item is the plugin name in full. fixes #21012 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-28 19:34:25 +00:00
markjaquith
c4205b38a4
Do not store post_excerpt in a temporary variable when we can just return it directly. props niallkennedy. fixes #21041
...
git-svn-id: http://core.svn.wordpress.org/trunk@21159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-28 19:26:06 +00:00
nacin
e0012c7e67
Initialize a variable. props maxcutler. fixes #21058 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-28 19:04:42 +00:00
nacin
63084e8efb
3.5-alpha-21157
...
git-svn-id: http://core.svn.wordpress.org/trunk@21157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-27 19:43:08 +00:00
nacin
4add59f0c1
Remove 'fall through' points in map_meta_cap() as they can hide bugs.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-27 19:27:54 +00:00
bumpbot
b624dd94d5
Compress scripts/styles: 3.5-alpha-21148.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-26 21:50:58 +00:00
nacin
f11989da24
Update the version numbers for wp_explain_nonce() deprecation. see #21076 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-26 21:26:42 +00:00
nacin
9b7e633336
Use set_post_format(), not wp_set_post_terms(), in XML-RPC mw_newPost and mw_editPost. props koke. see #20697 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-26 21:07:12 +00:00
markjaquith
06bc3bf328
Autofocus the search box on the Theme and Plugin installation pages. Faster flow for people who know what they are looking for. props SergeyBiryukov. fixes #21080 . see #21027 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-26 20:55:46 +00:00
nacin
138b38fd60
Add initial support for browser-based uploads in iOS 6. see #20923 for trunk.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-26 20:39:04 +00:00
nacin
1270e4cef6
Check XML-RPC cap before running the query. props maxcutler. see #20991 for trunk.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-26 19:04:10 +00:00
nacin
69112517ed
Refresh nonces in the customizer. props koopersmith. see #20876 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-26 18:48:18 +00:00
nacin
066794f548
Deprecate wp_explain_nonce(). fixes #21076 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-26 06:10:07 +00:00
nacin
bc2655affc
If a plugin triggers the WP_Scripts constructor prior to init, fire wp_default_scripts()
...
then and again on init.
Only add our localized strings once we've fired init, in case we do have the situation
where we fire wp_default_scripts() twice.
Fixes issues where plugins or themes try to enqueue a default script handle prior to
init. Does not allow #19959 to regress.
see #20971 for trunk.
git-svn-id: http://core.svn.wordpress.org/trunk@21132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-26 05:33:19 +00:00
nacin
3a215028ea
Allow switch_theme() to take a single $stylesheet argument.
...
It now effectively has two function definitions:
function switch_theme( $stylesheet )
function switch_theme( $template, $stylesheet )
fixes #21075 .
git-svn-id: http://core.svn.wordpress.org/trunk@21131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-26 05:21:04 +00:00
nacin
08efb40e98
Do not pass mail() a fourth argument when safe_mode is in effect.
...
Fixes the sending of mail when in safe_mode. There is a bug report being addressed upstream with PHPMailer.
props sumindmitriy. see #20970 for trunk.
git-svn-id: http://core.svn.wordpress.org/trunk@21128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-26 03:54:17 +00:00
nacin
bb667710a6
When looking in a sub-directory of wp-content/themes for more themes, check
...
if that specific directory exists before looking inside of it for style.css.
This avoids warnings when open_basedir restrictions are in effect.
props goldenapples. see #20985 for trunk.
git-svn-id: http://core.svn.wordpress.org/trunk@21126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-26 03:36:03 +00:00
nacin
4e8f4e57d1
Fix validation issue in get_the_password_form() caused by wpautop(). see #21018 for trunk.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-26 03:20:51 +00:00
nacin
6c62701b8f
Revert detection of page templates to 3.3 functionality.
...
WP_Theme in 3.4.0 used get_file_data(), which is far too strict when
compared to the original regular expression in get_page_templates().
This causes missing templates when, for example, the PHP comment
starts on the same line as the header.
see #20955 for trunk.
git-svn-id: http://core.svn.wordpress.org/trunk@21117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-25 21:07:07 +00:00
nacin
25183988dc
Allow add_editor_style() to load a child theme's editor style when the parent theme's style exists for the same filename. props SergeyBiryukov. see #21026 for trunk.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-25 20:45:05 +00:00
nacin
b84c4c3686
Don't call debug_backtrace() with an argument for PHP 5.2.4, which is currently the lowest version we support. props swekitsune, kurtpayne. fixes #20953 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-25 20:41:37 +00:00
duck_
176317abcf
Set $walk_dirs = true for post rewrite rule generation. See #21020 for trunk.
...
Partial revert of r19737 and r19778 as some users were relying on this behaviour.
git-svn-id: http://core.svn.wordpress.org/trunk@21112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-25 20:41:14 +00:00
nacin
83e526249e
Fix 'View version details' link for network/themes.php. In 3.5 these should stop pointing to WP.org. props SergeyBiryukov, fixes #20961 for trunk.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-25 20:28:33 +00:00
nacin
6e411a5ea9
Load the admin MO file on repair.php. props SergeyBiryukov. see #21039 for trunk.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-25 20:00:31 +00:00
markjaquith
4a0d729415
Properly show comments on Page edit screen. props duck_. fixes #20937 for trunk
...
git-svn-id: http://core.svn.wordpress.org/trunk@21107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-25 19:56:48 +00:00
nacin
4e0b099e6a
We still need thickbox on themes.php for update overlays. props duck_. see #20960 for trunk.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-25 19:42:08 +00:00
nacin
69e9cf2888
Fix string offset PHP 5.4 error by normalizing $user_count to always be an integer. props ericmann. see #20966 for trunk.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-25 19:40:16 +00:00
nacin
efb07c689e
Back compat for plugins looking for networkwide=1 during a plugin activation hook.
...
Proper way to detect this: An activation hook callback receives (bool) $network_wide as the first argument.
see #20995 for trunk.
git-svn-id: http://core.svn.wordpress.org/trunk@21104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-25 19:32:34 +00:00
bumpbot
f6669710e0
Compress scripts/styles: 3.5-alpha-21103.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-22 00:58:22 +00:00
azaozz
1f68942126
Add 2x TinyMCE icons, props empireoflight, see #21019 for trunk
...
git-svn-id: http://core.svn.wordpress.org/trunk@21101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-22 00:31:18 +00:00
bumpbot
fc36a8fc45
Compress scripts/styles: 3.5-alpha-21100.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-21 20:58:20 +00:00
azaozz
cbc2a6833a
Fix dragging to empty second column in IE8, fixes #21021 for trunk
...
git-svn-id: http://core.svn.wordpress.org/trunk@21099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-21 19:45:31 +00:00
bumpbot
dc34bddae6
Compress scripts/styles: 3.5-alpha-21095.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-20 21:58:23 +00:00
azaozz
e560532e94
Fix dragging to empty second column on dashboard, props helenyhou, fixes #21021 for trunk
...
git-svn-id: http://core.svn.wordpress.org/trunk@21094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-20 21:56:00 +00:00
bumpbot
12e243bda4
Compress scripts/styles: 3.5-alpha-21092.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-20 15:58:25 +00:00
azaozz
77cb52144e
Respect user settings when auto-switching postbox columns on mobile devices, fixes #21005
...
git-svn-id: http://core.svn.wordpress.org/trunk@21091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-20 05:03:08 +00:00
azaozz
5f973a17e2
Admin menu: reset sub-menus position on mouseleave so they don't break when auto-expanded, props phill_brown SergeyBiryukov, fixes #19562
...
git-svn-id: http://core.svn.wordpress.org/trunk@21090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-20 01:46:05 +00:00
nacin
0511b153a3
Remove unused variable in wp_update_themes(). props duck_. fixes #20831 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-18 18:49:14 +00:00
nacin
222425a917
Introduce wp_clean_themes_cache() for upgrades and testing. fixes #20954 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-14 14:24:25 +00:00
nacin
0fe1e55cc3
Trunk is now 3.5-alpha.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21079 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-14 13:35:52 +00:00
nacin
c8f6e4aafe
3.4
...
git-svn-id: http://core.svn.wordpress.org/trunk@21076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-13 18:08:29 +00:00
duck_
ea548d7891
Hide pointers introduced in 3.4 from new users. Fixes #20941 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-13 17:38:42 +00:00