Commit Graph

  • 51b3eb592d After [34629], update unit tests to reflect this change. Scott Taylor 2015-09-27 18:29:53 +00:00
  • f802fef76f Update the docs in WP to explain the need to do [34476]. Scott Taylor 2015-09-27 18:27:15 +00:00
  • fe14c06e0a Docs: Add documentation for the $browse, $user, $search, $author, $tag, $installed_plugins, and $page parameters in plugins_api(). Drew Jaynes 2015-09-27 18:12:59 +00:00
  • 61d6854bae Nav Menus: in wp_nav_menu(), $container is already bound to a list of allowed tags. PHP, being its whimsical self, while return true if someone sets $container to true via in_array( true, [ 'div', 'nav' ] ). Check that $container is a string before the in_array() check. 'true' does not pass. Scott Taylor 2015-09-27 18:12:20 +00:00
  • b45a72a67c Add size-$size class to <img> in wp_get_attachment_image(). Scott Taylor 2015-09-27 17:54:01 +00:00
  • eb6430708b Add test for get_term_by( 'slug' ) behavior with accented chars. Boone Gorges 2015-09-27 16:31:47 +00:00
  • 148d6a37fe Move get_term_by() tests to their own file. Boone Gorges 2015-09-27 16:09:12 +00:00
  • 8dc7bd8091 Add unit test verifying that 60 char user_login is valid. Boone Gorges 2015-09-27 15:41:11 +00:00
  • de0b5c846f Introduce 'the_category_list' filter. Boone Gorges 2015-09-27 02:21:43 +00:00
  • c39a4a6447 Pass the post ID to the get_the_categories filter. Boone Gorges 2015-09-27 02:16:23 +00:00
  • 307c3ca81f WP_Comment::get_children() test should be order-agnostic. Boone Gorges 2015-09-27 02:00:49 +00:00
  • 5d9625c28c Restore and deprecate the WP_Widget_Recent_Comments::flush_widget_cache() method, removed in [34580]. Drew Jaynes 2015-09-27 01:39:37 +00:00
  • 7510d4e58c Docs: Improve documentation for the __construct(), widget(), update(), and form() methods in WP_Nav_Menu_Widget. Drew Jaynes 2015-09-27 01:15:13 +00:00
  • 982d5b99ea Docs: Improve documentation for the __construct(), widget(), update(), and form() methods in WP_Widget_Archives. Drew Jaynes 2015-09-27 01:10:38 +00:00
  • 9909c7ff2b Docs: Improve documentation for the __construct(), widget(), update(), and form() methods in WP_Widget_Calendar. Drew Jaynes 2015-09-27 01:06:20 +00:00
  • b8264d11bc Docs: Improve documentation for the __construct(), widget(), update(), form(), and _get_current_taxonomy() methods in WP_Widget_Categories. Drew Jaynes 2015-09-27 01:03:31 +00:00
  • aec4d6abe9 Docs: Improve documentation for the __construct(), widget(), update(), and form() methods in WP_Widget_Links. Drew Jaynes 2015-09-27 00:59:44 +00:00
  • e9f835dc43 Docs: Improve documentation for the __construct(), widget(), update(), and form() methods in WP_Widget_Meta. Drew Jaynes 2015-09-27 00:57:03 +00:00
  • f90a2dbe1c Docs: Improve documentation for the __construct(), widget(), update(), and form() methods in WP_Widget_Pages. Drew Jaynes 2015-09-27 00:53:36 +00:00
  • f2af1a6a1f Docs: Improve documentation for the __construct(), recent_comments_style(), widget(), update(), and form() methods in WP_Widget_Recent_Comments. Drew Jaynes 2015-09-27 00:50:04 +00:00
  • fdd92e64cd Docs: Improve documentation for the __construct(), widget(), update(), and form() methods in WP_Widget_Recent_Posts. Drew Jaynes 2015-09-27 00:45:42 +00:00
  • 14cac9aded Docs: Improve documentation for the __construct(), widget(), update(), and form() methods in WP_Widget_RSS. Drew Jaynes 2015-09-27 00:41:47 +00:00
  • f111c41375 Docs: Improve documentation for the __construct(), widget(), update(), and form() methods in WP_Widget_Search. Drew Jaynes 2015-09-27 00:36:26 +00:00
  • b28f41f852 Docs: Improve the documentation for the __construct(), widget(), update(), and form() methods in WP_Widget_Tag_Cloud. Drew Jaynes 2015-09-27 00:31:59 +00:00
  • d6169cab23 Docs: Improve documentation for the __construct(), widget(), update(), and form() methods in WP_Widget_Text. Drew Jaynes 2015-09-27 00:26:56 +00:00
  • 7e5f54d5ef Add function signature tests for the pluggable functions in wp-admin/includes/schema.php and wp-admin/includes/upgrade.php. John Blackbourn 2015-09-26 22:03:53 +00:00
  • 4196a0751c Add function signature tests for the pluggable functions in wp-includes/cache.php. John Blackbourn 2015-09-26 22:02:15 +00:00
  • 7894562b50 Revert change from true to false in multisite upload test Aaron Jorbin 2015-09-26 20:58:22 +00:00
  • ab7d1ae62d Customize: Prevent showing "Front Page" and "Posts Page" states for pages in list table when show_on_front is not "page". Weston Ruter 2015-09-26 20:53:32 +00:00
  • 19b0ea5a8c Remove failing xmlrpc upload test. Boone Gorges 2015-09-26 20:31:57 +00:00
  • 591b743362 After [34577], alter wp_xmlrpc_server::mw_newMediaObject() to check upload space in multisite. Scott Taylor 2015-09-26 19:48:57 +00:00
  • 7cd7d4622c After [34601], some more cleanup. Scott Taylor 2015-09-26 19:28:34 +00:00
  • 4470cbf7e3 After [34577] (not because of), uncover and fix some horrifying anomalies in Tests_Multisite_Site. Scott Taylor 2015-09-26 19:10:12 +00:00
  • aedc063418 Use an http URL rather then an https URL for tests Aaron Jorbin 2015-09-26 17:47:24 +00:00
  • eb8b241559 Improve post field lazyloading for comments. Boone Gorges 2015-09-26 16:01:05 +00:00
  • 5da80b3d64 Plugins: Don't request all fields via plugins_api( 'plugin_information' ) for plugin installs and update checks. Dominik Schilling (ocean90) 2015-09-26 15:49:06 +00:00
  • 60660b0055 Remove the unnecessary horizontal rules in the oEmbed providers table to tidy up the Code Reference. John Blackbourn 2015-09-26 15:16:05 +00:00
  • de8abd004f Docs: Add much-needed (and awesome) hash-notation-style documentation for the $args parameter in the plugins_api() DocBlock. Drew Jaynes 2015-09-26 15:12:51 +00:00
  • ecf4b81d72 Use correct property name when setting child comments. Boone Gorges 2015-09-26 14:40:15 +00:00
  • 5569780f8a Replace a stray semicolon on Edit Page screen with a full stop. Sergey Biryukov 2015-09-26 13:43:31 +00:00
  • 11e0b8d0b0 Docs: Fix a minor typo from [34592]. Meant to be past-tense, not present. Drew Jaynes 2015-09-26 13:13:50 +00:00
  • b68ae42ddd Docs: Add missing parameter documentation for $profileuser in the hook doc for show_password_fields, added in [11302]. Drew Jaynes 2015-09-26 13:10:47 +00:00
  • 411f0f126e Network Admin: Properly pass the number of delete plugins to the corresponding message. Sergey Biryukov 2015-09-26 13:10:05 +00:00
  • 35837a00b7 Docs: Relocate the hook doc for the show_password_fields filter to its duplicate, since the original was removed in [34582]. Drew Jaynes 2015-09-26 13:04:23 +00:00
  • 8ec9d5e9e9 Docs: Adjust the table of providers in the hook doc for oembed_providers to use "No" instead of "!" to signify lack of SSL support. Drew Jaynes 2015-09-26 12:49:44 +00:00
  • 4b9cee0af7 Switch to the https oEmbed endpoint for Animoto because it redirects there anyway. John Blackbourn 2015-09-26 12:23:21 +00:00
  • b387869c4e Switch to the https oEmbed endpoint for Dailymotion so secure embeds are supported. John Blackbourn 2015-09-26 11:50:35 +00:00
  • fc98253836 Twenty Fifteen: Add missing commas in rtl.css. Sergey Biryukov 2015-09-26 10:48:57 +00:00
  • 10133131e7 Docs: object != class Scott Taylor 2015-09-26 07:03:17 +00:00
  • 1d6c744604 Posts List Table: check is_multi_author() before attempting to set ->user_posts_count. Also, don't show "Mine" when the count is the same as "All." Scott Taylor 2015-09-26 06:50:03 +00:00
  • 706a62a134 Comments: add __get() and __set() to WP_Comment to provide BC for plugins that are grabbing post properties from the comment object due to an (unintended?) side effect of JOINing with the posts table in WP_Comment_Query, see [17667]. 'fields' used to default to *, so the JOIN would grab every field from both tables. #YOLO Scott Taylor 2015-09-26 06:40:39 +00:00
  • 1543fbf91b Profile: on user-new.php, don't allow the password fields to be hidden. When hidden, you can't add a user. Scott Taylor 2015-09-26 06:14:25 +00:00
  • bdce0b8174 Recent Comments Widget: a la [34464], this widget has the same mixed content issues. Remove the fragment caching. The comment queries are now split to scale. This was the only remaining widget with an HTML fragment cache. Scott Taylor 2015-09-26 06:00:09 +00:00
  • 881808bb11 XML-RPC: in wp_xmlrpc_server::wp_editTerm(), check ! empty when applying parent logic. Scott Taylor 2015-09-26 05:30:34 +00:00
  • 90ad5546d5 XML-RPC: upgrade the resposnse ofwp_xmlrpc_server::mw_newMediaObject() based on work down in 3.4 so that it runs the struct through ->_prepare_media_item(). Scott Taylor 2015-09-26 05:14:08 +00:00
  • 20020ebf2b XML-RPC: move the malfunctioning 'overwrite' code from wp_xmlrpc_server::mw_newMediaObject(). This was suggested 3 years ago. Scott Taylor 2015-09-26 05:02:24 +00:00
  • 97a84eb7a7 XML-RPC: add a wp_uploadFile unit test. Scott Taylor 2015-09-26 04:57:29 +00:00
  • daa01c703b Cron: In spawn_cron(), when using ALTERNATE_WP_CRON, return early for any non-GET, instead of naively checking ! empty( $_POST ). Scott Taylor 2015-09-26 04:50:06 +00:00
  • 69f20d3c4b XML-RPC: In wp_xmlrpc_server::wp_getComments(), allow post_type to be passed as part of $struct. Scott Taylor 2015-09-26 04:44:51 +00:00
  • 0cafccfb32 XML-RPC: In wp_xmlrpc_server::wp_getUsersBlogs(), return the isPrimary flag for each blog. Scott Taylor 2015-09-26 04:34:50 +00:00
  • 95a810258c XML-RPC: In wp_xmlrpc_server::blogger_editPost(), make use of the $publish arg (the 6th arg passed to the method) to specify publish or draft. Restores the arg, which I removed in [31092], because it was unused cruft. Scott Taylor 2015-09-26 04:00:32 +00:00
  • 9cf6b6f2d0 XML-RPC: In wp_xmlrpc_server::mw_newPost(), if $dateCreated is not set, don't set post_date and post_date_gmt. It calls wp_insert_post(), which will handle it correctly. The problem was drafts being created and GMT date being set. It shouldn't be. Scott Taylor 2015-09-26 03:37:53 +00:00
  • faad66d510 XML-RPC: IXR_Server::output() is notoriously bad at returning the right value for the Content-Length HTTP header. This header is not required, so we will remove it. Scott Taylor 2015-09-26 03:10:23 +00:00
  • 0d3da57a9a XML-RPC: wp.getComments should be allowed to return approved comments to those without the 'moderate_comments' cap. Scott Taylor 2015-09-26 02:48:47 +00:00
  • e09edc2d7f Comments: in WP_Comment::get_children(), accept an array so that the values for format, status, hierarchical, and orderby can be passed, instead of just format. The defaults for get_comments() include status = 'all' and orderby = '' - which is no bueno. Scott Taylor 2015-09-26 02:24:17 +00:00
  • bc451880e5 Stop hitting SVN for http tests Aaron Jorbin 2015-09-26 00:39:51 +00:00
  • 85ce7373b1 Move travis secure token under rooms Aaron Jorbin 2015-09-26 00:03:24 +00:00
  • 1bb2876fe6 callback is not a valid type in PHP, PSR-5, or phpDocumentor. callable should be used instead. John Blackbourn 2015-09-25 23:57:46 +00:00
  • ea23f4603c Docs: Fix the syntax for a mid-file sectional comment in wp-admin/includes/dashboard.php. Drew Jaynes 2015-09-25 22:50:58 +00:00
  • 7a74f67964 Docs: Remove an inline comment duplicated by the DocBlock summary for wp_dashboard_trigger_widget_control(). Drew Jaynes 2015-09-25 22:49:02 +00:00
  • 78b73c8906 Customizer: Defer embedding widget controls to improve DOM performance and initial load time. Weston Ruter 2015-09-25 21:01:46 +00:00
  • 0604eff2e2 After [35461], remove 'page_comments' from database. Boone Gorges 2015-09-25 20:49:47 +00:00
  • 0b7e8399b0 Force comment pagination on single posts. Boone Gorges 2015-09-25 20:39:18 +00:00
  • 653ababa6f Docs: Improve the method docs for the widget(), update(), form(), and __construct() methods in the WP_Widget base class. DrewAPicture 2015-09-25 20:30:02 +00:00
  • a9e30d8e94 XML-RPC: Introduce the concept of unit testing to wp_xmlrpc_server::wp_newComment(): Scott Taylor 2015-09-25 20:19:19 +00:00
  • 8bf8320afd Fix tabs vs spaces in .travis.yml Aaron Jorbin 2015-09-25 20:12:09 +00:00
  • 6db8b9279e Customizer: Fix usage of jQuery.contains() allowing active state changes to again animate control visibility. Weston Ruter 2015-09-25 19:54:00 +00:00
  • 9490539e89 Shortlinks: Hide the Get Shortlink button by default. Helen Hou-Sandi 2015-09-25 19:53:28 +00:00
  • 7576089c46 Add Travis Notifications to the #core channel on Slack Aaron Jorbin 2015-09-25 19:42:53 +00:00
  • 25c05ad6f2 Customizer: Flesh out phpdoc description for _wp_customize_include(). Weston Ruter 2015-09-25 19:35:48 +00:00
  • 99e157bdd2 Docs: Add a missing summary, version, and tag descriptions to the DocBlock for WP_Widget_Text::widget(). Drew Jaynes 2015-09-25 19:23:18 +00:00
  • 5a6a34fa95 Widgets: Pass $this to the widget_text filter to make targeting specific widget instances easier. Drew Jaynes 2015-09-25 19:20:37 +00:00
  • a6a00a3625 Implement 'Recently Active' functionality for network-wide plugins in the Network Admin. John Blackbourn 2015-09-25 19:15:08 +00:00
  • a6d1621736 Hierarchical comment query tests should be order-agnostic. Boone Gorges 2015-09-25 15:28:56 +00:00
  • 465ff41d1b Remove debug cruft, introduced in [34546]. Boone Gorges 2015-09-25 15:25:19 +00:00
  • 92da083c00 Normalize whitespace in WP_Comment_Query documentation. Boone Gorges 2015-09-25 15:24:15 +00:00
  • 3b9cb92c44 Plugin Editor: Don't split the strings with plugin file name and remove unnecessary context. Sergey Biryukov 2015-09-25 15:18:58 +00:00
  • e1b44f5203 Introduce hierarchical query support to WP_Comment_Query. Boone Gorges 2015-09-25 15:12:09 +00:00
  • 27558ed678 Improve status checks when sending comment post author notification. Boone Gorges 2015-09-25 14:42:48 +00:00
  • 8e955c4805 Improve pagination internals in WP_Comment_Query. Boone Gorges 2015-09-25 14:34:20 +00:00
  • 03515ca82d Introduce a send_update_notification_email which controls whether an update notification email is sent for background updates. This filter allows control over each of the update types (plugin, theme, translation) and compliments the automatic_updates_send_debug_email and send_core_update_notification_email filters. John Blackbourn 2015-09-25 14:28:23 +00:00
  • a453e6aa6f Store SQL clauses in WP_Comment_Query property. Boone Gorges 2015-09-25 14:08:50 +00:00
  • c8f167629d Revisions: add a 'wp_prepare_revision_for_js' filter. Scott Taylor 2015-09-25 14:03:30 +00:00
  • 4b83b005d2 Don't run get_page_of_comment() cache test on Multisite. boonebgorges 2015-09-25 13:54:02 +00:00
  • 5e95cd1db5 Profile: when clicking "Generate Password", toggling visibility, then canceling, ensure that the UI resets properly for when the "Generate Password" button is clicked again. Scott Taylor 2015-09-25 13:53:04 +00:00
  • a160be35b1 Bust term query cache when modifying term meta. Boone Gorges 2015-09-25 13:46:36 +00:00
  • 3714a915a2 Send comment approval notification to post author via hook. Boone Gorges 2015-09-25 05:36:32 +00:00
  • 93d781343a Introduce 'duplicate_comment_id' filter. Boone Gorges 2015-09-25 05:22:53 +00:00
  • 7e44a2fef7 Use WP_Comment_Query in get_page_of_comment(). Boone Gorges 2015-09-25 05:10:40 +00:00
  • 0c5bd75262 Pinking shears. Boone Gorges 2015-09-25 04:43:57 +00:00