Andrew Ozz
82f5175bf7
Media Lib: fix displaying file headers in IE7, delegate the Show/Hide JS, prevent displaying upload error for the same file twice, see #19228
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19268 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-13 18:37:30 +00:00
Andrew Ozz
3e06696012
Add error message when a big file fails to upload, expose the XHR request in plipload and abort() it, see #19228
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19266 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-13 02:01:13 +00:00
Jon Cave
9bcb0fcc08
Default arguments for is_user_member_of_blog() can now be used. See #19122 , #19160 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19265 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-12 20:52:56 +00:00
Andrew Ozz
38ddbaca4e
Thickbox: do .triggerHandler() instead of .trigger(), props duck_, fixes #19189
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19264 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-12 06:48:04 +00:00
Andrew Ozz
bd7f04548b
Standardize title strings for editor buttons, props pavelevap SergeyBiryukov, fixes #18125
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19263 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-12 06:15:15 +00:00
Andrew Ozz
0620dbb5eb
Uploader: fix file-size-exceeded error handling, see #18206
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19262 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-12 00:52:26 +00:00
Daryl Koopersmith
161ee6a46d
Improve admin bar markup. Un-nest top level secondary menu. Remove unnecessary span. see #18197 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19261 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-12 00:26:55 +00:00
Andrew Ozz
93e5c50ad8
Send the 'wp-remove-post-lock' XHR only when the main window is unloaded (unloading the Thickbox iframe triggers it too), see #18515
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19258 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-11 19:52:12 +00:00
Andrew Ozz
7334506df0
Bring back the multi-file/html uploader switching, see #19228
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19257 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-11 19:40:23 +00:00
Andrew Nacin
bc90d4d2a2
.pmuB
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19254 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-11 17:06:31 +00:00
Ryan Boren
d154749f87
Avoid notice when themes dir is empty or missing. Don't reset current theme in current_theme_info() if there are no themes. Show warning in Right Now if there are no themes. Props azaozz. fixes #19089
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19251 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-11 14:10:54 +00:00
Andrew Nacin
26ed0186e0
Style updates to translators list on Credits page. see #18742 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19250 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 23:16:21 +00:00
Daryl Koopersmith
49e85592f0
Add general top-level class to the secondary admin menu. Fixes hover styling and tabbing JS. fixes #19220 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19248 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 20:46:29 +00:00
Andrew Ozz
448af8627c
Uploader: fix progress bar JS and update the style (light blue bars), see #18206
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19247 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 20:33:26 +00:00
Andrew Nacin
958705e7cb
New WordPress badge for welcome panel and about screens. props chexee, ocean90. see #11651 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19244 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 19:05:01 +00:00
Andrew Nacin
2430370230
Pass remaining start_el() arguments to page_css_class. props TheDeadMedic, fixes #17727 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19240 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 18:35:25 +00:00
Andrew Ozz
79115ae6a5
More phpdoc for wp_editor(), see #17144
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19239 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 17:46:23 +00:00
Andrew Nacin
fb32b677e2
Promote secondary admin bar items to primary if there are no primary items at time of render. see #19136 , #19221 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19236 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 00:42:39 +00:00
Andrew Nacin
2b41063044
Show sites in the 'My Sites' menu as secondary items only when the user is a super admin and therefore has a primary menu item (Network Admin). props wpmuguru, fixes #19221 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19235 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 00:41:45 +00:00
Dion Hulse
522f890c32
Fix typo in [19231]. See #17579
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19234 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-09 22:13:35 +00:00
Andrew Nacin
f3ba249747
Check post type and bail earlier in wp_get_attachment_url(). props mitchoyoshitaka, fixes #17579 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19231 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-09 19:20:33 +00:00
Daryl Koopersmith
716906a149
Add secondary flag to admin bar. fixes #19136 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19230 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-09 19:12:48 +00:00
Andrew Ozz
940cb38514
Fix styling in the MCE help popup, see #18314
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19227 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-09 14:38:37 +00:00
Andrew Ozz
d2d9926055
Revert [19223] and only stop showing the checkbox, props nacin, see #19174
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19225 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 22:34:09 +00:00
Ryan Boren
5cb7ceeb91
beta3 bump
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19224 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 22:26:49 +00:00
Andrew Ozz
4c66628f35
Remove the Resize files checkbox for now (revisit in 3.4), fixes #19174
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19223 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 22:23:40 +00:00
Daryl Koopersmith
d0b826bb85
Make top level admin menu items show an arrow when selected. fixes #19209 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19222 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 21:32:03 +00:00
Daryl Koopersmith
3dd54276a7
Remove Helvetica Neue from the admin bar font stack. see #19145 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19221 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 21:12:22 +00:00
Andrew Ozz
b0ca083f21
Fix admin bar background gradients, props ocean90, fixes #19163
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19220 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 20:13:41 +00:00
Andrew Ozz
4eaabaeefe
Fix inline/block switching for the Categories postbox tabs, props linuxologos, fixes #19129
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19219 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 18:24:55 +00:00
Andrew Ozz
ac06d56394
Phpdoc fix for wp_add_script_before(), see #11520
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19218 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 18:15:56 +00:00
Andrew Ozz
8e37911c0c
Ressurect WP_Scripts::localize() and fix public function names, fixes #11520
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19217 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 18:05:59 +00:00
Andrew Nacin
3db76467e8
Remove unused variable. props kawauso, see #18364 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19216 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 17:53:52 +00:00
Andrew Ozz
a56cd15128
Bring back the Fullscreen button in Quicktags, fixes #19194
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19215 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 16:53:31 +00:00
Ryan Boren
dd11766207
Admin bar validation fix. Props usermrpapa. fixes #19180
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19214 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 15:55:58 +00:00
Andrew Nacin
fe2bd09613
Simplify logic in wp_get_attachment_link(). see #18491 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19212 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 14:22:42 +00:00
Ryan Boren
74c7564622
Avoid warning when non-existent ID pass to wp_get_attachment_link(). Tidy formatting of wp_get_attachment_link(). Props SergeyBiryukov, Jayjdk. fixes #18491
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19210 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 14:08:25 +00:00
Jon Cave
e263cfc8b5
is_user_member_of_blog() [no args] should return true for logged in users on single site. $wpdb->blogid is 0, but the current blog ID isn't. Fixes #19160 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19209 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-07 23:07:07 +00:00
Jon Cave
0890ecf471
get_blogs_of_user() should return false for logged out and non-existent users on single site. See #19160 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19208 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-07 23:05:13 +00:00
Andrew Ozz
b1af3610ec
Fix a:focus styling and backwards tabbing, add tabindex arg for <a>, see #19088
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19207 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-07 20:38:38 +00:00
Andrew Nacin
611a6118c9
Merge and update variable declarations. fixes #19176 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19205 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-07 17:45:24 +00:00
Andrew Nacin
808c8dc6a5
Remove old vendor prefixes. props andrewryno, ocean90, fixes #18700 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19203 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-07 17:32:24 +00:00
Andrew Nacin
50b132c285
Context for 'All Links'. props SergeyBiryukov, pavelevap. fixes #18096 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19202 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-07 17:28:20 +00:00
Andrew Nacin
91b5d4baa5
Clean up wp_admin_bar_my_account_menu() a bit. see #19193 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19201 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-07 17:27:24 +00:00
Andrew Nacin
ae6ddbd3e6
Link the profile meta in 'My Account' to profile.php. props linuxologos, fixes #19193 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19200 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-07 17:25:13 +00:00
Daryl Koopersmith
9553be30d3
Improve display logic for admin menu arrows. see #18382 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19199 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-07 04:18:50 +00:00
Daryl Koopersmith
1597250c9c
Improve admin menu tab navigation for expanded menus. Folded menus require a few markup improvements. see #19191 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19198 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-07 03:59:00 +00:00
Daryl Koopersmith
7851ec39c0
Blue theme improvements for welcome panel. Add .icon16 definitions. see #11651 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19197 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-07 00:39:46 +00:00
Daryl Koopersmith
d622b01600
Remove dead padding/margin CSS from the admin bar. These previously were used for the now-removed arrows. see #18197 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19196 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-07 00:30:49 +00:00
Andrew Ozz
5c18d3b4f4
Uploader: update to 1.5.1.1, remove plupload.full.js (we cannot use it), rename the script handle in script-loader to avoid any confusion, fixes #19187
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19194 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-06 21:46:24 +00:00
Andrew Nacin
057afbb44b
Don't set post_type QV in _post_format_request() when we're in the admin. props ethitter. fixes #18475 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19193 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-06 21:15:23 +00:00
Andrew Nacin
0d7911b7cf
Correct the position of the resizer for the visual editor (not the main editor). props jakemgold, fixes #19177 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19191 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-06 20:42:20 +00:00
Andrew Nacin
15622fb001
Correct TinyMCE anchor (as in <a name>) image. props jakemgold, fixes #18419 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19190 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-06 20:14:13 +00:00
Andrew Nacin
1102de62d5
Bump.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19188 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-06 18:33:16 +00:00
Andrew Nacin
abcdc78656
Allow 8212/8211 (em dash and en dash) to be translated in wptexturize(). props SergeyBiryukov, fixes #15556 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19187 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-06 18:31:54 +00:00
Andrew Ozz
da045838f5
Fix lag when opening help tab if screen options was opened before, fixes #19172
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19186 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-06 18:18:45 +00:00
Jon Cave
9fca31d21d
Hide Site Name menu if the user isn't a member and isn't a super admin. Always show My Sites if the user has a site, and don't remove the current site from the list. Fixes #19122 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19184 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-06 12:21:12 +00:00
Andrew Nacin
7cea3fb20d
Remove commented out code. props ocean90, fixes #19126 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19183 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 21:19:12 +00:00
Andrew Nacin
2ae685c4c2
Send $user_id to is_super_admin() when checking to set primary_blog for a user in wpmu_create_blog(). see #19127 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19182 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 20:23:55 +00:00
Andrew Ozz
f31c4b00c8
Fix js error on mousedown in the editor, props joehoyle, fixes #19165
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19180 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 19:49:42 +00:00
Andrew Ozz
d58037ff4a
Update the spellchecker plugin for TinyMCE to 2.0.6, fixes #19105
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19178 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 18:32:47 +00:00
Andrew Ozz
a410b455a4
Phpdoc fix for quicktags.js, see #19098
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19173 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 16:26:00 +00:00
Andrew Ozz
bbb51b1807
Improve handling of init and adding buttons to Quicktags, fixes #19098
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19172 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 16:00:38 +00:00
Andrew Nacin
f1bbad5d5b
Remove dead code. empty() will catch anything that equals false.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19171 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 13:35:48 +00:00
Andrew Nacin
cbbdd10c0e
Give selectors their own lines. see #19126 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19169 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 05:15:17 +00:00
Andrew Nacin
8cca809427
Hide right border on final admin bar menu item with :last-child, rather than assuming it is search. props markjaquith, fixes #19126 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19168 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 05:13:18 +00:00
Andrew Nacin
b06a98aa18
Copy Twenty Eleven's search icon to core for the admin bar. props SergeyBiryukov. fixes #19138 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19167 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 04:49:05 +00:00
Andrew Nacin
970b93c056
Link 'W' to about.php. see #18795 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19166 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 03:35:20 +00:00
Andrew Nacin
50c56deeeb
jQuery 1.7.
...
props ocean90, fixes #19144 .
git-svn-id: https://develop.svn.wordpress.org/trunk@19165 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 03:25:14 +00:00
Daryl Koopersmith
d7f0b07a8e
Blue theme styles for welcome panel and about pages. see #11651 , 18742.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19164 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 02:06:56 +00:00
Daryl Koopersmith
986602c14c
Second half of new welcome panel formatting. Add .icon16, for menu icon reuse. see #11651 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19163 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 01:17:50 +00:00
Andrew Ozz
bf02e004e0
Support for "tabbing" through the admin bar and admin menu, fixes #19088
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19162 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 01:13:18 +00:00
Jon Cave
78e94523c8
Don't override .shortlink-input left/right padding of 1em with CSS shorthand later on. Fixes #19147 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19161 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 20:45:15 +00:00
Andrew Ozz
7dec8b7703
Admin-bar.css refresh, add back IE compat. "return false" so clicking on the search box doesn't scropp the page to the top, props ocean90, fixes #19153 , fixes #19151
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19160 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 19:46:43 +00:00
Andrew Ozz
dab902ceab
Do the ToDo in wp_admin_bar_search_menu(), props ocean90, fixes #19152
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19159 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 18:11:33 +00:00
Ryan Boren
242b3f48e4
If an empty menu ID is passed, derive it from the title and issue a _doing_it_wrong() notice. see #18197
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19158 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 17:41:38 +00:00
Andrew Ozz
04b16d0042
Fix the global :before/:after selectors for Opera, props SergeyBiryukov, see #19137
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19157 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 17:35:00 +00:00
Andrew Ozz
3ee304ae1e
Tweaks for the admin bar comment bubble: allow JS updating the count, center the bubble when no pending comments, props duck_, fixes #18809
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19156 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 15:55:00 +00:00
Jon Cave
21f89abdca
Fix caps logic in wp_admin_bar_appearance_menu(). Show Themes on either switch_themes or edit_theme_options, and the rest of the appearance items on edit_theme_options. Fixes #19150 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19153 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 14:47:37 +00:00
Andrew Ozz
ac8b90ade2
Remove drop-down arrows from admin bar, props SergeyBiryukov, fixes #19086
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19152 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 14:36:50 +00:00
Jon Cave
2a16423a57
Update wp_admin_bar_appearance_menu docs to reflect changes made by r18683 and r19006. See #18197 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19150 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 13:52:42 +00:00
Andrew Ozz
beec8f9532
Remove unused .toggle-arrow styling, props SergeyBiryukov, see #19042
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19148 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 12:22:46 +00:00
Andrew Nacin
96513811f9
RTL for credits. props SergeyBiryukov, see #19143 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19146 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 04:35:06 +00:00
Daryl Koopersmith
bfd8e1a095
First half of new welcome panel formatting. props chexee. see #11651 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19145 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 01:31:31 +00:00
Daryl Koopersmith
201d03f1b3
Formatting and CSS for credits and freedoms pages. see #18742 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19143 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 00:37:56 +00:00
Jon Cave
b08b1b9314
Fix double border on right side of contextual help when no help sidebar exists. See #18197 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19142 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-04 00:07:57 +00:00
Andrew Nacin
061c4c9841
Two style tweaks to the update nag so it blends well with help/option panels and the admin bar.
...
* Add a top border to it, but hide it under the admin bar. Helps appearance as the page is rendered (as admin bar is last).
* Bring the update nag slightly off center again (see [19130]) to ensure it lines up with help/options panels.
see #18197 .
git-svn-id: https://develop.svn.wordpress.org/trunk@19139 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 23:41:45 +00:00
Andrew Nacin
f73fb3a3bf
Only show #screen-meta (which encloses the panels) when a panel is showing. Otherwise there's a one-pixel gray line that's really aggravating my OCD. see #18197 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19137 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 23:30:55 +00:00
Andrew Nacin
be7274e110
Show the welcome screen when one shows it from Screen Options, advances to a page, then uses the browser's back button to return. see #11651 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19133 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 23:08:24 +00:00
Andrew Ozz
882574b78c
Revert placement of Help and Screen Options to under the admin bar on the right, see #18197 , see #18785
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19130 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 17:08:12 +00:00
Ryan Boren
ccaca0274d
Update the blog date whenever a pubic post type is published or changed after being published. fixes #18624
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19129 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 17:06:45 +00:00
Andrew Nacin
5a8176ea36
Admin bar 'W' shakeup. About This Version is now About WordPress. Credits and Freedoms will now become tabs on the post-update screen. see #18742 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19128 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 04:53:00 +00:00
Andrew Ozz
3700b57fdc
Remove the Cancel Upload button, fixes #19050
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19127 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 01:47:12 +00:00
Andrew Ozz
6850814d97
Output editor-buttons.css earlier so the browser renders the editor in time, fixes #18820
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19126 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-03 01:31:27 +00:00
Andrew Nacin
7c30a4f419
Add a few characters to remove_accents(). props SergeyBiryukov. props ampt for [UT471]. fixes #9591 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19125 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 23:08:05 +00:00
Daryl Koopersmith
e2a62a3134
Improve admin bar internal representation. Simpler signatures, with backwards compatibility. Add items without requiring parents to be added first. see #18197 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19120 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 20:34:54 +00:00
Jon Cave
479b59bdb0
Return full WHERE clause from get_posts_by_author_sql() if the post type isn't registerd. Fixes SQL sytax on users list when 'post' is unregistered. Fixes #19116 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19117 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 17:06:34 +00:00
Andrew Ozz
fa570e7b76
More css cleanup, fix styles in the Edit Image popup then the editor is on the front end see #18314
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19116 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 15:24:56 +00:00
Ryan Boren
03139f2eec
Fix live update of comment bubble. Drop text to avoid translation difficulties. Props SergeyBiryukov. fixes #18809
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19105 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-01 20:42:40 +00:00
Ryan Boren
795073ef01
Network admin snack menu. see #18197
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19104 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-01 20:19:33 +00:00
Mark Jaquith
4b4c1bed52
Use %s, not %d, for comment numbers in admin bar sprintf(). fixes #19104
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19103 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-01 20:12:42 +00:00
Ryan Boren
c8ae4ba953
Mark links to wordpress.org resources for translation. Props SergeyBiryukov. see #18197
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19102 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-01 19:46:41 +00:00
Andrew Ozz
947ba8f62c
Fix uploader "file size exceeded" error message, fix displaying uploaded queue errors, see #18206
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19100 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-01 11:56:20 +00:00
Andrew Ozz
1746c2af62
Disable the Cancel Upload button after the upload has finished or if it was interrupted, fixes #19050
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19099 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-31 21:38:28 +00:00
Ryan Boren
5d0176b03e
Escape href in feed_links_extra(). Props solarissmoke. fixes #17408
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19096 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-31 20:22:35 +00:00
Ryan Boren
4399cf7610
Avoid E_STRICT notices. see #18975
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19094 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-31 19:38:46 +00:00
Andrew Ozz
1326405677
Fix menu folding on new installs, props SergeyBiryukov, fixes #18091
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19091 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-29 21:56:27 +00:00
Andrew Ozz
8ecf6a8f3f
Fix editor menu drop-downs in RTL, fixes #17798
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19088 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-29 02:28:49 +00:00
Andrew Nacin
866b118316
Fix QuickTags typos. props trepmal, fixes #19082 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19084 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-28 23:29:53 +00:00
Andrew Ozz
e10b10b6e2
Fix help tabs in RTL, props rosshanney, fixes #19024
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19083 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-28 23:05:58 +00:00
Andrew Nacin
3f802f9570
Use esc_attr() consistently in wp_dropdown_pages().
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19081 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-28 22:40:09 +00:00
Andrew Ozz
8a48ef371f
RTL fixes for 3.3, props yoavf SergeyBiryukov rosshanney, see #19042 fixes #18000 , fixes #17988 , fixes #19006
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19080 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-28 22:14:59 +00:00
Jon Cave
7942318230
Ensure auto-embed only matches "smugmug.com" and its subdomains. Fixes #19076 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19079 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-28 20:05:43 +00:00
Ryan Boren
2e089de79f
Compute in_search_post_types only when needed. Props mitchoyoshitaka. fixes #18364
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19078 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-28 20:03:26 +00:00
Ryan Boren
813f1abd3c
Avoid undefined index notices. Props SergeyBiryukov, valendesigns. fixes #18455
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19077 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-28 19:52:14 +00:00
Jon Cave
abada6e11d
Fix polldaddy oEmbed regular expression to work with new style URLs. Props r-a-y, azaozz. Fixes #17106 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19076 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-28 19:42:57 +00:00
Ryan Boren
a3f2a7ce55
Fix notices and logic errors in get_page_by_path(). Props duck_. see #17670
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19075 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-28 19:32:19 +00:00
Ryan Boren
722c6d7003
Avoid 'Only variables should be passed by reference' warnings. Props SergeyBiryukov. see #18975
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19074 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-28 15:48:44 +00:00
Ryan Boren
f8ed38f26c
Avoid 'Only variables should be passed by reference' warnings. Props SergeyBiryukov. see #18975
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19072 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-27 20:00:09 +00:00
Ryan Boren
d8db24fafa
Cast author IDs to strings. Props yoavf. fixes #18869
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19071 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-27 18:36:49 +00:00
Jon Cave
be9799cdba
Correctly document $stripteaser as a boolean flag. Props GaryJ, fixes #18886 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19069 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-26 10:15:29 +00:00
Jon Cave
72256f1c27
Stop an incorrect comment total being displayed when a trashed/spammed comment is deleted or restored. Fixes #19029 .
...
Also only run getUpdate() when necessary and remove reference to non-existent "span.total-type-count".
git-svn-id: https://develop.svn.wordpress.org/trunk@19068 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-26 08:47:16 +00:00
Andrew Nacin
29a3f52acf
Bump.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19067 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-25 16:32:27 +00:00
Andrew Nacin
95eff833c8
Remove duplicate word in docs. props SergeyBiryukov, fixes #18986 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19065 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-25 16:07:14 +00:00
Andrew Nacin
96e4fffaa9
Introduce upgrade_330() to clear usermeta keys show_admin_bar_admin and plugins_last_view. fixes #18811 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19061 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-25 05:48:09 +00:00
Andrew Nacin
fcf1696de4
Introduce ->mysql to allow drop-ins to declare themselves as MySQL and therefore allow minimum version checks to still apply. fixes #18176 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19060 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-25 05:29:28 +00:00
Andrew Nacin
01f19e3cff
Check get_site_option(WPLANG) when WP_INSTALLING in mulitiste, just not the blog's option. fixes #18783 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19059 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-25 05:09:03 +00:00
Andrew Nacin
e253f44dad
bump bump bump it up
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19055 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-24 19:33:47 +00:00
Ryan Boren
fd10e500e4
Pinking shears
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19054 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-24 19:13:23 +00:00
Andrew Nacin
a7dda77ea7
Adjust the height of the help columns on 'Help' tab open. see #18690 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19045 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-23 17:55:24 +00:00
Andrew Nacin
94cb070299
In _doing_it_wrong(), don't append the Debugging_in_WordPress message until we go to print a message. Send a clean message to the action. see #18453 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19044 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-23 17:51:14 +00:00
Peter Westwood
eb1b0763e1
Don't show the Freedoms or Credits menu items to logged out users.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19042 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-22 10:56:04 +00:00
Ryan Boren
1b45a17906
Don't use unbounded SHOW TABLES in is_blog_installed(). Do a more targeted DESCRIBE loop over the blog table list. fixes #19026
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19039 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-21 22:16:33 +00:00
Andrew Nacin
5e85a49355
Update the update_count_callback docs. see #18986 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19037 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-21 21:50:36 +00:00
Andrew Nacin
8e97202178
No need to specify an update_count_callback for categories or tags, as the default handler for them will now be _update_post_term_count(). see #18986 , [19035].
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19036 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-21 21:46:03 +00:00
Andrew Nacin
5307ec17c5
Separate non-post term counting from _update_post_term_count(). Introduce _update_generic_term_count(). The generic handler will be the default whenever the taxonomy is attached to an object type other than a post type (link, user). Otherwise the _update_post_term_count() handler will be the default. fixes #18986 . see #17548 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19035 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-21 21:38:14 +00:00
Andrew Nacin
0853bf3d40
Correct docs for get_post_field(). props JustinSainton, fixes #19025 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19034 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-21 17:13:26 +00:00
Andrew Nacin
5176354f22
Use esc_url() rather than esc_attr() on a redirect-to URL. fixes #17243 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19033 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-20 23:41:07 +00:00
Andrew Nacin
08073035a6
Fix the current page default redirect in wp_login_form(). props kawauso, see #17243 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19032 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-20 23:40:09 +00:00
Ryan Boren
b9215e193e
Typo fix. Props SergeyBiryukov. see #18986
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19031 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-20 21:41:54 +00:00
Jon Cave
939b085f54
Correct @param text ordering to put "Optional." in description, see r19019 and #18958 . Also remove empty docblock tag.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19030 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-20 15:53:57 +00:00
Andrew Nacin
8eeafd948e
Pass $post_id arg directly to get_post_thumbnail_id() from has_post_thumbnail(). The null/get_the_ID() check is already performed at that level of the stack. see #19012 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19029 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-20 15:11:49 +00:00
Andrew Nacin
1287ec492a
Translated strings in attributes require esc_attr(). s/_e/esc_attr_e/g
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19028 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-20 15:04:46 +00:00
Andrew Nacin
6355548ea2
Use wp_lostpassword_url() instead of site_url(wp-login...). Update wp_lostpassword_url() to use network_site_url(). props markoheijnen, fixes #18808 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19027 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-20 14:40:11 +00:00
Andrew Nacin
6387565b38
Remove code commented out in [19006]. see #18197 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19026 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-20 14:33:18 +00:00
Ryan Boren
f4d5f4fceb
Fix term counting for links. Props SergeyBiryukov. fixes #18986
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19025 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-20 14:28:26 +00:00
Ryan Boren
3b167b98ae
beta2 bump
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19023 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-20 02:22:02 +00:00
Andrew Nacin
e09cb12b87
Check for plugin/theme updates every hour when hitting update-core.php, not just themes.php/plugins.php. see #18876 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19022 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-20 00:23:35 +00:00
Andrew Nacin
4a275d129d
Attach update hooks in the network admin. Accounts for the rare situation where the network admin is not the main site. props johnbillion, see #18876 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19021 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-20 00:15:21 +00:00
Andrew Nacin
86638ed332
Use correct capture group in IIS7 multisite subdirectory rewrite rules. props carlospaulino, eduplessis, ruslany. fixes #17708 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19018 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 22:57:37 +00:00
Andrew Nacin
d4bbfbad98
We know that pagename is being assigned to $matches-something, so skip the variable variable. props duck_. see #18991 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19017 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 22:49:45 +00:00
Ryan Boren
2c83b5728f
Turn is_blog_user() into a wrapper around is_user_member_of_blog() and deprecate. Make user_id optional for is_user_member_of_blog(). Props SergeyBiryukov. fixes #16702
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19016 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 22:35:15 +00:00
Andrew Nacin
6c8c746dbc
Move welcome panel link to a 'Show on screen' checkbox. see #11651 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19014 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 21:43:21 +00:00
Jon Cave
0f36a1e33b
Don't cache default value in get_site_option() for non-existent options. Fixes #18955 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19012 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 21:06:50 +00:00
Andrew Ozz
9c3869b10b
RTL CSS tweaks, see #18197
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19008 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 16:58:46 +00:00
Daryl Koopersmith
c1945d5c69
Welcome panel contents and functionality. see #11651 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19007 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 16:41:26 +00:00
Andrew Ozz
267579fc1e
Bring the Appearance sub-menus on the front end one level up, see #18197
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19006 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 16:32:26 +00:00
Andrew Nacin
e50a297ef1
is_blog_user() is from MU. see #16702 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19005 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 15:56:05 +00:00
Ryan Boren
85c931dc32
Turn is_blog_user() into a convenience wrapper around get_blogs_of_user(). Fixes is_blog_user() for blog prefixes that do not contain a blog ID. Props SergeyBiryukov. fixes #16702
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19004 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 15:53:14 +00:00
Andrew Ozz
ee0fa1e9fa
Few more RTL fixes, see #18314
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19002 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 06:42:41 +00:00
Andrew Ozz
cfbb3d30f5
Press This CSS cleanup, props andrewryno, see #18314
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19001 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 06:16:15 +00:00
Dion Hulse
81197a2dd5
Respect the Content-Type header developers pass to WP_HTTP. Fixes #18982
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19000 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 04:48:00 +00:00
Ryan Boren
cc9e6ecb65
Call wp_update_term_count() only for those terms that have been added to or removed from the object. Props jeremyclarke. fixes #18631
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18999 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 21:01:55 +00:00
Ryan Boren
789dab3f20
Avoid 'Only variables should be passed by reference' warnings. Reverts [18110]. see #18975
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18998 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 20:44:39 +00:00
Andrew Nacin
90f95e0204
new does not require by reference.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18995 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 20:20:59 +00:00
Andrew Nacin
e8946bf56a
Globalize everything in vars.php. props duck_. fixes #17749 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18994 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 19:44:00 +00:00
Andrew Nacin
0ea00a75d1
Explicitly globalize $table_prefix in wp-settings.php in case WordPress isn't loaded in global scope. Use $_SERVER['PHP_SELF'], not $PHP_SELF. We need to keep $PHP_SELF for backwards compatibility reasons (many, many plugins rely on it). props mrtorrent, fixes #17749 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18993 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 19:37:07 +00:00
Andrew Ozz
12dd9663fc
Pointers: more airy drop shadow, see #18693
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18989 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 07:43:40 +00:00
Andrew Ozz
b6b775e4c3
Add some more documentation and prevent fatal error if a plugin tries to use 'dfw' second time, see #17144
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18988 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 07:08:55 +00:00
Andrew Ozz
6bdce8d62f
Pointers: add default width (400px) that fixes positioning in IE7, add href attrib to the Close link, see #18693
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18987 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 07:03:31 +00:00
Ryan Boren
fdbf2de4db
Return to snack menu instead of full menu. Experiment over. see #18197
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18984 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-17 22:06:31 +00:00
Daryl Koopersmith
a9148409f3
Fix the admin menu in the blue theme. props ocean90. see #18382 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18983 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-17 21:04:29 +00:00
Andrew Ozz
d1b8509e83
Use IE conditionals when adding the ie8 class, introduce _wp_admin_html_begin(), props scribu, fixes #18966
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18982 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-17 20:57:32 +00:00
Andrew Ozz
96571de38e
No float for the admin bar gravatar image, props gluten, fixes #18925
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18981 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-17 20:19:12 +00:00
Andrew Nacin
790f153832
Add basic help styles to colors-classic. props ocean90, see #18964 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18980 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-17 19:18:28 +00:00
Andrew Ozz
4bb2ed26d8
Clean up styles for #wphead, #favorite-actions and the old editor buttons, props andrewryno, see #18314
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18976 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-15 07:46:58 +00:00
Andrew Ozz
573a1813dc
RTL, IE7 and IE7 RTL fixes, add class="ie8" to the html tag, see #18314
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18975 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-15 07:33:01 +00:00
Ryan Boren
df5f69fabc
In wp_trash_post(), rename the trash_post action to wp_trash_post to avoid collision with the wp_transition_post_status() trash_post state transition. Props SergeyBiryukov. fixes #15628
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18974 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-14 18:39:31 +00:00
Ryan Boren
8d945cd8a0
Update vimeo oembed api url. Props l3rady, justindgivens. fixes #18928
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18973 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-14 17:56:48 +00:00
Andrew Nacin
825f219f5d
Da bump.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18972 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-14 15:48:05 +00:00
Daryl Koopersmith
db82a18377
Tweak pointer styles. see #18693 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18971 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-14 03:58:27 +00:00
Daryl Koopersmith
087201621e
Fix incorrect closing tag in pointers JS. see #18693 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18970 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-14 03:36:04 +00:00
Daryl Koopersmith
ed7c3fb655
Simplify pointer API with smarter positioning. see #18693 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18969 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-14 03:33:46 +00:00
Andrew Ozz
a7f2758641
Remove stray comma, fixes #18929
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18967 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-13 19:46:13 +00:00
Andrew Ozz
45e3751dc9
Update user_can_richedit to allow TinyMCE in iOS5, props markoheijnen, fixes #18626
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18963 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-13 06:37:24 +00:00
Andrew Ozz
941a686bbf
Remove unnecessary vendor prefixes from wp-admin-rtl.css, props ryanimel, see #18700
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18962 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-13 06:33:10 +00:00
Andrew Ozz
0156e509db
Remove iPad rotation tweak (not needed in iOS 5), see #18863
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18960 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-13 02:47:00 +00:00
Andrew Ozz
8dd953e39d
IE7 fixes for the admin menu, see #18382
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18958 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-13 00:06:07 +00:00
Andrew Ozz
e10d951cce
Fix visibility of Select Files button in IE7, change border color when hovering over the drag drop area of the uploader, see #18918 , see #18206
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18957 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-12 22:24:53 +00:00
Ryan Boren
168e89007c
Avoid 'Only variables should be assigned by reference' warning. Props arena. fixes #18867
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18956 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-12 20:41:06 +00:00
Ryan Boren
ec9060cc99
Allow 0 - 9 in tag_escape(). Props sirzooro. fixes #18765
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18955 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-12 20:34:14 +00:00
Ryan Boren
14c6df057d
Avoid preg backtrack limit errors with large posts when processing shortcodes. Props mdawaffe. fixes #15600
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18952 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-12 16:50:30 +00:00
Daryl Koopersmith
596a9ad2d8
Improve padding on admin menu submenus. see #18382 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18947 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-11 21:52:40 +00:00
Daryl Koopersmith
3f33c99e90
Prevent admin menu sub-items from crowding the arrows when the menu is expanded. see #18382 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18946 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-11 21:48:20 +00:00
Daryl Koopersmith
d6686cf589
Fix admin menu arrow positioning when menu is collapsed plus minor positioning tweaks. see #18382 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18944 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-11 21:38:12 +00:00
Daryl Koopersmith
50b17d4b68
Create admin menu arrows using CSS3 transforms. props chexee. see #18382 , fixes #18902 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18942 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-11 21:25:38 +00:00
Andrew Ozz
844d8607d8
Don't move current open submenus, see #18382
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18940 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-11 17:59:51 +00:00
Andrew Ozz
b297c030b7
More CSS cleanup, props olleicua, see #18314
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18939 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-11 06:25:25 +00:00
Ryan Boren
db7795de32
Do the beta bump
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18938 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 23:50:20 +00:00
Ryan Boren
974795183b
Avoid warning when creating new users. fixes #18898
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18936 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 23:14:38 +00:00
Andrew Ozz
c3c949df19
Remove unneeded cursor style, props trepmal, see #15848
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18935 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 23:10:47 +00:00
Andrew Ozz
460da3b20d
Prevent a Chrome bug activating :hover on the first pixel on the screen while loading, props markjaquith, fixes #18868
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18934 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 22:36:36 +00:00
Joseph Scott
25455363e9
Follow the pattern of wp-admin a bit more for metaWeblog.newPost by using get_default_post_to_edit() to generate a post ID before the post is actually published.
...
Fixes #18812
Props koke, nacin
git-svn-id: https://develop.svn.wordpress.org/trunk@18933 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 21:27:05 +00:00
Ryan Boren
448700b2e7
Count only published posts when updating term counts. Fire term count updates on transition_post_status. Props joehoyle. see #17548
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18932 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 20:52:44 +00:00
Andrew Nacin
f9bba8610d
Make the Browse Happy box look somewhat okay in Internet Explorer. Remove html tags from a string. props SergeyBiryukov, pavelevap. fixes #17980 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18930 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 19:54:26 +00:00
Daryl Koopersmith
a8dde60aa6
Add full admin menu to admin bar on front end. props azaozz. see #18197 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18929 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 19:53:12 +00:00
Andrew Nacin
32874f18cf
Remove caching from get_blogs_of_user(). Leave caching to usermeta and blog details. Speed up the loops. fixes #15458 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18928 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 19:50:08 +00:00
Daryl Koopersmith
9bf6d8e25f
Improve admin bar item order for W menu, add new menu, and edit content item. see #18197 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18927 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 18:40:00 +00:00
Andrew Ozz
619caa5c73
Make iPad support usable again, add viewport meta, see #18863
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18926 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-10 04:19:05 +00:00
Andrew Ozz
d51b26378c
Add/remove the border to postbox containers when the last postbox is hidden/shown from Screen Options, props ocean90, fixes #18882
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18925 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-09 17:30:51 +00:00
Andrew Ozz
692d11e622
Fix postbox containers when there are no visible postboxes in them, fixes #18882
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18924 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-09 00:05:38 +00:00
Andrew Ozz
34e570a8ab
Add link to the codex in the doing_it_wrong notices, see #18453
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18923 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-08 22:48:05 +00:00
Andrew Ozz
2b2bff2fca
Fix insetring images in Quick Press and Press This, see #17144
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18920 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 20:14:21 +00:00
Daryl Koopersmith
e33486dbb6
Clean up the 'Site Name' admin bar functions.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18919 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 19:52:26 +00:00
Andrew Nacin
679dbc6a78
No translators, you don't need to localize a non-breaking space.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18916 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 06:41:51 +00:00
Andrew Nacin
209ba5a53f
Compress and bump wp-admin.css. CSS in [18867] and [18874] will need to be explained and re-committed. see #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18912 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 04:58:36 +00:00
Ryan Boren
b412d5f082
Don't stomp meta fields in wp_update_user(). Props scribu. see #15458
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18909 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-07 02:34:41 +00:00
Mark Jaquith
a08a12b46a
Always pass the post ID as the second argument to the the_title filter. props GaryJ. fixes #16688
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18907 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 21:09:37 +00:00
Ryan Boren
7af65a1402
Do only one empty check. Clean up whitespace. Props SergeyBiryukov. see #15458
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18906 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 19:13:44 +00:00
Ryan Boren
3932ffbff8
Avoid Warning: array_keys() expects parameter 1 to be array, boolean given. see #15458
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18905 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 18:49:38 +00:00
Andrew Ozz
fcecbaa30c
Combine few styles for column containers, props olleicua, see #18314
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18903 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 14:37:55 +00:00
Andrew Ozz
04c169ba44
Fix menu hover when loaded folded, simplify menu JS and auto-folding, see #18382
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18901 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 09:18:56 +00:00
Andrew Ozz
7ac7aeae29
Clean up unused bits from responsive admin, fix the JS on dashboard, see #18863
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18900 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 08:43:01 +00:00
Ryan Boren
319d070078
Introduce wp_get_db_schema() for rerieving the various flavors of the WP db schema. Eliminates need to use global. Allows multiple calls to wpmu_create_blog(). see #12028
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18899 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 00:21:24 +00:00
Daryl Koopersmith
e7ab67e395
Adjust admin bar item order. see #18197 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18898 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-06 00:02:18 +00:00
Andrew Nacin
44a62f0b3b
Revert [18817]. Adding the new HTML to setup-config would make translation files stale, and I'd rather i18n that file first (see #18180 ). fixes #18865 , see #16413 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18897 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 23:42:11 +00:00
Daryl Koopersmith
d9d201289e
Refine new help styles. see #18690 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18896 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 23:15:19 +00:00
Andrew Nacin
1b836047af
Compress and bump scripts for [18890]. see #17578 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18891 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 21:08:16 +00:00
Andrew Nacin
e386cb17c5
UI touches for the single media button. see #17578 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18890 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 21:07:04 +00:00
Daryl Koopersmith
c9e4b0fcb9
Revise admin bar items based on user testing. Post at http://wp.me/pbNCB-qz . see #18197 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18888 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 18:45:32 +00:00
Mark Jaquith
0fe5c09e64
Give custom background CSS more specificity. props GaryJ. fixes #18698
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18886 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 17:20:43 +00:00
Dion Hulse
f07212c873
Document that add_query_arg() expects encoded data. See #18086
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18885 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 11:03:56 +00:00
Dion Hulse
2b00bcf9f0
Encode extra query vars in Canonical Taxonomy redirections. Props SergeyBiryukov. Fixes #18086
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18884 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 11:00:28 +00:00
Daryl Koopersmith
ea4615f2ed
Greased Lightning Flyouts! Flyouts are now snappy and work without JS. see #18382 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18881 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-05 06:39:30 +00:00
Ryan Boren
aeac3dc5f1
phpdoc fix for zeroise(). Props trepmal. fixes #18854
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18877 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-04 16:02:33 +00:00
Andrew Ozz
188a2b973f
Prevent sorting arrows improperly wrapping on narrow columns in .widefat, props SergeyBiryukov, #15993
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18875 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-04 04:14:36 +00:00
Ryan Boren
8fec352eaa
Excerpt long blog names when displaying them in the admin bar. fixes #18849
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18873 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-03 19:58:33 +00:00
Andrew Ozz
ef03889ea5
Combine font-family, remove few unused bits, props ocean90, see #18314
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18872 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-03 16:36:19 +00:00
Daryl Koopersmith
d6f613fcd3
Help style refresh, part 1. A few elements left to add/tweak. see #18690 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18866 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-02 18:19:49 +00:00
Andrew Ozz
fefbcce590
Fix border radius for editor split-buttons, props trepmal, fixes #18839
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18865 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-02 17:04:09 +00:00
Ryan Boren
3985ff6af3
Don't use wp_parse_args() on non associative array. Props SergeyBiryukov. see #18268
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18856 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 15:54:52 +00:00
Jon Cave
46f95eb2de
Use metadata API in do_all_pings() to delete post meta (cleaner, plays better with cache). Remove redundant query to retrieve meta_id. See #18196 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18855 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 08:38:33 +00:00
Daryl Koopersmith
a5acbaa574
Make screen options a help tab. Move screen option functions into WP_Screen. see #18690 , #18785 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18853 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 00:24:44 +00:00
Andrew Ozz
8c9d5285ac
Toggle the pinkynails properly, props goto10, fixes #17212
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18851 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-01 00:12:39 +00:00
Andrew Ozz
3a696e6995
Speed up the admin bar drop-downs a bit when using hoverIntent, props johnbillion, fixes #18299
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18849 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 22:31:15 +00:00
Andrew Ozz
6840264a43
Fix thickbox (again!), props SergeyBiryukov, fixes #18796
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18848 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 22:24:34 +00:00
Ryan Boren
c3212d522e
Avoid refetching a post in get_post() when passed a post object that has already been raw sanitized. Clean up sanitize loop. Props scribu. fixes #18822
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18846 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 19:06:18 +00:00
Ryan Boren
2678fd4f60
Restore sorting by post_name in get_pages(). Props SergeyBiryukov. fixes #18805
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18845 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 18:12:14 +00:00
Ryan Boren
0fb49c10e3
Consult the main query when determining whether to show the edit menu in the admin bar. This insulates the admin bar from query_posts() queries made by themes and plugins. Props SergeyBiryukov. fixes #16798
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18844 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 18:07:14 +00:00
Mark Jaquith
a3bdf19206
Be more consistent with ERROR: messages. fixes #15887
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18841 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 17:18:35 +00:00