PHPStorm tells me this function is not called anymore. Let's see if it's right. If so, yay!

Comments

larowlan’s picture

I'm seeing one more reference in common.inc line 2944 in a comment

fabianx’s picture

Status: Needs review » Needs work

as per #1

pushpinderchauhan’s picture

Status: Needs work » Needs review
StatusFileSize
new2.87 KB

Update patch as per #1.

lostkangaroo’s picture

Status: Needs review » Reviewed & tested by the community

Just ran this through and couldn't find any traces of drupal_render_page() after the patch.

Crell’s picture

Issue tags: +Quick fix
alexpott’s picture

Status: Reviewed & tested by the community » Needs work
Issue tags: +Needs change record
+++ b/core/includes/theme.inc
@@ -1812,8 +1812,6 @@ function template_preprocess_html(&$variables) {
- * @see drupal_render_page()

+++ b/core/modules/system/system.api.php
@@ -375,7 +375,6 @@ function hook_ajax_render_alter(array &$data) {
- * @see drupal_render_page()

@@ -660,7 +659,6 @@ function hook_contextual_links_plugins_alter(array &$contextual_links) {
- * @see drupal_render_page()

How about replacing these with a reference to DefaultHtmlFragmentRenderer::render()?

Also we should at least reference (or write) the change record that made drupal_render_page() obsolete.

kgoel’s picture

working on reroll and change record.

kgoel’s picture

Status: Needs work » Needs review
StatusFileSize
new2.93 KB
new1.36 KB
kgoel’s picture

Crell’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: -Needs change record

Tweaked change record, we're done.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 7f69cb4 and pushed to 8.0.x. Thanks!

  • alexpott committed 7f69cb4 on 8.0.x
    Issue #2332551 by kgoel, er.pushpinderrana, Crell: Remove...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.