Commit Graph

23188 Commits

Author SHA1 Message Date
Andrew Nacin 9aa5512e94 Add a function to return an empty string, for filters. props wpsmith, trepmal. fixes #20357.
git-svn-id: https://develop.svn.wordpress.org/trunk@25037 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-16 20:01:06 +00:00
Andrew Nacin 38b4ca010a send_origin_headers() in admin-post.php.
props nickdaugherty, fixes #24600.



git-svn-id: https://develop.svn.wordpress.org/trunk@25036 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-16 19:58:42 +00:00
Andrew Nacin ea7196081f Add a maxlength attribute to the post password input, reflecting the current DB field length.\
props RayBernard, DrewAPicture.
see #24792.



git-svn-id: https://develop.svn.wordpress.org/trunk@25035 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-16 19:55:19 +00:00
Andrew Nacin a1ff9555a9 Add actions for term editing/creation form tags, for adding enctype attributes. Matches the pattern we've used elsewhere. props JustinSainton, fixes #15261.
git-svn-id: https://develop.svn.wordpress.org/trunk@25034 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-16 19:53:50 +00:00
Andrew Nacin a2008aa773 Return esc_url_raw(), not esc_url(), from get_blogaddress_by_domain(). props tlovett1, fixes #25057. #wcpvd
git-svn-id: https://develop.svn.wordpress.org/trunk@25033 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-16 19:41:59 +00:00
Ryan Boren 5125650b72 Be consistent with the arguments passed to the theme_action_links filter. Stop passing stylesheet from class-wp-ms-themes-list-table.php.
Props georgestephanis
fixes #24478


git-svn-id: https://develop.svn.wordpress.org/trunk@25032 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-16 15:46:08 +00:00
Helen Hou-Sandi 123b419481 Only set and run internal search for linking selected text if the panel is open. Make sure the focus is in the URL field whenever opening the linking modal to preserve previous behavior. props greuben. fixes #16276.
git-svn-id: https://develop.svn.wordpress.org/trunk@25031 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-15 21:43:29 +00:00
Ryan Boren 17267dd999 wp_get_shortlink() improvements.
* Return shortlinks for pages and public CPTs.
* Return shortlinks even when cruft-free links are not enabled.
* Unit tests

Props sillybean, layotte, cais
fixes #18632
see #14760



git-svn-id: https://develop.svn.wordpress.org/trunk@25030 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-15 20:08:06 +00:00
Helen Hou-Sandi 0de512789e Better align the x icons with tag names. props TobiasBg. fixes #25050.
git-svn-id: https://develop.svn.wordpress.org/trunk@25029 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-15 19:58:04 +00:00
Sergey Biryukov 6c3b030245 Avoid PHP notices in get_sample_permalink() and get_sample_permalink_html(). Remove unused global reference. props ocean90. fixes #25005.
git-svn-id: https://develop.svn.wordpress.org/trunk@25028 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-15 16:24:08 +00:00
Helen Hou-Sandi 2225b6ff1f Make sure the close button in the Customizer still works after a refresh. props lessbloat. fixes #22682.
git-svn-id: https://develop.svn.wordpress.org/trunk@25027 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-15 13:48:05 +00:00
Sergey Biryukov 54f2629d52 Correct sort_column argument description for wp_page_menu(). props jakub.tyrcha, c3mdigital. fixes #16516.
git-svn-id: https://develop.svn.wordpress.org/trunk@25026 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-15 11:58:18 +00:00
Dion Hulse b971127bac Remove the usage of @$_GET and @$_POST and just check to see if the indicies are set. Fixes #22429
git-svn-id: https://develop.svn.wordpress.org/trunk@25025 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-15 06:05:54 +00:00
Dion Hulse 51c3faba5d WP_Filesystem: Make WP_Filesystem_Base::search_for_folder() a bit more usable on the command-line when the $verbose mode is used, additionally, bail early from the function rather than repeating itself if the CWD is the root directory already.
git-svn-id: https://develop.svn.wordpress.org/trunk@25024 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-15 05:59:36 +00:00
Lance Willett f330352fa3 Twenty Fourteen: second pass at matching code standards achieved with Twenty Thirteen development. See #24858, props obenland.
git-svn-id: https://develop.svn.wordpress.org/trunk@25023 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-15 00:24:27 +00:00
Andrew Ozz 615a38d183 TinyMCE: always use js/editimage.js in the custom 'editimage' plugin, same way as the default TinyMCE plugins. Fixes #24999.
git-svn-id: https://develop.svn.wordpress.org/trunk@25022 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-14 21:50:43 +00:00
Lance Willett 633e58960d Twenty Fourteen: first pass at matching code standards achieved with Twenty Thirteen development. See #24858, props obenland.
git-svn-id: https://develop.svn.wordpress.org/trunk@25021 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-14 16:38:01 +00:00
Dominik Schilling (ocean90) bf8e3cab1e Remove unused cat JavaScript file. props carldanley. fixes #24989.
git-svn-id: https://develop.svn.wordpress.org/trunk@25020 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-14 15:43:03 +00:00
Jon Cave 38345135a1 Add javascript files deleted in [25013] to $_old_files. See #23486.
git-svn-id: https://develop.svn.wordpress.org/trunk@25019 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-14 15:18:04 +00:00
Dominik Schilling (ocean90) 9d2282c26a Remove references to unused globals. props jeremyfelt. fixes #24984.
git-svn-id: https://develop.svn.wordpress.org/trunk@25018 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-14 15:00:37 +00:00
Dion Hulse 02134236de Tests: Avoid PHP Deprecated and Strict Standards warnings from Object references and incompatible method declarations when running under WP_DEBUG
git-svn-id: https://develop.svn.wordpress.org/trunk@25017 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-08 02:55:44 +00:00
Dion Hulse 37c3399a0c WP_HTTP: Allow name => value pairs to be passed in to the 'cookie' parameter, simplifies plugin code when needing to specify basic cookies. Fixes #21999
git-svn-id: https://develop.svn.wordpress.org/trunk@25016 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-08 02:43:36 +00:00
Nikolay Bachiyski f9ff73dc61 Use correct path to src/
See #24976


git-svn-id: https://develop.svn.wordpress.org/trunk@25015 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-07 20:59:09 +00:00
Andrew Nacin 4483b947a4 Remove zero-byte files that were meant to be deleted in [23446]. see #23486.
git-svn-id: https://develop.svn.wordpress.org/trunk@25013 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-07 17:43:50 +00:00
Andrew Nacin 302824ce0c Remove temporary svn task from Gruntfile.js. props jorbin, fixes #24981.
git-svn-id: https://develop.svn.wordpress.org/trunk@25012 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-07 17:34:05 +00:00
Peter Westwood 5891d79a14 Restore the for/id attributes in the post password for as they are necessary for accessibility tools. Fixes #18729.
git-svn-id: https://develop.svn.wordpress.org/trunk@25011 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-07 13:43:17 +00:00
Peter Westwood 2008bdf818 Make is much easier for a theme to style the Post Password form.
Fixes #18729 props philiparthurmoore for the original patches.


git-svn-id: https://develop.svn.wordpress.org/trunk@25010 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-07 11:49:57 +00:00
Peter Westwood 4d75b0f336 Use a CDATA second for comment authors in RSS2 comment feeds so that HTML in comments doesn't kill the XML validation.
Fixes #17767 props wonderboymusic, dzver.


git-svn-id: https://develop.svn.wordpress.org/trunk@25009 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-07 11:16:29 +00:00
Peter Westwood ddbe85a1a7 Tests: Add support for storing your wp-test-config.php file a directory higher if you want to like we do for wp-config.php
git-svn-id: https://develop.svn.wordpress.org/trunk@25008 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-07 10:09:35 +00:00
Peter Westwood c366722810 Tests: Remove the real test configuration file, we only check in the sample one :)
git-svn-id: https://develop.svn.wordpress.org/trunk@25007 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-07 10:08:59 +00:00
Peter Westwood 90ff12d777 Tests: Remove the transitory ticket cache files that shouldn't be under version control.
git-svn-id: https://develop.svn.wordpress.org/trunk@25006 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-07 10:08:15 +00:00
Andrew Nacin 48678e21b9 SCRIPT_DEBUG is no longer needed when using develop.svn's src/ directory. see #24976.
git-svn-id: https://develop.svn.wordpress.org/trunk@25005 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-07 07:15:57 +00:00
Andrew Nacin 98e788c259 Remove the legacy Tests_Theme_ThemeDirLarge test to drop the wpcom-themes external/dependency. see #24976.
git-svn-id: https://develop.svn.wordpress.org/trunk@25004 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-07 06:51:04 +00:00
Andrew Nacin e89082c01a Import internationalization tools from i18n.svn.wordpress.org.
Imported from https://i18n.svn.wordpress.org/tools/trunk@22088.

see #24976.



git-svn-id: https://develop.svn.wordpress.org/trunk@25003 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-07 06:44:08 +00:00
Andrew Nacin 1801ed459c Initial import of unit-tests repository into develop.svn.wordpress.org.
Imported from https://unit-tests.svn.wordpress.org/trunk@1337

see #24976.



git-svn-id: https://develop.svn.wordpress.org/trunk@25002 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-07 06:38:38 +00:00
Andrew Nacin b43712e0f7 New develop.svn.wordpress.org repository based on the old core.svn repository.
* All WordPress files move to a src/ directory.
 * New task runner (Grunt), configured to copy a built WordPress to build/.
 * svn:ignore and .gitignore for Gruntfile.js, wp-config.php, and node.js.
 * Remove Akismet external from develop.svn. Still exists in core.svn.
 * Drop minified files from src/. The build process will now generate these.

props koop.
see #24976.

and see http://wp.me/p2AvED-1AI.



git-svn-id: https://develop.svn.wordpress.org/trunk@25001 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-07 05:25:25 +00:00
Andrew Nacin 5bbd08e1d1 3.7-alpha-25000 is the final direct commit to core.svn.wordpress.org.
All future commits will be synced here from develop.svn.wordpress.org.
For more, please see http://wp.me/p2AvED-1AI.



git-svn-id: https://develop.svn.wordpress.org/trunk@25000 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-06 19:44:26 +00:00
Ryan Boren b04c19df69 phpdoc for $wp_admin_bar in admin-bar.php
Props jeremyfelt
see #24900


git-svn-id: https://develop.svn.wordpress.org/trunk@24999 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-06 19:23:00 +00:00
Ryan Boren 3f89738bb5 Remove 'admin' as default username in install.
Props chrisrudzki
fixes #24078


git-svn-id: https://develop.svn.wordpress.org/trunk@24998 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-06 19:04:32 +00:00
Andrew Nacin 5e5f28dbc3 Pass the $sep function argument to the wp_title_rss and get_wp_title_rss filters. props scribu, fixes #16983.
git-svn-id: https://develop.svn.wordpress.org/trunk@24997 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-06 18:41:10 +00:00
Ryan Boren ca59c0127b Return true from wp_redirect() when redirect successful. Update phpdoc.
Props tivnet
fixes #24969


git-svn-id: https://develop.svn.wordpress.org/trunk@24996 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-06 17:44:32 +00:00
Ryan Boren 11d7fe1eaf Silence is_dir() to avoud warning when upload_tmp_dir is outside open_basedir.
Props dpash
fixes #24704


git-svn-id: https://develop.svn.wordpress.org/trunk@24995 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-06 17:39:33 +00:00
Ryan Boren d05c31d063 Set RTL body class for iframes.
Props mitchoyoshitaka
see #24149


git-svn-id: https://develop.svn.wordpress.org/trunk@24994 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-06 17:35:43 +00:00
Ryan Boren 98e65b8f77 Deprecate get_dashboard_blog().
Remove contextual help for Dashboard Site from the network settings screen.

Props sillybean, ocean90
fixes #24838


git-svn-id: https://develop.svn.wordpress.org/trunk@24993 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-06 16:07:46 +00:00
Ryan Boren 5d33941220 Bestow sentience upon users. Level up their pronoun.
Props johnbillion
fixes #24513


git-svn-id: https://develop.svn.wordpress.org/trunk@24992 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-06 16:04:07 +00:00
Andrew Nacin 2895127cdf Twenty Fourteen: Missing semicolons. props trishasalas. fixes #24947.
git-svn-id: https://develop.svn.wordpress.org/trunk@24991 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-06 09:50:17 +00:00
Andrew Nacin 83a485738c Twenty Fourteen: Use correct function prefix. props Jayjdk. fixes #24898.
git-svn-id: https://develop.svn.wordpress.org/trunk@24990 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-06 09:45:29 +00:00
Andrew Nacin c4b252b06f Twenty fourteen: Fix typo. props jeherve, fixes #24964.
git-svn-id: https://develop.svn.wordpress.org/trunk@24989 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-06 09:44:23 +00:00
Dominik Schilling (ocean90) 3ebfa363ad Remove reference to unused variable. fixes #24965.
git-svn-id: https://develop.svn.wordpress.org/trunk@24988 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-06 09:38:24 +00:00
Dominik Schilling (ocean90) ed918bba93 Remove unused variable. props jeremyfelt. fixes #24893.
git-svn-id: https://develop.svn.wordpress.org/trunk@24987 602fd350-edb4-49c9-b593-d223f7449a82
2013-08-06 09:01:25 +00:00