? ? Pending

User tests: Successful: Unsuccessful:

avatar Devportobello
Devportobello
20 Mar 2018

Following PR #14881

Previous PR (#14881) adding regression about menu item "url", when choosing "nofollow" for "Link Rel Attribute" and "New window with navigation" for "Target window", the value "nofollow" is not added, because of https://github.com/joomla/joomla-cms/blob/staging/modules/mod_menu/tmpl/default_url.php#L52 [https://github.com/joomla/joomla-cms/pull/14881/files#diff-c0c6261ed88c7b7315ee79638a3917abR44]

Testing Instructions

Create a new menu item > Type : URL

  • Target window : "new window with navigation"
  • Link rel attribute : "nofollow"

Frontend > look at menu item, there is no "nofollow" in rel attribute

Apply patch

Frontend > look at menu item, this works

01e5cc3 20 Mar 2018 avatar Devportobello logic
avatar Devportobello Devportobello - open - 20 Mar 2018
avatar Devportobello Devportobello - change - 20 Mar 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 20 Mar 2018
Category Modules Front End
avatar Devportobello Devportobello - change - 20 Mar 2018
Title
Menuitemurlrelnofollow
Menu item type url with rel attribute nofollow
avatar Devportobello Devportobello - edited - 20 Mar 2018
avatar Devportobello Devportobello - change - 20 Mar 2018
Title
Menu item type url with rel attribute nofollow
[Regression] Menu item type url with rel attribute nofollow
avatar Devportobello Devportobello - edited - 20 Mar 2018
dbd67f0 20 Mar 2018 avatar Devportobello cs
avatar Devportobello Devportobello - change - 20 Mar 2018
Labels Added: ?
avatar infograf768
infograf768 - comment - 20 Mar 2018

Hmm, after re-reading #14881, it seems that some people there did not agree to add nofollow (don't ask me why).

avatar Devportobello
Devportobello - comment - 20 Mar 2018

@Quy
thx pointing me cs fix, will do

@infograf768
My PR add "nofollow" only if user want it, if he choose "nofollow" on "link rel attribute"
This is a regression about SEO */!*

avatar Quy
Quy - comment - 20 Mar 2018

I have tested this item successfully on 8156ddd


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/19949.

avatar Quy Quy - test_item - 20 Mar 2018 - Tested successfully
avatar Devportobello
Devportobello - comment - 18 May 2018

1 more human test to go :)

avatar carlitorweb carlitorweb - test_item - 18 May 2018 - Tested successfully
avatar carlitorweb
carlitorweb - comment - 18 May 2018

I have tested this item successfully on 8156ddd


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/19949.

avatar Quy Quy - change - 18 May 2018
Status Pending Ready to Commit
avatar Quy
Quy - comment - 18 May 2018

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/19949.

avatar mbabker mbabker - change - 24 May 2018
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-05-24 00:05:28
Closed_By mbabker
Labels Added: ?
avatar mbabker mbabker - close - 24 May 2018
avatar mbabker mbabker - merge - 24 May 2018

Add a Comment

Login with GitHub to post a comment