diff --git a/core/modules/node/src/Tests/Migrate/d7/MigrateNodeTest.php b/core/modules/node/src/Tests/Migrate/d7/MigrateNodeTest.php index 2f795c6..37567d0 100644 --- a/core/modules/node/src/Tests/Migrate/d7/MigrateNodeTest.php +++ b/core/modules/node/src/Tests/Migrate/d7/MigrateNodeTest.php @@ -75,7 +75,7 @@ protected function setUp() { * @param int $changed * The expected modification time. * @param bool $promoted - * Whether the node is expected to be promoted to the front page. + * Whether the node is expected to be promoted. * @param bool $sticky * Whether the node is expected to be sticky. */ diff --git a/core/modules/node/src/Tests/Views/BulkFormTest.php b/core/modules/node/src/Tests/Views/BulkFormTest.php index ba9baef..0747448 100644 --- a/core/modules/node/src/Tests/Views/BulkFormTest.php +++ b/core/modules/node/src/Tests/Views/BulkFormTest.php @@ -150,8 +150,8 @@ public function testBulkForm() { // Promote content. $this->assertFalse($node->isPromoted(), 'Node is not promoted'); - $this->assertFalse($node->getTranslation('fr')->isPromoted(), 'Node translation is not promoted to the front page'); - $this->assertFalse($node->getTranslation('it')->isPromoted(), 'Node translation is not promoted to the front page'); + $this->assertFalse($node->getTranslation('fr')->isPromoted(), 'Node translation is not promoted'); + $this->assertFalse($node->getTranslation('it')->isPromoted(), 'Node translation is not promoted'); $edit = array( 'node_bulk_form[0]' => TRUE, 'action' => 'node_promote_action', @@ -159,8 +159,8 @@ public function testBulkForm() { $this->drupalPostForm(NULL, $edit, t('Apply')); $node = $this->loadNode($node->id()); $this->assertTrue($node->isPromoted(), 'Node has been promoted'); - $this->assertFalse($node->getTranslation('fr')->isPromoted(), 'Node translation has not been promoted to the front page'); - $this->assertFalse($node->getTranslation('it')->isPromoted(), 'Node translation has not been promoted to the front page'); + $this->assertFalse($node->getTranslation('fr')->isPromoted(), 'Node translation has not been promoted'); + $this->assertFalse($node->getTranslation('it')->isPromoted(), 'Node translation has not been promoted'); // Demote content. $edit = array( diff --git a/core/themes/classy/templates/content/node.html.twig b/core/themes/classy/templates/content/node.html.twig index dbef76d..1aee54e 100644 --- a/core/themes/classy/templates/content/node.html.twig +++ b/core/themes/classy/templates/content/node.html.twig @@ -33,7 +33,7 @@ * teaser would result in: "node--view-mode-teaser", and * full: "node--view-mode-full". * The following are controlled through the node publishing options. - * - node--promoted: Appears on nodes promoted to the front page. + * - node--promoted: Appears on promoted nodes. * - node--sticky: Appears on nodes ordered above other non-sticky nodes in * teaser listings. * - node--unpublished: Appears on unpublished nodes visible only to site